[][src]Struct cc3220sf::i2s::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub pid: PID,
    pub esysconfig: ESYSCONFIG,
    pub pfunc: PFUNC,
    pub pdir: PDIR,
    pub pdout: PDOUT,
    pub pdin_pdset: PDIN_PDSET,
    pub pdclr: PDCLR,
    pub tlgc: TLGC,
    pub tlmr: TLMR,
    pub tlec: TLEC,
    pub gblctl: GBLCTL,
    pub amute: AMUTE,
    pub lbctl: LBCTL,
    pub txditctl: TXDITCTL,
    pub gblctlr: GBLCTLR,
    pub rxmask: RXMASK,
    pub rxfmt: RXFMT,
    pub rxfmctl: RXFMCTL,
    pub aclkrctl: ACLKRCTL,
    pub ahclkrctl: AHCLKRCTL,
    pub rxtdm: RXTDM,
    pub evtctlr: EVTCTLR,
    pub rxstat: RXSTAT,
    pub rxtdmslot: RXTDMSLOT,
    pub rxclkchk: RXCLKCHK,
    pub revtctl: REVTCTL,
    pub gblctlx: GBLCTLX,
    pub txmask: TXMASK,
    pub txfmt: TXFMT,
    pub txfmctl: TXFMCTL,
    pub aclkxctl: ACLKXCTL,
    pub ahclkxctl: AHCLKXCTL,
    pub txtdm: TXTDM,
    pub evtctlx: EVTCTLX,
    pub txstat: TXSTAT,
    pub txtdmslot: TXTDMSLOT,
    pub txclkchk: TXCLKCHK,
    pub xevtctl: XEVTCTL,
    pub clkadjen: CLKADJEN,
    pub ditcsra0: DITCSRA0,
    pub ditcsra1: DITCSRA1,
    pub ditcsra2: DITCSRA2,
    pub ditcsra3: DITCSRA3,
    pub ditcsra4: DITCSRA4,
    pub ditcsra5: DITCSRA5,
    pub ditcsrb0: DITCSRB0,
    pub ditcsrb1: DITCSRB1,
    pub ditcsrb2: DITCSRB2,
    pub ditcsrb3: DITCSRB3,
    pub ditcsrb4: DITCSRB4,
    pub ditcsrb5: DITCSRB5,
    pub ditudra0: DITUDRA0,
    pub ditudra1: DITUDRA1,
    pub ditudra2: DITUDRA2,
    pub ditudra3: DITUDRA3,
    pub ditudra4: DITUDRA4,
    pub ditudra5: DITUDRA5,
    pub ditudrb0: DITUDRB0,
    pub ditudrb1: DITUDRB1,
    pub ditudrb2: DITUDRB2,
    pub ditudrb3: DITUDRB3,
    pub ditudrb4: DITUDRB4,
    pub ditudrb5: DITUDRB5,
    pub xrsrctl0: XRSRCTL0,
    pub xrsrctl1: XRSRCTL1,
    pub xrsrctl2: XRSRCTL2,
    pub xrsrctl3: XRSRCTL3,
    pub xrsrctl4: XRSRCTL4,
    pub xrsrctl5: XRSRCTL5,
    pub xrsrctl6: XRSRCTL6,
    pub xrsrctl7: XRSRCTL7,
    pub xrsrctl8: XRSRCTL8,
    pub xrsrctl9: XRSRCTL9,
    pub xrsrctl10: XRSRCTL10,
    pub xrsrctl11: XRSRCTL11,
    pub xrsrctl12: XRSRCTL12,
    pub xrsrctl13: XRSRCTL13,
    pub xrsrctl14: XRSRCTL14,
    pub xrsrctl15: XRSRCTL15,
    pub txbuf0: TXBUF0,
    pub txbuf1: TXBUF1,
    pub txbuf2: TXBUF2,
    pub txbuf3: TXBUF3,
    pub txbuf4: TXBUF4,
    pub txbuf5: TXBUF5,
    pub txbuf6: TXBUF6,
    pub txbuf7: TXBUF7,
    pub txbuf8: TXBUF8,
    pub txbuf9: TXBUF9,
    pub txbuf10: TXBUF10,
    pub txbuf11: TXBUF11,
    pub txbuf12: TXBUF12,
    pub txbuf13: TXBUF13,
    pub txbuf14: TXBUF14,
    pub txbuf15: TXBUF15,
    pub rxbuf0: RXBUF0,
    pub rxbuf1: RXBUF1,
    pub rxbuf2: RXBUF2,
    pub rxbuf3: RXBUF3,
    pub rxbuf4: RXBUF4,
    pub rxbuf5: RXBUF5,
    pub rxbuf6: RXBUF6,
    pub rxbuf7: RXBUF7,
    pub rxbuf8: RXBUF8,
    pub rxbuf9: RXBUF9,
    pub rxbuf10: RXBUF10,
    pub rxbuf11: RXBUF11,
    pub rxbuf12: RXBUF12,
    pub rxbuf13: RXBUF13,
    pub rxbuf14: RXBUF14,
    pub rxbuf15: RXBUF15,
    // some fields omitted
}

Register block

Fields

pid: PID

0x00 - PID

esysconfig: ESYSCONFIG

0x04 - Power Idle SYSCONFIG register.

pfunc: PFUNC

0x10 - PFUNC

pdir: PDIR

0x14 - PDIR

pdout: PDOUT

0x18 - PDOUT

pdin_pdset: PDIN_PDSET

0x1c - The pin data input register (PDIN) holds the I/O pin state of each of the McASP pins. PDIN allows the actual value of the pin to be read regardless of the state of PFUNC and PDIR. The pin data set register (PDSET) is an alias of the pin data output register (PDOUT) for writes only. Writing a 1 to the PDSET bit sets the corresponding bit in PDOUT and if PFUNC = 1 (GPIO function) and PDIR = 1 (output) drives a logic high on the pin.

pdclr: PDCLR

0x20 - The pin data clear register (PDCLR) is an alias of the pin data output register (PDOUT) for writes only. Writing a 1 to the PDCLR bit clears the corresponding bit in PDOUT and if PFUNC = 1 (GPIO function) and PDIR = 1 (output) drives a logic low on the pin.

tlgc: TLGC

0x30 - for IODFT

tlmr: TLMR

0x34 - for IODFT

tlec: TLEC

0x38 - for IODFT

gblctl: GBLCTL

0x44 - GBLCTL

amute: AMUTE

0x48 - AMUTE

lbctl: LBCTL

0x4c - LBCTL

txditctl: TXDITCTL

0x50 - TXDITCTL

gblctlr: GBLCTLR

0x60 - GBLCTLR

rxmask: RXMASK

0x64 - RXMASK

rxfmt: RXFMT

0x68 - RXFMT

rxfmctl: RXFMCTL

0x6c - RXFMCTL

aclkrctl: ACLKRCTL

0x70 - ACLKRCTL

ahclkrctl: AHCLKRCTL

0x74 - AHCLKRCTL

rxtdm: RXTDM

0x78 - RXTDM

evtctlr: EVTCTLR

0x7c - EVTCTLR

rxstat: RXSTAT

0x80 - RXSTAT

rxtdmslot: RXTDMSLOT

0x84 - RXTDMSLOT

rxclkchk: RXCLKCHK

0x88 - RXCLKCHK

revtctl: REVTCTL

0x8c - REVTCTL

gblctlx: GBLCTLX

0xa0 - GBLCTLX

txmask: TXMASK

0xa4 - TXMASK

txfmt: TXFMT

0xa8 - TXFMT

txfmctl: TXFMCTL

0xac - TXFMCTL

aclkxctl: ACLKXCTL

0xb0 - ACLKXCTL

ahclkxctl: AHCLKXCTL

0xb4 - AHCLKXCTL

txtdm: TXTDM

0xb8 - TXTDM

evtctlx: EVTCTLX

0xbc - EVTCTLX

txstat: TXSTAT

0xc0 - TXSTAT

txtdmslot: TXTDMSLOT

0xc4 - TXTDMSLOT

txclkchk: TXCLKCHK

0xc8 - TXCLKCHK

xevtctl: XEVTCTL

0xcc - XEVTCTL

clkadjen: CLKADJEN

0xd0 - CLKADJEN

ditcsra0: DITCSRA0

0x100 - DITCSRA0

ditcsra1: DITCSRA1

0x104 - DITCSRA1

ditcsra2: DITCSRA2

0x108 - DITCSRA2

ditcsra3: DITCSRA3

0x10c - DITCSRA3

ditcsra4: DITCSRA4

0x110 - DITCSRA4

ditcsra5: DITCSRA5

0x114 - DITCSRA5

ditcsrb0: DITCSRB0

0x118 - DITCSRB0

ditcsrb1: DITCSRB1

0x11c - DITCSRB1

ditcsrb2: DITCSRB2

0x120 - DITCSRB2

ditcsrb3: DITCSRB3

0x124 - DITCSRB3

ditcsrb4: DITCSRB4

0x128 - DITCSRB4

ditcsrb5: DITCSRB5

0x12c - DITCSRB5

ditudra0: DITUDRA0

0x130 - DITUDRA0

ditudra1: DITUDRA1

0x134 - DITUDRA1

ditudra2: DITUDRA2

0x138 - DITUDRA2

ditudra3: DITUDRA3

0x13c - DITUDRA3

ditudra4: DITUDRA4

0x140 - DITUDRA4

ditudra5: DITUDRA5

0x144 - DITUDRA5

ditudrb0: DITUDRB0

0x148 - DITUDRB0

ditudrb1: DITUDRB1

0x14c - DITUDRB1

ditudrb2: DITUDRB2

0x150 - DITUDRB2

ditudrb3: DITUDRB3

0x154 - DITUDRB3

ditudrb4: DITUDRB4

0x158 - DITUDRB4

ditudrb5: DITUDRB5

0x15c - DITUDRB5

xrsrctl0: XRSRCTL0

0x180 - XRSRCTL0

xrsrctl1: XRSRCTL1

0x184 - XRSRCTL1

xrsrctl2: XRSRCTL2

0x188 - XRSRCTL2

xrsrctl3: XRSRCTL3

0x18c - XRSRCTL3

xrsrctl4: XRSRCTL4

0x190 - XRSRCTL4

xrsrctl5: XRSRCTL5

0x194 - XRSRCTL5

xrsrctl6: XRSRCTL6

0x198 - XRSRCTL6

xrsrctl7: XRSRCTL7

0x19c - XRSRCTL7

xrsrctl8: XRSRCTL8

0x1a0 - XRSRCTL8

xrsrctl9: XRSRCTL9

0x1a4 - XRSRCTL9

xrsrctl10: XRSRCTL10

0x1a8 - XRSRCTL10

xrsrctl11: XRSRCTL11

0x1ac - XRSRCTL11

xrsrctl12: XRSRCTL12

0x1b0 - XRSRCTL12

xrsrctl13: XRSRCTL13

0x1b4 - XRSRCTL13

xrsrctl14: XRSRCTL14

0x1b8 - XRSRCTL14

xrsrctl15: XRSRCTL15

0x1bc - XRSRCTL15

txbuf0: TXBUF0

0x200 - TXBUF0

txbuf1: TXBUF1

0x204 - TXBUF1

txbuf2: TXBUF2

0x208 - TXBUF2

txbuf3: TXBUF3

0x20c - TXBUF3

txbuf4: TXBUF4

0x210 - TXBUF4

txbuf5: TXBUF5

0x214 - TXBUF5

txbuf6: TXBUF6

0x218 - TXBUF6

txbuf7: TXBUF7

0x21c - TXBUF7

txbuf8: TXBUF8

0x220 - TXBUF8

txbuf9: TXBUF9

0x224 - TXBUF9

txbuf10: TXBUF10

0x228 - TXBUF10

txbuf11: TXBUF11

0x22c - TXBUF11

txbuf12: TXBUF12

0x230 - TXBUF12

txbuf13: TXBUF13

0x234 - TXBUF13

txbuf14: TXBUF14

0x238 - TXBUF14

txbuf15: TXBUF15

0x23c - TXBUF15

rxbuf0: RXBUF0

0x280 - RXBUF0

rxbuf1: RXBUF1

0x284 - RXBUF1

rxbuf2: RXBUF2

0x288 - RXBUF2

rxbuf3: RXBUF3

0x28c - RXBUF3

rxbuf4: RXBUF4

0x290 - RXBUF4

rxbuf5: RXBUF5

0x294 - RXBUF5

rxbuf6: RXBUF6

0x298 - RXBUF6

rxbuf7: RXBUF7

0x29c - RXBUF7

rxbuf8: RXBUF8

0x2a0 - RXBUF8

rxbuf9: RXBUF9

0x2a4 - RXBUF9

rxbuf10: RXBUF10

0x2a8 - RXBUF10

rxbuf11: RXBUF11

0x2ac - RXBUF11

rxbuf12: RXBUF12

0x2b0 - RXBUF12

rxbuf13: RXBUF13

0x2b4 - RXBUF13

rxbuf14: RXBUF14

0x2b8 - RXBUF14

rxbuf15: RXBUF15

0x2bc - RXBUF15

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.