Struct mk20d7::pdb0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 16 fields
pub sc: SC,
pub mod_: MOD,
pub cnt: CNT,
pub idly: IDLY,
pub ch0c1: CHC1,
pub ch0s: CHS,
pub ch0dly0: CHDLY0,
pub ch0dly1: CHDLY1,
pub ch1c1: CHC1,
pub ch1s: CHS,
pub ch1dly0: CHDLY0,
pub ch1dly1: CHDLY1,
pub dacintc: DACINTC,
pub dacint: DACINT,
pub poen: POEN,
pub podly: [PODLY; 3],
/* private fields */
}
Expand description
Register block
Fields§
§sc: SC
0x00 - Status and Control Register
mod_: MOD
0x04 - Modulus Register
cnt: CNT
0x08 - Counter Register
idly: IDLY
0x0c - Interrupt Delay Register
ch0c1: CHC1
0x10 - Channel n Control Register 1
ch0s: CHS
0x14 - Channel n Status Register
ch0dly0: CHDLY0
0x18 - Channel n Delay 0 Register
ch0dly1: CHDLY1
0x1c - Channel n Delay 1 Register
ch1c1: CHC1
0x38 - Channel n Control Register 1
ch1s: CHS
0x3c - Channel n Status Register
ch1dly0: CHDLY0
0x40 - Channel n Delay 0 Register
ch1dly1: CHDLY1
0x44 - Channel n Delay 1 Register
dacintc: DACINTC
0x150 - DAC Interval Trigger n Control Register
dacint: DACINT
0x154 - DAC Interval n Register
poen: POEN
0x190 - Pulse-Out n Enable Register
podly: [PODLY; 3]
0x194 - Pulse-Out n Delay Register