pub struct W(/* private fields */);
Expand description
Register cer
writer
Implementations§
source§impl W
impl W
sourcepub unsafe fn cap_en<const O: u8>(&mut self) -> CAP_EN_W<'_, O>
pub unsafe fn cap_en<const O: u8>(&mut self) -> CAP_EN_W<'_, O>
When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap0_en(&mut self) -> CAP_EN_W<'_, 0>
pub fn cap0_en(&mut self) -> CAP_EN_W<'_, 0>
Bit 0 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap1_en(&mut self) -> CAP_EN_W<'_, 1>
pub fn cap1_en(&mut self) -> CAP_EN_W<'_, 1>
Bit 1 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap2_en(&mut self) -> CAP_EN_W<'_, 2>
pub fn cap2_en(&mut self) -> CAP_EN_W<'_, 2>
Bit 2 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap3_en(&mut self) -> CAP_EN_W<'_, 3>
pub fn cap3_en(&mut self) -> CAP_EN_W<'_, 3>
Bit 3 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap4_en(&mut self) -> CAP_EN_W<'_, 4>
pub fn cap4_en(&mut self) -> CAP_EN_W<'_, 4>
Bit 4 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap5_en(&mut self) -> CAP_EN_W<'_, 5>
pub fn cap5_en(&mut self) -> CAP_EN_W<'_, 5>
Bit 5 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.
sourcepub fn cap6_en(&mut self) -> CAP_EN_W<'_, 6>
pub fn cap6_en(&mut self) -> CAP_EN_W<'_, 6>
Bit 6 - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.