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

0x00 - Status And Control

0x04 - Counter

0x08 - Modulo

0x0c - Channel (n) Status And Control

0x10 - Channel (n) Value

0x14 - Channel (n) Status And Control

0x18 - Channel (n) Value

0x1c - Channel (n) Status And Control

0x20 - Channel (n) Value

0x24 - Channel (n) Status And Control

0x28 - Channel (n) Value

0x2c - Channel (n) Status And Control

0x30 - Channel (n) Value

0x34 - Channel (n) Status And Control

0x38 - Channel (n) Value

0x3c - Channel (n) Status And Control

0x40 - Channel (n) Value

0x44 - Channel (n) Status And Control

0x48 - Channel (n) Value

0x4c - Counter Initial Value

0x50 - Capture And Compare Status

0x54 - Features Mode Selection

0x58 - Synchronization

0x5c - Initial State For Channels Output

0x60 - Output Mask

0x64 - Function For Linked Channels

0x68 - Deadtime Configuration

0x6c - FTM External Trigger

0x70 - Channels Polarity

0x74 - Fault Mode Status

0x78 - Input Capture Filter Control

0x7c - Fault Control

0x80 - Quadrature Decoder Control And Status

0x84 - Configuration

0x88 - FTM Fault Input Polarity

0x8c - Synchronization Configuration

0x90 - FTM Inverting Control

0x94 - FTM Software Output Control

0x98 - FTM PWM Load

0x9c - Half Cycle Register

0xa0 - Pair 0 Deadtime Configuration

0xa8 - Pair 1 Deadtime Configuration

0xb0 - Pair 2 Deadtime Configuration

0xb8 - Pair 3 Deadtime Configuration