Struct zinc_hal_lpc11xx::ioregs::CT32B0_ccr
[−]
[src]
pub struct CT32B0_ccr { // some fields omitted }
Register CCR
: Capture Control Register (CCR). The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place.
Methods
impl CT32B0_ccr
fn get(&self) -> CT32B0_ccr_Get
Fetch the value of the CCR
register.
fn cap0re(&self) -> CT32B0_ccr_cap0re
Get value of CAP0RE
field.
fn cap0fe(&self) -> CT32B0_ccr_cap0fe
Get value of CAP0FE
field.
fn cap0i(&self) -> CT32B0_ccr_cap0i
Get value of CAP0I
field.
fn cap1re(&self) -> CT32B0_ccr_cap1re
Get value of CAP1RE
field.
fn cap1fe(&self) -> CT32B0_ccr_cap1fe
Get value of CAP1FE
field.
fn cap1i(&self) -> CT32B0_ccr_cap1i
Get value of CAP1I
field.
fn ignoring_state(&self) -> CT32B0_ccr_Update
Create new updater that ignores current value of the CCR
register.
fn set_cap0re<'a>(&'a mut self, new_value: CT32B0_ccr_cap0re) -> CT32B0_ccr_Update<'a>
Set value of CAP0RE
field.
fn set_cap0fe<'a>(&'a mut self, new_value: CT32B0_ccr_cap0fe) -> CT32B0_ccr_Update<'a>
Set value of CAP0FE
field.
fn set_cap0i<'a>(&'a mut self, new_value: CT32B0_ccr_cap0i) -> CT32B0_ccr_Update<'a>
Set value of CAP0I
field.
fn set_cap1re<'a>(&'a mut self, new_value: CT32B0_ccr_cap1re) -> CT32B0_ccr_Update<'a>
Set value of CAP1RE
field.
fn set_cap1fe<'a>(&'a mut self, new_value: CT32B0_ccr_cap1fe) -> CT32B0_ccr_Update<'a>
Set value of CAP1FE
field.
fn set_cap1i<'a>(&'a mut self, new_value: CT32B0_ccr_cap1i) -> CT32B0_ccr_Update<'a>
Set value of CAP1I
field.