[][src]Struct ke06z4_pac::ftm2::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    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 conf: CONF,
    pub fltpol: FLTPOL,
    pub synconf: SYNCONF,
    pub invctrl: INVCTRL,
    pub swoctrl: SWOCTRL,
    pub pwmload: PWMLOAD,
    // some fields omitted
}

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

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.