#[repr(C)]pub struct RegisterBlock {Show 55 fields
pub chip_inform: CHIP_INFORM,
pub core_config_16: CORE_CONFIG_16,
pub core_config_17: CORE_CONFIG_17,
pub core_config_18: CORE_CONFIG_18,
pub core_config_19: CORE_CONFIG_19,
pub core_config_20: CORE_CONFIG_20,
pub core_config_21: CORE_CONFIG_21,
pub core_config_22: CORE_CONFIG_22,
pub core_config_23: CORE_CONFIG_23,
pub core_config_24: CORE_CONFIG_24,
pub core_config_25: CORE_CONFIG_25,
pub sys_config_0: SYS_CONFIG_0,
pub sys_config_1: SYS_CONFIG_1,
pub bus_config_0: BUS_CONFIG_0,
pub emi_config: EMI_CONFIG,
pub rtc_config: RTC_CONFIG,
pub adc_config: ADC_CONFIG,
pub dac_config_0: DAC_CONFIG_0,
pub dac_config_1: DAC_CONFIG_1,
pub dac_config_2: DAC_CONFIG_2,
pub dac_config_3: DAC_CONFIG_3,
pub dma_config_0: DMA_CONFIG_0,
pub dma_config_1: DMA_CONFIG_1,
pub dma_config_2: DMA_CONFIG_2,
pub ir_config_0: IR_CONFIG_0,
pub ir_config_1: IR_CONFIG_1,
pub uart_config: UART_CONFIG,
pub uart_signal_0: UART_SIGNAL_0,
pub uart_signal_1: UART_SIGNAL_1,
pub flash_config: FLASH_CONFIG,
pub i2c_config: I2C_CONFIG,
pub i2s_config: I2S_CONFIG,
pub spi_config: SPI_CONFIG,
pub quad_config: QUAD_CONFIG,
pub digit_clock_0: DIGIT_CLOCK_0,
pub digit_clock_1: DIGIT_CLOCK_1,
pub digit_clock_2: DIGIT_CLOCK_2,
pub radio_config: RADIO_CONFIG,
pub debug_config_0: DEBUG_CONFIG_0,
pub debug_config_1: DEBUG_CONFIG_1,
pub debug_config_2: DEBUG_CONFIG_2,
pub debug_config_3: DEBUG_CONFIG_3,
pub debug_config_4: DEBUG_CONFIG_4,
pub test_mode: TEST_MODE,
pub test_done: TEST_DONE,
pub test_fail: TEST_FAIL,
pub audio_config_0: AUDIO_CONFIG_0,
pub audio_config_1: AUDIO_CONFIG_1,
pub emac_config: EMAC_CONFIG,
pub cam_config: CAM_CONFIG,
pub gpio_config: [GPIO_CONFIG; 46],
pub gpio_input: [GPIO_INPUT; 2],
pub gpio_output: [GPIO_OUTPUT; 2],
pub gpio_set: [GPIO_SET; 2],
pub gpio_clear: [GPIO_CLEAR; 2],
/* private fields */
}Expand description
Register block
Fields§
§chip_inform: CHIP_INFORM0x00 - Chip information register
core_config_16: CORE_CONFIG_160x50 - Core configuration register 16
core_config_17: CORE_CONFIG_170x54 - Core configuration register 17
core_config_18: CORE_CONFIG_180x58 - Core configuration register 18
core_config_19: CORE_CONFIG_190x5c - Core configuration register 19
core_config_20: CORE_CONFIG_200x60 - Core configuration register 20
core_config_21: CORE_CONFIG_210x64 - Core configuration register 21
core_config_22: CORE_CONFIG_220x68 - Core configuration register 22
core_config_23: CORE_CONFIG_230x6c - Core configuration register 23
core_config_24: CORE_CONFIG_240x70 - Core configuration register 24
core_config_25: CORE_CONFIG_250x74 - Core configuration register 25
sys_config_0: SYS_CONFIG_00x90 - System configuration register 0
sys_config_1: SYS_CONFIG_10x94 - System configuration register 1
bus_config_0: BUS_CONFIG_00xa0 - Bus configuration register 0
emi_config: EMI_CONFIG0xe0 - Electromagnetic interference configuration
rtc_config: RTC_CONFIG0xf0 - Real-time clock configuration
adc_config: ADC_CONFIG0x110 - Analog-to-digital convert configuration
dac_config_0: DAC_CONFIG_00x120 - Digital-to-analog convert configuration 0
dac_config_1: DAC_CONFIG_10x124 - Digital-to-analog convert configuration 1
dac_config_2: DAC_CONFIG_20x128 - Digital-to-analog convert configuration 2
dac_config_3: DAC_CONFIG_30x12c - Digital-to-analog convert configuration 3
dma_config_0: DMA_CONFIG_00x130 - Direct memory access configuration 0
dma_config_1: DMA_CONFIG_10x134 - Direct memory access configuration 1
dma_config_2: DMA_CONFIG_20x138 - Direct memory access configuration 2
ir_config_0: IR_CONFIG_00x140 - Infrared configuration register 0
ir_config_1: IR_CONFIG_10x144 - Infrared configuration register 1
uart_config: UART_CONFIG0x150 - Universal Asynchronous Receiver/Transmitter configuration
uart_signal_0: UART_SIGNAL_00x154 - Universal Asynchronous Receiver/Transmitter signal configuration 0
uart_signal_1: UART_SIGNAL_10x158 - Universal Asynchronous Receiver/Transmitter signal configuration 1
flash_config: FLASH_CONFIG0x170 - Serial flash configuration
i2c_config: I2C_CONFIG0x180 - Inter-Integrated Circuit bus configuration
i2s_config: I2S_CONFIG0x190 - Inter-IC Sound configuration
spi_config: SPI_CONFIG0x1b0 - Serial Peripheral Interface configuration
quad_config: QUAD_CONFIG0x1c0 - Quadrature decoder configuration
digit_clock_0: DIGIT_CLOCK_00x250 - Digital clock configuration 0
digit_clock_1: DIGIT_CLOCK_10x254 - Digital clock configuration 1
digit_clock_2: DIGIT_CLOCK_20x258 - Digital clock configuration 2
radio_config: RADIO_CONFIG0x260 - Radio configuration register
debug_config_0: DEBUG_CONFIG_00x2e0 - Debug configuration register 0
debug_config_1: DEBUG_CONFIG_10x2e4 - Debug configuration register 1
debug_config_2: DEBUG_CONFIG_20x2e8 - Debug configuration register 2
debug_config_3: DEBUG_CONFIG_30x2ec - Debug configuration register 3
debug_config_4: DEBUG_CONFIG_40x2f0 - Debug configuration register 4
test_mode: TEST_MODE0x300 - Memory Built-in Self Test mode
test_done: TEST_DONE0x308 - Memory Built-in Self Test done state
test_fail: TEST_FAIL0x310 - Memory Built-in Self Test fail state
audio_config_0: AUDIO_CONFIG_00x340 - Audio configuration register 0
audio_config_1: AUDIO_CONFIG_10x344 - Audio configuration register 1
emac_config: EMAC_CONFIG0x390 - Ethernet Media Access Control register
cam_config: CAM_CONFIG0x420 - ??
gpio_config: [GPIO_CONFIG; 46]0x8c4..0x97c - Generic Purpose Input/Output config
gpio_input: [GPIO_INPUT; 2]0xac4..0xacc - Read value from Generic Purpose Input/Output pins
gpio_output: [GPIO_OUTPUT; 2]0xae4..0xaec - Write value to Generic Purpose Input/Output pins
gpio_set: [GPIO_SET; 2]0xaec..0xaf4 - Set pin output value to high
gpio_clear: [GPIO_CLEAR; 2]0xaf4..0xafc - Set pin output value to low