pub struct RegisterBlock {Show 27 fields
pub sc: SC,
pub cnt: CNT,
pub mod_: MOD,
pub c0sc: CSC,
pub c0v: CV,
pub c1sc: CSC,
pub c1v: CV,
pub cntin: CNTIN,
pub status: STATUS,
pub mode: MODE,
pub sync: SYNC,
pub outinit: OUTINIT,
pub outmask: OUTMASK,
pub combine: COMBINE,
pub deadtime: DEADTIME,
pub exttrig: EXTTRIG,
pub pol: POL,
pub fms: FMS,
pub filter: FILTER,
pub fltctrl: FLTCTRL,
pub qdctrl: QDCTRL,
pub conf: CONF,
pub fltpol: FLTPOL,
pub synconf: SYNCONF,
pub invctrl: INVCTRL,
pub swoctrl: SWOCTRL,
pub pwmload: PWMLOAD,
/* private fields */
}Expand description
Register block
Fields§
§sc: SC0x00 - Status And Control
cnt: CNT0x04 - Counter
mod_: MOD0x08 - Modulo
c0sc: CSC0x0c - Channel (n) Status And Control
c0v: CV0x10 - Channel (n) Value
c1sc: CSC0x14 - Channel (n) Status And Control
c1v: CV0x18 - Channel (n) Value
cntin: CNTIN0x4c - Counter Initial Value
status: STATUS0x50 - Capture And Compare Status
mode: MODE0x54 - Features Mode Selection
sync: SYNC0x58 - Synchronization
outinit: OUTINIT0x5c - Initial State For Channels Output
outmask: OUTMASK0x60 - Output Mask
combine: COMBINE0x64 - Function For Linked Channels
deadtime: DEADTIME0x68 - Deadtime Insertion Control
exttrig: EXTTRIG0x6c - FTM External Trigger
pol: POL0x70 - Channels Polarity
fms: FMS0x74 - Fault Mode Status
filter: FILTER0x78 - Input Capture Filter Control
fltctrl: FLTCTRL0x7c - Fault Control
qdctrl: QDCTRL0x80 - Quadrature Decoder Control And Status
conf: CONF0x84 - Configuration
fltpol: FLTPOL0x88 - FTM Fault Input Polarity
synconf: SYNCONF0x8c - Synchronization Configuration
invctrl: INVCTRL0x90 - FTM Inverting Control
swoctrl: SWOCTRL0x94 - FTM Software Output Control
pwmload: PWMLOAD0x98 - FTM PWM Load