#[repr(C)]
pub struct RegisterBlock {
Show 19 fields pub config: CONFIG, pub ctrl: CTRL, pub limit: LIMIT, pub halt: HALT, pub stop: STOP, pub start: START, pub count: COUNT, pub state: STATE, pub input: INPUT, pub regmode: REGMODE, pub output: OUTPUT, pub outputdirctrl: OUTPUTDIRCTRL, pub res: RES, pub even: EVEN, pub evflag: EVFLAG, pub conen: CONEN, pub conflag: CONFLAG, pub ev: [EV; 6], pub out: [OUT; 4], /* private fields */
}
Expand description

Register block

Fields§

§config: CONFIG

0x00 - SCT configuration register

§ctrl: CTRL

0x04 - SCT control register

§limit: LIMIT

0x08 - SCT limit event select register

§halt: HALT

0x0c - SCT halt event select register

§stop: STOP

0x10 - SCT stop event select register

§start: START

0x14 - SCT start event select register

§count: COUNT

0x40 - SCT counter register

§state: STATE

0x44 - SCT state register

§input: INPUT

0x48 - SCT input register

§regmode: REGMODE

0x4c - SCT match/capture mode register

§output: OUTPUT

0x50 - SCT output register

§outputdirctrl: OUTPUTDIRCTRL

0x54 - SCT output counter direction control register

§res: RES

0x58 - SCT conflict resolution register

§even: EVEN

0xf0 - SCT event interrupt enable register

§evflag: EVFLAG

0xf4 - SCT event flag register

§conen: CONEN

0xf8 - SCT conflict interrupt enable register

§conflag: CONFLAG

0xfc - SCT conflict flag register

§ev: [EV; 6]

0x300..0x330 - no description available

§out: [OUT; 4]

0x500..0x520 - no description available

Implementations§

0x100 - SCT match value register of match channels

0x100 - SCT capture register of capture channel

0x104 - SCT match value register of match channels

0x104 - SCT capture register of capture channel

0x108 - SCT match value register of match channels

0x108 - SCT capture register of capture channel

0x10c - SCT match value register of match channels

0x10c - SCT capture register of capture channel

0x110 - SCT match value register of match channels

0x110 - SCT capture register of capture channel

0x200 - SCT match reload value register

0x200 - SCT capture control register

0x204 - SCT match reload value register

0x204 - SCT capture control register

0x208 - SCT match reload value register

0x208 - SCT capture control register

0x20c - SCT match reload value register

0x20c - SCT capture control register

0x210 - SCT match reload value register

0x210 - SCT capture control register

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.