Struct xmc4100::ccu80_cc80::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 33 fields
pub ins: INS,
pub cmc: CMC,
pub tcst: TCST,
pub tcset: TCSET,
pub tcclr: TCCLR,
pub tc: TC,
pub psl: PSL,
pub dit: DIT,
pub dits: DITS,
pub psc: PSC,
pub fpc: FPC,
pub fpcs: FPCS,
pub pr: PR,
pub prs: PRS,
pub cr1: CR1,
pub cr1s: CR1S,
pub cr2: CR2,
pub cr2s: CR2S,
pub chc: CHC,
pub dtc: DTC,
pub dc1r: DC1R,
pub dc2r: DC2R,
pub timer: TIMER,
pub c0v: C0V,
pub c1v: C1V,
pub c2v: C2V,
pub c3v: C3V,
pub ints: INTS,
pub inte: INTE,
pub srs: SRS,
pub sws: SWS,
pub swr: SWR,
pub stc: STC,
/* private fields */
}
Expand description
Register block
Fields
ins: INS
0x00 - Input Selector Configuration
cmc: CMC
0x04 - Connection Matrix Control
tcst: TCST
0x08 - Slice Timer Status
tcset: TCSET
0x0c - Slice Timer Run Set
tcclr: TCCLR
0x10 - Slice Timer Clear
tc: TC
0x14 - Slice Timer Control
psl: PSL
0x18 - Passive Level Config
dit: DIT
0x1c - Dither Config
dits: DITS
0x20 - Dither Shadow Register
psc: PSC
0x24 - Prescaler Control
fpc: FPC
0x28 - Floating Prescaler Control
fpcs: FPCS
0x2c - Floating Prescaler Shadow
pr: PR
0x30 - Timer Period Value
prs: PRS
0x34 - Timer Shadow Period Value
cr1: CR1
0x38 - Channel 1 Compare Value
cr1s: CR1S
0x3c - Channel 1 Compare Shadow Value
cr2: CR2
0x40 - Channel 2 Compare Value
cr2s: CR2S
0x44 - Channel 2 Compare Shadow Value
chc: CHC
0x48 - Channel Control
dtc: DTC
0x4c - Dead Time Control
dc1r: DC1R
0x50 - Channel 1 Dead Time Values
dc2r: DC2R
0x54 - Channel 2 Dead Time Values
timer: TIMER
0x70 - Timer Value
c0v: C0V
0x74 - Capture Register 0
c1v: C1V
0x78 - Capture Register 1
c2v: C2V
0x7c - Capture Register 2
c3v: C3V
0x80 - Capture Register 3
ints: INTS
0xa0 - Interrupt Status
inte: INTE
0xa4 - Interrupt Enable Control
srs: SRS
0xa8 - Service Request Selector
sws: SWS
0xac - Interrupt Status Set
swr: SWR
0xb0 - Interrupt Status Clear
stc: STC
0xb4 - Shadow transfer control