#[repr(C)]
pub struct RegisterBlock { pub uca0abctl: UCA0ABCTL, pub uca0irtctl: UCA0IRTCTL, pub uca0irrctl: UCA0IRRCTL, pub uca0ctl0: UCA0CTL0, pub uca0ctl1: UCA0CTL1, pub uca0br0: UCA0BR0, pub uca0br1: UCA0BR1, pub uca0mctl: UCA0MCTL, pub uca0stat: UCA0STAT, pub uca0rxbuf: UCA0RXBUF, pub uca0txbuf: UCA0TXBUF, /* private fields */ }
Expand description

Register block

Fields

uca0abctl: UCA0ABCTL

0x01 - USCI A0 LIN Control

uca0irtctl: UCA0IRTCTL

0x02 - USCI A0 IrDA Transmit Control

uca0irrctl: UCA0IRRCTL

0x03 - USCI A0 IrDA Receive Control

uca0ctl0: UCA0CTL0

0x04 - USCI A0 Control Register 0

uca0ctl1: UCA0CTL1

0x05 - USCI A0 Control Register 1

uca0br0: UCA0BR0

0x06 - USCI A0 Baud Rate 0

uca0br1: UCA0BR1

0x07 - USCI A0 Baud Rate 1

uca0mctl: UCA0MCTL

0x08 - USCI A0 Modulation Control

uca0stat: UCA0STAT

0x09 - USCI A0 Status Register

uca0rxbuf: UCA0RXBUF

0x0a - USCI A0 Receive Buffer

uca0txbuf: UCA0TXBUF

0x0b - USCI A0 Transmit Buffer

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.