Struct mk20d7::ftm0::RegisterBlock
source · #[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: SC
0x00 - Status and Control
cnt: CNT
0x04 - Counter
mod_: MOD
0x08 - Modulo
c0sc: CSC
0x0c - Channel (n) Status and Control
c0v: CV
0x10 - Channel (n) Value
c1sc: CSC
0x14 - Channel (n) Status and Control
c1v: CV
0x18 - Channel (n) Value
c2sc: CSC
0x1c - Channel (n) Status and Control
c2v: CV
0x20 - Channel (n) Value
c3sc: CSC
0x24 - Channel (n) Status and Control
c3v: CV
0x28 - Channel (n) Value
c4sc: CSC
0x2c - Channel (n) Status and Control
c4v: CV
0x30 - Channel (n) Value
c5sc: CSC
0x34 - Channel (n) Status and Control
c5v: CV
0x38 - Channel (n) Value
c6sc: CSC
0x3c - Channel (n) Status and Control
c6v: CV
0x40 - Channel (n) Value
c7sc: CSC
0x44 - Channel (n) Status and Control
c7v: CV
0x48 - Channel (n) Value
cntin: CNTIN
0x4c - Counter Initial Value
status: STATUS
0x50 - Capture and Compare Status
mode: MODE
0x54 - Features Mode Selection
sync: SYNC
0x58 - Synchronization
outinit: OUTINIT
0x5c - Initial State for Channels Output
outmask: OUTMASK
0x60 - Output Mask
combine: COMBINE
0x64 - Function for Linked Channels
deadtime: DEADTIME
0x68 - Deadtime Insertion Control
exttrig: EXTTRIG
0x6c - FTM External Trigger
pol: POL
0x70 - Channels Polarity
fms: FMS
0x74 - Fault Mode Status
filter: FILTER
0x78 - Input Capture Filter Control
fltctrl: FLTCTRL
0x7c - Fault Control
qdctrl: QDCTRL
0x80 - Quadrature Decoder Control and Status
conf: CONF
0x84 - Configuration
fltpol: FLTPOL
0x88 - FTM Fault Input Polarity
synconf: SYNCONF
0x8c - Synchronization Configuration
invctrl: INVCTRL
0x90 - FTM Inverting Control
swoctrl: SWOCTRL
0x94 - FTM Software Output Control
pwmload: PWMLOAD
0x98 - FTM PWM Load