pub struct Peripherals {
Show 16 fields pub SPECIAL_FUNCTION: SPECIAL_FUNCTION, pub PORT_3_4: PORT_3_4, pub PORT_1_2: PORT_1_2, pub ADC10: ADC10, pub SYSTEM_CLOCK: SYSTEM_CLOCK, pub COMPARATOR_A: COMPARATOR_A, pub USCI_A0_UART_MODE: USCI_A0_UART_MODE, pub USCI_A0_SPI_MODE: USCI_A0_SPI_MODE, pub USCI_B0_I2C_MODE: USCI_B0_I2C_MODE, pub USCI_B0_SPI_MODE: USCI_B0_SPI_MODE, pub TLV_CALIBRATION_DATA: TLV_CALIBRATION_DATA, pub CALIBRATION_DATA: CALIBRATION_DATA, pub TIMER1_A3: TIMER1_A3, pub WATCHDOG_TIMER: WATCHDOG_TIMER, pub FLASH: FLASH, pub TIMER0_A3: TIMER0_A3,
}
Expand description

All the peripherals.

Fields

SPECIAL_FUNCTION: SPECIAL_FUNCTION

SPECIAL_FUNCTION

PORT_3_4: PORT_3_4

PORT_3_4

PORT_1_2: PORT_1_2

PORT_1_2

ADC10: ADC10

ADC10

SYSTEM_CLOCK: SYSTEM_CLOCK

SYSTEM_CLOCK

COMPARATOR_A: COMPARATOR_A

COMPARATOR_A

USCI_A0_UART_MODE: USCI_A0_UART_MODE

USCI_A0_UART_MODE

USCI_A0_SPI_MODE: USCI_A0_SPI_MODE

USCI_A0_SPI_MODE

USCI_B0_I2C_MODE: USCI_B0_I2C_MODE

USCI_B0_I2C_MODE

USCI_B0_SPI_MODE: USCI_B0_SPI_MODE

USCI_B0_SPI_MODE

TLV_CALIBRATION_DATA: TLV_CALIBRATION_DATA

TLV_CALIBRATION_DATA

CALIBRATION_DATA: CALIBRATION_DATA

CALIBRATION_DATA

TIMER1_A3: TIMER1_A3

TIMER1_A3

WATCHDOG_TIMER: WATCHDOG_TIMER

WATCHDOG_TIMER

FLASH: FLASH

FLASH

TIMER0_A3: TIMER0_A3

TIMER0_A3

Implementations

Unchecked version of Peripherals::take.

Safety

Each of the returned peripherals must be used at most once.

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.