Struct s32k144::ftm0::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub sc: SC, pub cnt: CNT, pub mod_: MOD, pub c0sc: C0SC, pub c0v: C0V, pub c1sc: C1SC, pub c1v: C1V, pub c2sc: C2SC, pub c2v: C2V, pub c3sc: C3SC, pub c3v: C3V, pub c4sc: C4SC, pub c4v: C4V, pub c5sc: C5SC, pub c5v: C5V, pub c6sc: C6SC, pub c6v: C6V, pub c7sc: C7SC, pub c7v: C7V, 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, pub hcr: HCR, pub pair0deadtime: PAIR0DEADTIME, pub pair1deadtime: PAIR1DEADTIME, pub pair2deadtime: PAIR2DEADTIME, pub pair3deadtime: PAIR3DEADTIME, // some fields omitted }
Register block
Fields
sc: SC
0x00 - Status And Control
cnt: CNT
0x04 - Counter
mod_: MOD
0x08 - Modulo
c0sc: C0SC
0x0c - Channel (n) Status And Control
c0v: C0V
0x10 - Channel (n) Value
c1sc: C1SC
0x14 - Channel (n) Status And Control
c1v: C1V
0x18 - Channel (n) Value
c2sc: C2SC
0x1c - Channel (n) Status And Control
c2v: C2V
0x20 - Channel (n) Value
c3sc: C3SC
0x24 - Channel (n) Status And Control
c3v: C3V
0x28 - Channel (n) Value
c4sc: C4SC
0x2c - Channel (n) Status And Control
c4v: C4V
0x30 - Channel (n) Value
c5sc: C5SC
0x34 - Channel (n) Status And Control
c5v: C5V
0x38 - Channel (n) Value
c6sc: C6SC
0x3c - Channel (n) Status And Control
c6v: C6V
0x40 - Channel (n) Value
c7sc: C7SC
0x44 - Channel (n) Status And Control
c7v: C7V
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 Configuration
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
hcr: HCR
0x9c - Half Cycle Register
pair0deadtime: PAIR0DEADTIME
0xa0 - Pair 0 Deadtime Configuration
pair1deadtime: PAIR1DEADTIME
0xa8 - Pair 1 Deadtime Configuration
pair2deadtime: PAIR2DEADTIME
0xb0 - Pair 2 Deadtime Configuration
pair3deadtime: PAIR3DEADTIME
0xb8 - Pair 3 Deadtime Configuration