[−][src]Struct lpc55s6x_pac::ctimer0::RegisterBlock
Register block
Fields
ir: IR
0x00 - Interrupt Register. The IR can be written to clear interrupts. The IR can be read to identify which of eight possible interrupt sources are pending.
tcr: TCR
0x04 - Timer Control Register. The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR.
tc: TC
0x08 - Timer Counter
pr: PR
0x0c - Prescale Register
pc: PC
0x10 - Prescale Counter
mcr: MCR
0x14 - Match Control Register
mr: [MR; 4]
0x18 - Match Register . MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC.
ccr: CCR
0x28 - Capture Control Register. 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.
cr: [CR; 4]
0x2c - Capture Register . CR is loaded with the value of TC when there is an event on the CAPn. input.
emr: EMR
0x3c - External Match Register. The EMR controls the match function and the external match pins.
ctcr: CTCR
0x70 - Count Control Register. The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.
pwmc: PWMC
0x74 - PWM Control Register. This register enables PWM mode for the external match pins.
msr: [MSR; 4]
0x78 - Match Shadow Register
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,