[][src]Struct lpc55s6x_pac::sct0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub config: CONFIG,
    pub ctrl: CTRL,
    pub limit: LIMIT,
    pub halt: HALT,
    pub stop: STOP,
    pub start: START,
    pub count: COUNT,
    pub state: STATE,
    pub input: INPUT,
    pub regmode: REGMODE,
    pub output: OUTPUT,
    pub outputdirctrl: OUTPUTDIRCTRL,
    pub res: RES,
    pub dmareq0: DMAREQ0,
    pub dmareq1: DMAREQ1,
    pub even: EVEN,
    pub evflag: EVFLAG,
    pub conen: CONEN,
    pub conflag: CONFLAG,
    pub ev: [EV; 16],
    pub out: [OUT; 10],
    // some fields omitted
}

Register block

Fields

config: CONFIG

0x00 - SCT configuration register

ctrl: CTRL

0x04 - SCT control register

limit: LIMIT

0x08 - SCT limit event select register

halt: HALT

0x0c - SCT halt event select register

stop: STOP

0x10 - SCT stop event select register

start: START

0x14 - SCT start event select register

count: COUNT

0x40 - SCT counter register

state: STATE

0x44 - SCT state register

input: INPUT

0x48 - SCT input register

regmode: REGMODE

0x4c - SCT match/capture mode register

output: OUTPUT

0x50 - SCT output register

outputdirctrl: OUTPUTDIRCTRL

0x54 - SCT output counter direction control register

res: RES

0x58 - SCT conflict resolution register

dmareq0: DMAREQ0

0x5c - SCT DMA request 0 register

dmareq1: DMAREQ1

0x60 - SCT DMA request 1 register

even: EVEN

0xf0 - SCT event interrupt enable register

evflag: EVFLAG

0xf4 - SCT event flag register

conen: CONEN

0xf8 - SCT conflict interrupt enable register

conflag: CONFLAG

0xfc - SCT conflict flag register

ev: [EV; 16]

0x300 - no description available

out: [OUT; 10]

0x500 - no description available

Methods

impl RegisterBlock[src]

pub fn match0(&self) -> &MATCH0[src]

0x100 - SCT match value register of match channels

pub fn match0_mut(&self) -> &mut MATCH0[src]

0x100 - SCT match value register of match channels

pub fn cap0(&self) -> &CAP0[src]

0x100 - SCT capture register of capture channel

pub fn cap0_mut(&self) -> &mut CAP0[src]

0x100 - SCT capture register of capture channel

pub fn match1(&self) -> &MATCH1[src]

0x104 - SCT match value register of match channels

pub fn match1_mut(&self) -> &mut MATCH1[src]

0x104 - SCT match value register of match channels

pub fn cap1(&self) -> &CAP1[src]

0x104 - SCT capture register of capture channel

pub fn cap1_mut(&self) -> &mut CAP1[src]

0x104 - SCT capture register of capture channel

pub fn match2(&self) -> &MATCH2[src]

0x108 - SCT match value register of match channels

pub fn match2_mut(&self) -> &mut MATCH2[src]

0x108 - SCT match value register of match channels

pub fn cap2(&self) -> &CAP2[src]

0x108 - SCT capture register of capture channel

pub fn cap2_mut(&self) -> &mut CAP2[src]

0x108 - SCT capture register of capture channel

pub fn match3(&self) -> &MATCH3[src]

0x10c - SCT match value register of match channels

pub fn match3_mut(&self) -> &mut MATCH3[src]

0x10c - SCT match value register of match channels

pub fn cap3(&self) -> &CAP3[src]

0x10c - SCT capture register of capture channel

pub fn cap3_mut(&self) -> &mut CAP3[src]

0x10c - SCT capture register of capture channel

pub fn match4(&self) -> &MATCH4[src]

0x110 - SCT match value register of match channels

pub fn match4_mut(&self) -> &mut MATCH4[src]

0x110 - SCT match value register of match channels

pub fn cap4(&self) -> &CAP4[src]

0x110 - SCT capture register of capture channel

pub fn cap4_mut(&self) -> &mut CAP4[src]

0x110 - SCT capture register of capture channel

pub fn match5(&self) -> &MATCH5[src]

0x114 - SCT match value register of match channels

pub fn match5_mut(&self) -> &mut MATCH5[src]

0x114 - SCT match value register of match channels

pub fn cap5(&self) -> &CAP5[src]

0x114 - SCT capture register of capture channel

pub fn cap5_mut(&self) -> &mut CAP5[src]

0x114 - SCT capture register of capture channel

pub fn match6(&self) -> &MATCH6[src]

0x118 - SCT match value register of match channels

pub fn match6_mut(&self) -> &mut MATCH6[src]

0x118 - SCT match value register of match channels

pub fn cap6(&self) -> &CAP6[src]

0x118 - SCT capture register of capture channel

pub fn cap6_mut(&self) -> &mut CAP6[src]

0x118 - SCT capture register of capture channel

pub fn match7(&self) -> &MATCH7[src]

0x11c - SCT match value register of match channels

pub fn match7_mut(&self) -> &mut MATCH7[src]

0x11c - SCT match value register of match channels

pub fn cap7(&self) -> &CAP7[src]

0x11c - SCT capture register of capture channel

pub fn cap7_mut(&self) -> &mut CAP7[src]

0x11c - SCT capture register of capture channel

pub fn match8(&self) -> &MATCH8[src]

0x120 - SCT match value register of match channels

pub fn match8_mut(&self) -> &mut MATCH8[src]

0x120 - SCT match value register of match channels

pub fn cap8(&self) -> &CAP8[src]

0x120 - SCT capture register of capture channel

pub fn cap8_mut(&self) -> &mut CAP8[src]

0x120 - SCT capture register of capture channel

pub fn match9(&self) -> &MATCH9[src]

0x124 - SCT match value register of match channels

pub fn match9_mut(&self) -> &mut MATCH9[src]

0x124 - SCT match value register of match channels

pub fn cap9(&self) -> &CAP9[src]

0x124 - SCT capture register of capture channel

pub fn cap9_mut(&self) -> &mut CAP9[src]

0x124 - SCT capture register of capture channel

pub fn match10(&self) -> &MATCH10[src]

0x128 - SCT match value register of match channels

pub fn match10_mut(&self) -> &mut MATCH10[src]

0x128 - SCT match value register of match channels

pub fn cap10(&self) -> &CAP10[src]

0x128 - SCT capture register of capture channel

pub fn cap10_mut(&self) -> &mut CAP10[src]

0x128 - SCT capture register of capture channel

pub fn match11(&self) -> &MATCH11[src]

0x12c - SCT match value register of match channels

pub fn match11_mut(&self) -> &mut MATCH11[src]

0x12c - SCT match value register of match channels

pub fn cap11(&self) -> &CAP11[src]

0x12c - SCT capture register of capture channel

pub fn cap11_mut(&self) -> &mut CAP11[src]

0x12c - SCT capture register of capture channel

pub fn match12(&self) -> &MATCH12[src]

0x130 - SCT match value register of match channels

pub fn match12_mut(&self) -> &mut MATCH12[src]

0x130 - SCT match value register of match channels

pub fn cap12(&self) -> &CAP12[src]

0x130 - SCT capture register of capture channel

pub fn cap12_mut(&self) -> &mut CAP12[src]

0x130 - SCT capture register of capture channel

pub fn match13(&self) -> &MATCH13[src]

0x134 - SCT match value register of match channels

pub fn match13_mut(&self) -> &mut MATCH13[src]

0x134 - SCT match value register of match channels

pub fn cap13(&self) -> &CAP13[src]

0x134 - SCT capture register of capture channel

pub fn cap13_mut(&self) -> &mut CAP13[src]

0x134 - SCT capture register of capture channel

pub fn match14(&self) -> &MATCH14[src]

0x138 - SCT match value register of match channels

pub fn match14_mut(&self) -> &mut MATCH14[src]

0x138 - SCT match value register of match channels

pub fn cap14(&self) -> &CAP14[src]

0x138 - SCT capture register of capture channel

pub fn cap14_mut(&self) -> &mut CAP14[src]

0x138 - SCT capture register of capture channel

pub fn match15(&self) -> &MATCH15[src]

0x13c - SCT match value register of match channels

pub fn match15_mut(&self) -> &mut MATCH15[src]

0x13c - SCT match value register of match channels

pub fn cap15(&self) -> &CAP15[src]

0x13c - SCT capture register of capture channel

pub fn cap15_mut(&self) -> &mut CAP15[src]

0x13c - SCT capture register of capture channel

pub fn matchrel0(&self) -> &MATCHREL0[src]

0x200 - SCT match reload value register

pub fn matchrel0_mut(&self) -> &mut MATCHREL0[src]

0x200 - SCT match reload value register

pub fn capctrl0(&self) -> &CAPCTRL0[src]

0x200 - SCT capture control register

pub fn capctrl0_mut(&self) -> &mut CAPCTRL0[src]

0x200 - SCT capture control register

pub fn matchrel1(&self) -> &MATCHREL1[src]

0x204 - SCT match reload value register

pub fn matchrel1_mut(&self) -> &mut MATCHREL1[src]

0x204 - SCT match reload value register

pub fn capctrl1(&self) -> &CAPCTRL1[src]

0x204 - SCT capture control register

pub fn capctrl1_mut(&self) -> &mut CAPCTRL1[src]

0x204 - SCT capture control register

pub fn matchrel2(&self) -> &MATCHREL2[src]

0x208 - SCT match reload value register

pub fn matchrel2_mut(&self) -> &mut MATCHREL2[src]

0x208 - SCT match reload value register

pub fn capctrl2(&self) -> &CAPCTRL2[src]

0x208 - SCT capture control register

pub fn capctrl2_mut(&self) -> &mut CAPCTRL2[src]

0x208 - SCT capture control register

pub fn matchrel3(&self) -> &MATCHREL3[src]

0x20c - SCT match reload value register

pub fn matchrel3_mut(&self) -> &mut MATCHREL3[src]

0x20c - SCT match reload value register

pub fn capctrl3(&self) -> &CAPCTRL3[src]

0x20c - SCT capture control register

pub fn capctrl3_mut(&self) -> &mut CAPCTRL3[src]

0x20c - SCT capture control register

pub fn matchrel4(&self) -> &MATCHREL4[src]

0x210 - SCT match reload value register

pub fn matchrel4_mut(&self) -> &mut MATCHREL4[src]

0x210 - SCT match reload value register

pub fn capctrl4(&self) -> &CAPCTRL4[src]

0x210 - SCT capture control register

pub fn capctrl4_mut(&self) -> &mut CAPCTRL4[src]

0x210 - SCT capture control register

pub fn matchrel5(&self) -> &MATCHREL5[src]

0x214 - SCT match reload value register

pub fn matchrel5_mut(&self) -> &mut MATCHREL5[src]

0x214 - SCT match reload value register

pub fn capctrl5(&self) -> &CAPCTRL5[src]

0x214 - SCT capture control register

pub fn capctrl5_mut(&self) -> &mut CAPCTRL5[src]

0x214 - SCT capture control register

pub fn matchrel6(&self) -> &MATCHREL6[src]

0x218 - SCT match reload value register

pub fn matchrel6_mut(&self) -> &mut MATCHREL6[src]

0x218 - SCT match reload value register

pub fn capctrl6(&self) -> &CAPCTRL6[src]

0x218 - SCT capture control register

pub fn capctrl6_mut(&self) -> &mut CAPCTRL6[src]

0x218 - SCT capture control register

pub fn matchrel7(&self) -> &MATCHREL7[src]

0x21c - SCT match reload value register

pub fn matchrel7_mut(&self) -> &mut MATCHREL7[src]

0x21c - SCT match reload value register

pub fn capctrl7(&self) -> &CAPCTRL7[src]

0x21c - SCT capture control register

pub fn capctrl7_mut(&self) -> &mut CAPCTRL7[src]

0x21c - SCT capture control register

pub fn matchrel8(&self) -> &MATCHREL8[src]

0x220 - SCT match reload value register

pub fn matchrel8_mut(&self) -> &mut MATCHREL8[src]

0x220 - SCT match reload value register

pub fn capctrl8(&self) -> &CAPCTRL8[src]

0x220 - SCT capture control register

pub fn capctrl8_mut(&self) -> &mut CAPCTRL8[src]

0x220 - SCT capture control register

pub fn matchrel9(&self) -> &MATCHREL9[src]

0x224 - SCT match reload value register

pub fn matchrel9_mut(&self) -> &mut MATCHREL9[src]

0x224 - SCT match reload value register

pub fn capctrl9(&self) -> &CAPCTRL9[src]

0x224 - SCT capture control register

pub fn capctrl9_mut(&self) -> &mut CAPCTRL9[src]

0x224 - SCT capture control register

pub fn matchrel10(&self) -> &MATCHREL10[src]

0x228 - SCT match reload value register

pub fn matchrel10_mut(&self) -> &mut MATCHREL10[src]

0x228 - SCT match reload value register

pub fn capctrl10(&self) -> &CAPCTRL10[src]

0x228 - SCT capture control register

pub fn capctrl10_mut(&self) -> &mut CAPCTRL10[src]

0x228 - SCT capture control register

pub fn matchrel11(&self) -> &MATCHREL11[src]

0x22c - SCT match reload value register

pub fn matchrel11_mut(&self) -> &mut MATCHREL11[src]

0x22c - SCT match reload value register

pub fn capctrl11(&self) -> &CAPCTRL11[src]

0x22c - SCT capture control register

pub fn capctrl11_mut(&self) -> &mut CAPCTRL11[src]

0x22c - SCT capture control register

pub fn matchrel12(&self) -> &MATCHREL12[src]

0x230 - SCT match reload value register

pub fn matchrel12_mut(&self) -> &mut MATCHREL12[src]

0x230 - SCT match reload value register

pub fn capctrl12(&self) -> &CAPCTRL12[src]

0x230 - SCT capture control register

pub fn capctrl12_mut(&self) -> &mut CAPCTRL12[src]

0x230 - SCT capture control register

pub fn matchrel13(&self) -> &MATCHREL13[src]

0x234 - SCT match reload value register

pub fn matchrel13_mut(&self) -> &mut MATCHREL13[src]

0x234 - SCT match reload value register

pub fn capctrl13(&self) -> &CAPCTRL13[src]

0x234 - SCT capture control register

pub fn capctrl13_mut(&self) -> &mut CAPCTRL13[src]

0x234 - SCT capture control register

pub fn matchrel14(&self) -> &MATCHREL14[src]

0x238 - SCT match reload value register

pub fn matchrel14_mut(&self) -> &mut MATCHREL14[src]

0x238 - SCT match reload value register

pub fn capctrl14(&self) -> &CAPCTRL14[src]

0x238 - SCT capture control register

pub fn capctrl14_mut(&self) -> &mut CAPCTRL14[src]

0x238 - SCT capture control register

pub fn matchrel15(&self) -> &MATCHREL15[src]

0x23c - SCT match reload value register

pub fn matchrel15_mut(&self) -> &mut MATCHREL15[src]

0x23c - SCT match reload value register

pub fn capctrl15(&self) -> &CAPCTRL15[src]

0x23c - SCT capture control register

pub fn capctrl15_mut(&self) -> &mut CAPCTRL15[src]

0x23c - SCT capture control register

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 = 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.