[][src]Struct k1921vk01t_pac::nt_pwm0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub tbctl: TBCTL,
    pub tbsts: TBSTS,
    pub tbphs: TBPHS,
    pub tbctr: TBCTR,
    pub tbprd: TBPRD,
    pub cmpctl: CMPCTL,
    pub cmpa: CMPA,
    pub cmpb: CMPB,
    pub aqctla: AQCTLA,
    pub aqctlb: AQCTLB,
    pub aqsfrc: AQSFRC,
    pub aqcsfrc: AQCSFRC,
    pub dbctl: DBCTL,
    pub dbred: DBRED,
    pub dbfed: DBFED,
    pub tzsel: TZSEL,
    pub tzctl: TZCTL,
    pub tzeint: TZEINT,
    pub tzflg: TZFLG,
    pub tzclr: TZCLR,
    pub tzfrc: TZFRC,
    pub etsel: ETSEL,
    pub etps: ETPS,
    pub etflg: ETFLG,
    pub etclr: ETCLR,
    pub etfrc: ETFRC,
    pub pcctl: PCCTL,
    pub hrcnfg: HRCNFG,
    pub fwdth: FWDTH,
    pub hdsel: HDSEL,
    pub hdctl: HDCTL,
    pub hdeint: HDEINT,
    pub hdflg: HDFLG,
    pub hdclr: HDCLR,
    pub hdfrc: HDFRC,
    pub hdintclr: HDINTCLR,
    pub tzintclr: TZINTCLR,
    pub intclr: INTCLR,
    // some fields omitted
}

Register block

Fields

tbctl: TBCTL

0x00 - Timer Control Register

tbsts: TBSTS

0x04 - Timer status register

tbphs: TBPHS

0x08 - register Phases

tbctr: TBCTR

0x0c - Register current value of timer

tbprd: TBPRD

0x10 - Register maximum Timer

cmpctl: CMPCTL

0x14 - No description

cmpa: CMPA

0x18 - Register threshold A

cmpb: CMPB

0x1c - Register threshold B

aqctla: AQCTLA

0x20 - Register handlers for output A

aqctlb: AQCTLB

0x24 - Register handlers for output B

aqsfrc: AQSFRC

0x28 - Register handlers for a single program management

aqcsfrc: AQCSFRC

0x2c - Register handlers for the cyclic program Management

dbctl: DBCTL

0x30 - Generator Control Register PWM Dead Time

dbred: DBRED

0x34 - Dead time control register

dbfed: DBFED

0x38 - Dead time control register

tzsel: TZSEL

0x3c - Register the source of the accident

tzctl: TZCTL

0x40 - Control Register detector alarm signal

tzeint: TZEINT

0x44 - Interrupt mask register Signal Detection Alarms

tzflg: TZFLG

0x48 - Flags register interrupt signal detector Accidents

tzclr: TZCLR

0x4c - Register reset interrupt flag detector alarm signal

tzfrc: TZFRC

0x50 - Register software emulation of faults

etsel: ETSEL

0x54 - A Source event trigger

etps: ETPS

0x58 - Prescaler register the event trigger

etflg: ETFLG

0x5c - Register Flags event trigger

etclr: ETCLR

0x60 - Register reset flags trigger events

etfrc: ETFRC

0x64 - Register software emulation events

pcctl: PCCTL

0x68 - Control Register modulator

hrcnfg: HRCNFG

0x6c - Register Configuration Block PWM High Definition

fwdth: FWDTH

0x70 - Register width filtering

hdsel: HDSEL

0x88 - Register source event retention

hdctl: HDCTL

0x8c - Control Register detector hold events

hdeint: HDEINT

0x90 - Register software activation threshold trigger

hdflg: HDFLG

0x94 - Registrer HD flag interrupt

hdclr: HDCLR

0x98 - Register clear HD flag

hdfrc: HDFRC

0x9c - Register software activation threshold trigger

hdintclr: HDINTCLR

0xa0 - Register clear HD interrupt

tzintclr: TZINTCLR

0xa4 - Register clear TZ interrupt

intclr: INTCLR

0xa8 - Register clear interrupt

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> Same<T> for T

type Output = T

Should always be Self

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

type Error = !

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.