[−][src]Type Definition atsamd51p::tc0::count16::ctrla::R
type R = R<u32, CTRLA>;
Reader of register CTRLA
Implementations
impl R
[src]
pub fn swrst(&self) -> SWRST_R
[src]
Bit 0 - Software Reset
pub fn enable(&self) -> ENABLE_R
[src]
Bit 1 - Enable
pub fn mode(&self) -> MODE_R
[src]
Bits 2:3 - Timer Counter Mode
pub fn prescsync(&self) -> PRESCSYNC_R
[src]
Bits 4:5 - Prescaler and Counter Synchronization
pub fn runstdby(&self) -> RUNSTDBY_R
[src]
Bit 6 - Run during Standby
pub fn ondemand(&self) -> ONDEMAND_R
[src]
Bit 7 - Clock On Demand
pub fn prescaler(&self) -> PRESCALER_R
[src]
Bits 8:10 - Prescaler
pub fn alock(&self) -> ALOCK_R
[src]
Bit 11 - Auto Lock
pub fn capten0(&self) -> CAPTEN0_R
[src]
Bit 16 - Capture Channel 0 Enable
pub fn capten1(&self) -> CAPTEN1_R
[src]
Bit 17 - Capture Channel 1 Enable
pub fn copen0(&self) -> COPEN0_R
[src]
Bit 20 - Capture On Pin 0 Enable
pub fn copen1(&self) -> COPEN1_R
[src]
Bit 21 - Capture On Pin 1 Enable
pub fn captmode0(&self) -> CAPTMODE0_R
[src]
Bits 24:25 - Capture Mode Channel 0
pub fn captmode1(&self) -> CAPTMODE1_R
[src]
Bits 27:28 - Capture mode Channel 1
pub fn dmaos(&self) -> DMAOS_R
[src]
Bit 15 - DMA One-Shot Trigger Mode