[][src]Struct rsl10_pac::dio::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub dio_cfg: [DIO_CFG; 16],
    pub dio_data: DIO_DATA,
    pub dio_dir: DIO_DIR,
    pub dio_mode: DIO_MODE,
    pub dio_int_cfg: [DIO_INT_CFG; 4],
    pub dio_int_debounce: DIO_INT_DEBOUNCE,
    pub dio_pcm_src: DIO_PCM_SRC,
    pub dio_spi_src: [DIO_SPI_SRC; 2],
    pub dio_uart_src: DIO_UART_SRC,
    pub dio_i2c_src: DIO_I2C_SRC,
    pub dio_audiosink_src: DIO_AUDIOSINK_SRC,
    pub dio_nmi_src: DIO_NMI_SRC,
    pub dio_bb_rx_src: DIO_BB_RX_SRC,
    pub dio_bb_spi_src: DIO_BB_SPI_SRC,
    pub dio_rf_spi_src: DIO_RF_SPI_SRC,
    pub dio_rf_gpio03_src: DIO_RF_GPIO03_SRC,
    pub dio_rf_gpio47_src: DIO_RF_GPIO47_SRC,
    pub dio_rf_gpio89_src: DIO_RF_GPIO89_SRC,
    pub dio_dmic_src: DIO_DMIC_SRC,
    pub dio_lpdsp32_jtag_src: DIO_LPDSP32_JTAG_SRC,
    pub dio_jtag_sw_pad_cfg: DIO_JTAG_SW_PAD_CFG,
    pub dio_extclk_cfg: DIO_EXTCLK_CFG,
    pub dio_pad_cfg: DIO_PAD_CFG,
}

Register block

Fields

dio_cfg: [DIO_CFG; 16]

0x00 - Digital IO Configuration (ADC function only for pads 0 to 3)

dio_data: DIO_DATA

0x40 - Digital IOs Data Access Register

dio_dir: DIO_DIR

0x44 - Digital IOs Direction State

dio_mode: DIO_MODE

0x48 - Digital IOs Mode State

dio_int_cfg: [DIO_INT_CFG; 4]

0x4c - DIO Interrupt Configuration

dio_int_debounce: DIO_INT_DEBOUNCE

0x5c - DIO Interrupt Button Debounce Filter Time Configuration

dio_pcm_src: DIO_PCM_SRC

0x60 - PCM Input Selection

dio_spi_src: [DIO_SPI_SRC; 2]

0x64 - SPI[1:0] Interface Input Selection

dio_uart_src: DIO_UART_SRC

0x6c - UART Interface Input Selection

dio_i2c_src: DIO_I2C_SRC

0x70 - I2C Input Selection

dio_audiosink_src: DIO_AUDIOSINK_SRC

0x74 - Audio Sink Input Selection

dio_nmi_src: DIO_NMI_SRC

0x78 - NMI Input Selection

dio_bb_rx_src: DIO_BB_RX_SRC

0x7c - Baseband Controller RX Data And Clock Input Selection

dio_bb_spi_src: DIO_BB_SPI_SRC

0x80 - Baseband Controller SPI Input Selection

dio_rf_spi_src: DIO_RF_SPI_SRC

0x84 - RF Front-End SPI Input Selection

dio_rf_gpio03_src: DIO_RF_GPIO03_SRC

0x88 - RF Front-End GPIOs 0-3 Input Selection

dio_rf_gpio47_src: DIO_RF_GPIO47_SRC

0x8c - RF Front-End GPIOs 4-7 Input Selection

dio_rf_gpio89_src: DIO_RF_GPIO89_SRC

0x90 - RF Front-End GPIOs 8-9 Input Selection

dio_dmic_src: DIO_DMIC_SRC

0x94 - DMIC Data Input Selection Register

dio_lpdsp32_jtag_src: DIO_LPDSP32_JTAG_SRC

0x98 - LPDSP32 JTAG Configuration Register

dio_jtag_sw_pad_cfg: DIO_JTAG_SW_PAD_CFG

0x9c - JTAG / SW Pad Configuration Register

dio_extclk_cfg: DIO_EXTCLK_CFG

0xa0 - External Clock Pad Configuration Register

dio_pad_cfg: DIO_PAD_CFG

0xa4 - Global Pads Configuration 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.