#[repr(C)]pub struct RegisterBlock {Show 39 fields
pub sc: SC,
pub cnt: CNT,
pub mod_: MOD,
pub c0sc: CSC,
pub c0v: CV,
pub c1sc: CSC,
pub c1v: CV,
pub c2sc: CSC,
pub c2v: CV,
pub c3sc: CSC,
pub c3v: CV,
pub c4sc: CSC,
pub c4v: CV,
pub c5sc: CSC,
pub c5v: CV,
pub c6sc: CSC,
pub c6v: CV,
pub c7sc: CSC,
pub c7v: 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,
}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
c2sc: CSC0x1c - Channel (n) Status And Control
c2v: CV0x20 - Channel (n) Value
c3sc: CSC0x24 - Channel (n) Status And Control
c3v: CV0x28 - Channel (n) Value
c4sc: CSC0x2c - Channel (n) Status And Control
c4v: CV0x30 - Channel (n) Value
c5sc: CSC0x34 - Channel (n) Status And Control
c5v: CV0x38 - Channel (n) Value
c6sc: CSC0x3c - Channel (n) Status And Control
c6v: CV0x40 - Channel (n) Value
c7sc: CSC0x44 - Channel (n) Status And Control
c7v: CV0x48 - 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