#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
#[doc = r" Value to write to the register"]
pub struct W {
bits: u32,
}
impl super::CCP {
#[doc = r" Modifies the contents of the register"]
#[inline]
pub fn modify<F>(&self, f: F)
where
for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W,
{
let bits = self.register.get();
let r = R { bits: bits };
let mut w = W { bits: bits };
f(&r, &mut w);
self.register.set(w.bits);
}
#[doc = r" Reads the contents of the register"]
#[inline]
pub fn read(&self) -> R {
R {
bits: self.register.get(),
}
}
#[doc = r" Writes to the register"]
#[inline]
pub fn write<F>(&self, f: F)
where
F: FnOnce(&mut W) -> &mut W,
{
let mut w = W::reset_value();
f(&mut w);
self.register.set(w.bits);
}
#[doc = r" Writes the reset value to the register"]
#[inline]
pub fn reset(&self) {
self.write(|w| w)
}
}
#[doc = "Possible values of the field `CCPA0`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CCPA0R {
#[doc = "MCOA0 passive."]
MCOA0_PASSIVE,
#[doc = "internal MCOA0."]
INTERNAL_MCOA0,
}
impl CCPA0R {
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
match *self {
CCPA0R::MCOA0_PASSIVE => false,
CCPA0R::INTERNAL_MCOA0 => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(value: bool) -> CCPA0R {
match value {
false => CCPA0R::MCOA0_PASSIVE,
true => CCPA0R::INTERNAL_MCOA0,
}
}
#[doc = "Checks if the value of the field is `MCOA0_PASSIVE`"]
#[inline]
pub fn is_mcoa0_passive(&self) -> bool {
*self == CCPA0R::MCOA0_PASSIVE
}
#[doc = "Checks if the value of the field is `INTERNAL_MCOA0`"]
#[inline]
pub fn is_internal_mcoa0(&self) -> bool {
*self == CCPA0R::INTERNAL_MCOA0
}
}
#[doc = "Possible values of the field `CCPB0`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CCPB0R {
#[doc = "MCOB0 passive."]
MCOB0_PASSIVE,
#[doc = "MCOB0 tracks internal MCOA0."]
MCOB0_TRACKS_INTERNA,
}
impl CCPB0R {
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
match *self {
CCPB0R::MCOB0_PASSIVE => false,
CCPB0R::MCOB0_TRACKS_INTERNA => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(value: bool) -> CCPB0R {
match value {
false => CCPB0R::MCOB0_PASSIVE,
true => CCPB0R::MCOB0_TRACKS_INTERNA,
}
}
#[doc = "Checks if the value of the field is `MCOB0_PASSIVE`"]
#[inline]
pub fn is_mcob0_passive(&self) -> bool {
*self == CCPB0R::MCOB0_PASSIVE
}
#[doc = "Checks if the value of the field is `MCOB0_TRACKS_INTERNA`"]
#[inline]
pub fn is_mcob0_tracks_interna(&self) -> bool {
*self == CCPB0R::MCOB0_TRACKS_INTERNA
}
}
#[doc = "Possible values of the field `CCPA1`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CCPA1R {
#[doc = "MCOA1 passive."]
MCOA1_PASSIVE,
#[doc = "MCOA1 tracks internal MCOA0."]
MCOA1_TRACKS_INTERNA,
}
impl CCPA1R {
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
match *self {
CCPA1R::MCOA1_PASSIVE => false,
CCPA1R::MCOA1_TRACKS_INTERNA => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(value: bool) -> CCPA1R {
match value {
false => CCPA1R::MCOA1_PASSIVE,
true => CCPA1R::MCOA1_TRACKS_INTERNA,
}
}
#[doc = "Checks if the value of the field is `MCOA1_PASSIVE`"]
#[inline]
pub fn is_mcoa1_passive(&self) -> bool {
*self == CCPA1R::MCOA1_PASSIVE
}
#[doc = "Checks if the value of the field is `MCOA1_TRACKS_INTERNA`"]
#[inline]
pub fn is_mcoa1_tracks_interna(&self) -> bool {
*self == CCPA1R::MCOA1_TRACKS_INTERNA
}
}
#[doc = "Possible values of the field `CCPB1`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CCPB1R {
#[doc = "MCOB1 passive."]
MCOB1_PASSIVE,
#[doc = "MCOB1 tracks internal MCOA0."]
MCOB1_TRACKS_INTERNA,
}
impl CCPB1R {
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
match *self {
CCPB1R::MCOB1_PASSIVE => false,
CCPB1R::MCOB1_TRACKS_INTERNA => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(value: bool) -> CCPB1R {
match value {
false => CCPB1R::MCOB1_PASSIVE,
true => CCPB1R::MCOB1_TRACKS_INTERNA,
}
}
#[doc = "Checks if the value of the field is `MCOB1_PASSIVE`"]
#[inline]
pub fn is_mcob1_passive(&self) -> bool {
*self == CCPB1R::MCOB1_PASSIVE
}
#[doc = "Checks if the value of the field is `MCOB1_TRACKS_INTERNA`"]
#[inline]
pub fn is_mcob1_tracks_interna(&self) -> bool {
*self == CCPB1R::MCOB1_TRACKS_INTERNA
}
}
#[doc = "Possible values of the field `CCPA2`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CCPA2R {
#[doc = "MCOA2 passive."]
MCOA2_PASSIVE,
#[doc = "MCOA2 tracks internal MCOA0."]
MCOA2_TRACKS_INTERNA,
}
impl CCPA2R {
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
match *self {
CCPA2R::MCOA2_PASSIVE => false,
CCPA2R::MCOA2_TRACKS_INTERNA => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(value: bool) -> CCPA2R {
match value {
false => CCPA2R::MCOA2_PASSIVE,
true => CCPA2R::MCOA2_TRACKS_INTERNA,
}
}
#[doc = "Checks if the value of the field is `MCOA2_PASSIVE`"]
#[inline]
pub fn is_mcoa2_passive(&self) -> bool {
*self == CCPA2R::MCOA2_PASSIVE
}
#[doc = "Checks if the value of the field is `MCOA2_TRACKS_INTERNA`"]
#[inline]
pub fn is_mcoa2_tracks_interna(&self) -> bool {
*self == CCPA2R::MCOA2_TRACKS_INTERNA
}
}
#[doc = "Possible values of the field `CCPB2`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CCPB2R {
#[doc = "MCOB2 passive."]
MCOB2_PASSIVE,
#[doc = "MCOB2 tracks internal MCOA0."]
MCOB2_TRACKS_INTERNA,
}
impl CCPB2R {
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
match *self {
CCPB2R::MCOB2_PASSIVE => false,
CCPB2R::MCOB2_TRACKS_INTERNA => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(value: bool) -> CCPB2R {
match value {
false => CCPB2R::MCOB2_PASSIVE,
true => CCPB2R::MCOB2_TRACKS_INTERNA,
}
}
#[doc = "Checks if the value of the field is `MCOB2_PASSIVE`"]
#[inline]
pub fn is_mcob2_passive(&self) -> bool {
*self == CCPB2R::MCOB2_PASSIVE
}
#[doc = "Checks if the value of the field is `MCOB2_TRACKS_INTERNA`"]
#[inline]
pub fn is_mcob2_tracks_interna(&self) -> bool {
*self == CCPB2R::MCOB2_TRACKS_INTERNA
}
}
#[doc = "Values that can be written to the field `CCPA0`"]
pub enum CCPA0W {
#[doc = "MCOA0 passive."]
MCOA0_PASSIVE,
#[doc = "internal MCOA0."]
INTERNAL_MCOA0,
}
impl CCPA0W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _bits(&self) -> bool {
match *self {
CCPA0W::MCOA0_PASSIVE => false,
CCPA0W::INTERNAL_MCOA0 => true,
}
}
}
#[doc = r" Proxy"]
pub struct _CCPA0W<'a> {
w: &'a mut W,
}
impl<'a> _CCPA0W<'a> {
#[doc = r" Writes `variant` to the field"]
#[inline]
pub fn variant(self, variant: CCPA0W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "MCOA0 passive."]
#[inline]
pub fn mcoa0_passive(self) -> &'a mut W {
self.variant(CCPA0W::MCOA0_PASSIVE)
}
#[doc = "internal MCOA0."]
#[inline]
pub fn internal_mcoa0(self) -> &'a mut W {
self.variant(CCPA0W::INTERNAL_MCOA0)
}
#[doc = r" Sets the field bit"]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r" Clears the field bit"]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pub fn bit(self, value: bool) -> &'a mut W {
const MASK: bool = true;
const OFFSET: u8 = 0;
self.w.bits &= !((MASK as u32) << OFFSET);
self.w.bits |= ((value & MASK) as u32) << OFFSET;
self.w
}
}
#[doc = "Values that can be written to the field `CCPB0`"]
pub enum CCPB0W {
#[doc = "MCOB0 passive."]
MCOB0_PASSIVE,
#[doc = "MCOB0 tracks internal MCOA0."]
MCOB0_TRACKS_INTERNA,
}
impl CCPB0W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _bits(&self) -> bool {
match *self {
CCPB0W::MCOB0_PASSIVE => false,
CCPB0W::MCOB0_TRACKS_INTERNA => true,
}
}
}
#[doc = r" Proxy"]
pub struct _CCPB0W<'a> {
w: &'a mut W,
}
impl<'a> _CCPB0W<'a> {
#[doc = r" Writes `variant` to the field"]
#[inline]
pub fn variant(self, variant: CCPB0W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "MCOB0 passive."]
#[inline]
pub fn mcob0_passive(self) -> &'a mut W {
self.variant(CCPB0W::MCOB0_PASSIVE)
}
#[doc = "MCOB0 tracks internal MCOA0."]
#[inline]
pub fn mcob0_tracks_interna(self) -> &'a mut W {
self.variant(CCPB0W::MCOB0_TRACKS_INTERNA)
}
#[doc = r" Sets the field bit"]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r" Clears the field bit"]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pub fn bit(self, value: bool) -> &'a mut W {
const MASK: bool = true;
const OFFSET: u8 = 1;
self.w.bits &= !((MASK as u32) << OFFSET);
self.w.bits |= ((value & MASK) as u32) << OFFSET;
self.w
}
}
#[doc = "Values that can be written to the field `CCPA1`"]
pub enum CCPA1W {
#[doc = "MCOA1 passive."]
MCOA1_PASSIVE,
#[doc = "MCOA1 tracks internal MCOA0."]
MCOA1_TRACKS_INTERNA,
}
impl CCPA1W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _bits(&self) -> bool {
match *self {
CCPA1W::MCOA1_PASSIVE => false,
CCPA1W::MCOA1_TRACKS_INTERNA => true,
}
}
}
#[doc = r" Proxy"]
pub struct _CCPA1W<'a> {
w: &'a mut W,
}
impl<'a> _CCPA1W<'a> {
#[doc = r" Writes `variant` to the field"]
#[inline]
pub fn variant(self, variant: CCPA1W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "MCOA1 passive."]
#[inline]
pub fn mcoa1_passive(self) -> &'a mut W {
self.variant(CCPA1W::MCOA1_PASSIVE)
}
#[doc = "MCOA1 tracks internal MCOA0."]
#[inline]
pub fn mcoa1_tracks_interna(self) -> &'a mut W {
self.variant(CCPA1W::MCOA1_TRACKS_INTERNA)
}
#[doc = r" Sets the field bit"]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r" Clears the field bit"]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pub fn bit(self, value: bool) -> &'a mut W {
const MASK: bool = true;
const OFFSET: u8 = 2;
self.w.bits &= !((MASK as u32) << OFFSET);
self.w.bits |= ((value & MASK) as u32) << OFFSET;
self.w
}
}
#[doc = "Values that can be written to the field `CCPB1`"]
pub enum CCPB1W {
#[doc = "MCOB1 passive."]
MCOB1_PASSIVE,
#[doc = "MCOB1 tracks internal MCOA0."]
MCOB1_TRACKS_INTERNA,
}
impl CCPB1W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _bits(&self) -> bool {
match *self {
CCPB1W::MCOB1_PASSIVE => false,
CCPB1W::MCOB1_TRACKS_INTERNA => true,
}
}
}
#[doc = r" Proxy"]
pub struct _CCPB1W<'a> {
w: &'a mut W,
}
impl<'a> _CCPB1W<'a> {
#[doc = r" Writes `variant` to the field"]
#[inline]
pub fn variant(self, variant: CCPB1W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "MCOB1 passive."]
#[inline]
pub fn mcob1_passive(self) -> &'a mut W {
self.variant(CCPB1W::MCOB1_PASSIVE)
}
#[doc = "MCOB1 tracks internal MCOA0."]
#[inline]
pub fn mcob1_tracks_interna(self) -> &'a mut W {
self.variant(CCPB1W::MCOB1_TRACKS_INTERNA)
}
#[doc = r" Sets the field bit"]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r" Clears the field bit"]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pub fn bit(self, value: bool) -> &'a mut W {
const MASK: bool = true;
const OFFSET: u8 = 3;
self.w.bits &= !((MASK as u32) << OFFSET);
self.w.bits |= ((value & MASK) as u32) << OFFSET;
self.w
}
}
#[doc = "Values that can be written to the field `CCPA2`"]
pub enum CCPA2W {
#[doc = "MCOA2 passive."]
MCOA2_PASSIVE,
#[doc = "MCOA2 tracks internal MCOA0."]
MCOA2_TRACKS_INTERNA,
}
impl CCPA2W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _bits(&self) -> bool {
match *self {
CCPA2W::MCOA2_PASSIVE => false,
CCPA2W::MCOA2_TRACKS_INTERNA => true,
}
}
}
#[doc = r" Proxy"]
pub struct _CCPA2W<'a> {
w: &'a mut W,
}
impl<'a> _CCPA2W<'a> {
#[doc = r" Writes `variant` to the field"]
#[inline]
pub fn variant(self, variant: CCPA2W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "MCOA2 passive."]
#[inline]
pub fn mcoa2_passive(self) -> &'a mut W {
self.variant(CCPA2W::MCOA2_PASSIVE)
}
#[doc = "MCOA2 tracks internal MCOA0."]
#[inline]
pub fn mcoa2_tracks_interna(self) -> &'a mut W {
self.variant(CCPA2W::MCOA2_TRACKS_INTERNA)
}
#[doc = r" Sets the field bit"]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r" Clears the field bit"]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pub fn bit(self, value: bool) -> &'a mut W {
const MASK: bool = true;
const OFFSET: u8 = 4;
self.w.bits &= !((MASK as u32) << OFFSET);
self.w.bits |= ((value & MASK) as u32) << OFFSET;
self.w
}
}
#[doc = "Values that can be written to the field `CCPB2`"]
pub enum CCPB2W {
#[doc = "MCOB2 passive."]
MCOB2_PASSIVE,
#[doc = "MCOB2 tracks internal MCOA0."]
MCOB2_TRACKS_INTERNA,
}
impl CCPB2W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _bits(&self) -> bool {
match *self {
CCPB2W::MCOB2_PASSIVE => false,
CCPB2W::MCOB2_TRACKS_INTERNA => true,
}
}
}
#[doc = r" Proxy"]
pub struct _CCPB2W<'a> {
w: &'a mut W,
}
impl<'a> _CCPB2W<'a> {
#[doc = r" Writes `variant` to the field"]
#[inline]
pub fn variant(self, variant: CCPB2W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "MCOB2 passive."]
#[inline]
pub fn mcob2_passive(self) -> &'a mut W {
self.variant(CCPB2W::MCOB2_PASSIVE)
}
#[doc = "MCOB2 tracks internal MCOA0."]
#[inline]
pub fn mcob2_tracks_interna(self) -> &'a mut W {
self.variant(CCPB2W::MCOB2_TRACKS_INTERNA)
}
#[doc = r" Sets the field bit"]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r" Clears the field bit"]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pub fn bit(self, value: bool) -> &'a mut W {
const MASK: bool = true;
const OFFSET: u8 = 5;
self.w.bits &= !((MASK as u32) << OFFSET);
self.w.bits |= ((value & MASK) as u32) << OFFSET;
self.w
}
}
impl R {
#[doc = r" Value of the register as raw bits"]
#[inline]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bit 0 - Communication pattern output A, channel 0."]
#[inline]
pub fn ccpa0(&self) -> CCPA0R {
CCPA0R::_from({
const MASK: bool = true;
const OFFSET: u8 = 0;
((self.bits >> OFFSET) & MASK as u32) != 0
})
}
#[doc = "Bit 1 - Communication pattern output B, channel 0."]
#[inline]
pub fn ccpb0(&self) -> CCPB0R {
CCPB0R::_from({
const MASK: bool = true;
const OFFSET: u8 = 1;
((self.bits >> OFFSET) & MASK as u32) != 0
})
}
#[doc = "Bit 2 - Communication pattern output A, channel 1."]
#[inline]
pub fn ccpa1(&self) -> CCPA1R {
CCPA1R::_from({
const MASK: bool = true;
const OFFSET: u8 = 2;
((self.bits >> OFFSET) & MASK as u32) != 0
})
}
#[doc = "Bit 3 - Communication pattern output B, channel 1."]
#[inline]
pub fn ccpb1(&self) -> CCPB1R {
CCPB1R::_from({
const MASK: bool = true;
const OFFSET: u8 = 3;
((self.bits >> OFFSET) & MASK as u32) != 0
})
}
#[doc = "Bit 4 - Communication pattern output A, channel 2."]
#[inline]
pub fn ccpa2(&self) -> CCPA2R {
CCPA2R::_from({
const MASK: bool = true;
const OFFSET: u8 = 4;
((self.bits >> OFFSET) & MASK as u32) != 0
})
}
#[doc = "Bit 5 - Communication pattern output B, channel 2."]
#[inline]
pub fn ccpb2(&self) -> CCPB2R {
CCPB2R::_from({
const MASK: bool = true;
const OFFSET: u8 = 5;
((self.bits >> OFFSET) & MASK as u32) != 0
})
}
}
impl W {
#[doc = r" Reset value of the register"]
#[inline]
pub fn reset_value() -> W {
W { bits: 0 }
}
#[doc = r" Writes raw bits to the register"]
#[inline]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.bits = bits;
self
}
#[doc = "Bit 0 - Communication pattern output A, channel 0."]
#[inline]
pub fn ccpa0(&mut self) -> _CCPA0W {
_CCPA0W { w: self }
}
#[doc = "Bit 1 - Communication pattern output B, channel 0."]
#[inline]
pub fn ccpb0(&mut self) -> _CCPB0W {
_CCPB0W { w: self }
}
#[doc = "Bit 2 - Communication pattern output A, channel 1."]
#[inline]
pub fn ccpa1(&mut self) -> _CCPA1W {
_CCPA1W { w: self }
}
#[doc = "Bit 3 - Communication pattern output B, channel 1."]
#[inline]
pub fn ccpb1(&mut self) -> _CCPB1W {
_CCPB1W { w: self }
}
#[doc = "Bit 4 - Communication pattern output A, channel 2."]
#[inline]
pub fn ccpa2(&mut self) -> _CCPA2W {
_CCPA2W { w: self }
}
#[doc = "Bit 5 - Communication pattern output B, channel 2."]
#[inline]
pub fn ccpb2(&mut self) -> _CCPB2W {
_CCPB2W { w: self }
}
}