pub struct Oc<OCMP, TIMEBASE> { /* private fields */ }Expand description
Output compare modules configured for non-PWM output compare operations
Implementations§
Source§impl<TIMEBASE> Oc<OCMP1, TIMEBASE>
impl<TIMEBASE> Oc<OCMP1, TIMEBASE>
Sourcepub fn timebase16even(self) -> Oc<OCMP1, Timebase16even>
pub fn timebase16even(self) -> Oc<OCMP1, Timebase16even>
Select the even numbered 16-bit timer as the time base.
Sourcepub fn timebase16odd(self) -> Oc<OCMP1, Timebase16odd>
pub fn timebase16odd(self) -> Oc<OCMP1, Timebase16odd>
Select the odd numbered 16-bit timer as the time base.
Sourcepub fn timebase32(self) -> Oc<OCMP1, Timebase32>
pub fn timebase32(self) -> Oc<OCMP1, Timebase32>
Select both 16-bit timers as a 32-bit time base.
Source§impl<TIMEBASE> Oc<OCMP2, TIMEBASE>
impl<TIMEBASE> Oc<OCMP2, TIMEBASE>
Sourcepub fn timebase16even(self) -> Oc<OCMP2, Timebase16even>
pub fn timebase16even(self) -> Oc<OCMP2, Timebase16even>
Select the even numbered 16-bit timer as the time base.
Sourcepub fn timebase16odd(self) -> Oc<OCMP2, Timebase16odd>
pub fn timebase16odd(self) -> Oc<OCMP2, Timebase16odd>
Select the odd numbered 16-bit timer as the time base.
Sourcepub fn timebase32(self) -> Oc<OCMP2, Timebase32>
pub fn timebase32(self) -> Oc<OCMP2, Timebase32>
Select both 16-bit timers as a 32-bit time base.
Source§impl<TIMEBASE> Oc<OCMP3, TIMEBASE>
impl<TIMEBASE> Oc<OCMP3, TIMEBASE>
Sourcepub fn timebase16even(self) -> Oc<OCMP3, Timebase16even>
pub fn timebase16even(self) -> Oc<OCMP3, Timebase16even>
Select the even numbered 16-bit timer as the time base.
Sourcepub fn timebase16odd(self) -> Oc<OCMP3, Timebase16odd>
pub fn timebase16odd(self) -> Oc<OCMP3, Timebase16odd>
Select the odd numbered 16-bit timer as the time base.
Sourcepub fn timebase32(self) -> Oc<OCMP3, Timebase32>
pub fn timebase32(self) -> Oc<OCMP3, Timebase32>
Select both 16-bit timers as a 32-bit time base.
Source§impl<TIMEBASE> Oc<OCMP4, TIMEBASE>
impl<TIMEBASE> Oc<OCMP4, TIMEBASE>
Sourcepub fn timebase16even(self) -> Oc<OCMP4, Timebase16even>
pub fn timebase16even(self) -> Oc<OCMP4, Timebase16even>
Select the even numbered 16-bit timer as the time base.
Sourcepub fn timebase16odd(self) -> Oc<OCMP4, Timebase16odd>
pub fn timebase16odd(self) -> Oc<OCMP4, Timebase16odd>
Select the odd numbered 16-bit timer as the time base.
Sourcepub fn timebase32(self) -> Oc<OCMP4, Timebase32>
pub fn timebase32(self) -> Oc<OCMP4, Timebase32>
Select both 16-bit timers as a 32-bit time base.
Source§impl<TIMEBASE> Oc<OCMP5, TIMEBASE>
impl<TIMEBASE> Oc<OCMP5, TIMEBASE>
Sourcepub fn timebase16even(self) -> Oc<OCMP5, Timebase16even>
pub fn timebase16even(self) -> Oc<OCMP5, Timebase16even>
Select the even numbered 16-bit timer as the time base.
Sourcepub fn timebase16odd(self) -> Oc<OCMP5, Timebase16odd>
pub fn timebase16odd(self) -> Oc<OCMP5, Timebase16odd>
Select the odd numbered 16-bit timer as the time base.
Sourcepub fn timebase32(self) -> Oc<OCMP5, Timebase32>
pub fn timebase32(self) -> Oc<OCMP5, Timebase32>
Select both 16-bit timers as a 32-bit time base.