Type Definition atsam4lc4a_pac::pdca::pcontrol::R[][src]

type R = R<u32, PCONTROL>;

Reader of register PCONTROL

Implementations

impl R[src]

pub fn ch0en(&self) -> CH0EN_R[src]

Bit 0 - Channel 0 Enabled

pub fn ch1en(&self) -> CH1EN_R[src]

Bit 1 - Channel 1 Enabled.

pub fn ch0of(&self) -> CH0OF_R[src]

Bit 4 - Channel 0 Overflow Freeze

pub fn ch1of(&self) -> CH1OF_R[src]

Bit 5 - Channel 1 overflow freeze

pub fn ch0res(&self) -> CH0RES_R[src]

Bit 8 - Channel 0 counter reset

pub fn ch1res(&self) -> CH1RES_R[src]

Bit 9 - Channel 1 counter reset

pub fn mon0ch(&self) -> MON0CH_R[src]

Bits 16:21 - PDCA Channel to monitor with counter 0

pub fn mon1ch(&self) -> MON1CH_R[src]

Bits 24:29 - PDCA Channel to monitor with counter 1