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