Typedefs
ac_callback_type Enum
ac_sync_init
Initialize AC.
ac_sync_deinit
Deinitialize AC.
ac_sync_enable
Enable AC.
ac_sync_disable
Disable AC.
ac_sync_get_result
Read Comparison result.
ac_sync_start_comparison
Start conversion.
ac_sync_stop_comparison
Stop conversion.
ac_sync_get_version
Retrieve the current driver version.
adc_async_callback_type Enum
adc_dma_callback_type Enum
adc_os_init
Initialize ADC.
adc_os_deinit
Deinitialize ADC.
adc_os_register_channel_buffer
Register ADC channel buffer.
adc_os_enable_channel
Enable channel of ADC.
adc_os_disable_channel
Disable channel of ADC.
adc_os_read_channel
Read data asked for from the ring buffer.
adc_os_start_conversion
Start conversion.
adc_os_set_reference
Set ADC reference source.
adc_os_set_resolution
Set ADC resolution.
adc_os_set_inputs
Set ADC input source of a channel.
adc_os_set_conversion_mode
Set ADC conversion mode.
adc_os_set_channel_differential_mode
Set ADC differential mode.
adc_os_set_channel_gain
Set ADC gain.
adc_os_set_window_mode
Set ADC window mode.
adc_os_set_thresholds
Set ADC thresholds.
adc_os_get_threshold_state
Retrieve threshold state.
adc_os_wait_channel_threshhold_reach
Wait reach the ADC window threshhold.
adc_os_flush_rx_buffer
Flush ADC ringbuf.
adc_os_get_version
Retrieve the current ADC RTOS driver version.
adc_sync_init
Initialize ADC.
adc_sync_deinit
Deinitialize ADC.
adc_sync_enable_channel
Enable ADC.
adc_sync_disable_channel
Disable ADC.
adc_sync_read_channel
Read data from ADC.
adc_sync_set_reference
Set ADC reference source.
adc_sync_set_resolution
Set ADC resolution.
adc_sync_set_inputs
Set ADC input source of a channel.
adc_sync_set_conversion_mode
Set ADC conversion mode.
adc_sync_set_channel_differential_mode
Set ADC differential mode.
adc_sync_set_channel_gain
Set ADC channel gain.
adc_sync_set_window_mode
Set ADC window mode.
adc_sync_set_thresholds
Set ADC thresholds.
adc_sync_get_threshold_state
Retrieve threshold state.
adc_sync_is_channel_conversion_complete
Check if conversion is complete.
adc_sync_get_version
Retrieve the current driver version.
audio_dir Enum
audio_buffer_event Enum
can_cb_t typedef
crc_sync_init
Initialize CRC.
crc_sync_deinit
Deinitialize CRC.
crc_sync_enable
Enable CRC.
crc_sync_disable
Disable CRC.
crc_sync_crc32
Calculate CRC32 value of the buffer.
crc_sync_crc16
Calculate the CRC16 value of the buffer.
crc_sync_get_version
Retrieve the current driver version.
calendar_cb_alarm_t typedef
DEFAULT_BASE_YEAR
CAMERA_ASYNC_DRIVER_VERSION
aes_sync_init
Initialize AES Descriptor.
aes_sync_deinit
Deinitialize AES Descriptor.
aes_sync_enable
Enable AES.
aes_sync_disable
Disable AES.
aes_sync_set_encrypt_key
Set AES Key (encryption).
aes_sync_set_decrypt_key
Set AES Key (decryption).
aes_sync_ecb_crypt
AES-ECB block encryption/decryption.
aes_sync_cbc_crypt
The AES-CBC block encryption/decryption length should be a multiple of 16 bytes.
aes_sync_cfb128_crypt
AES-CFB128 block encryption/decryption.
aes_sync_cfb64_crypt
AES-CFB64 block encryption/decryption.
aes_sync_cfb32_crypt
AES-CFB32 block encryption/decryption.
aes_sync_cfb16_crypt
AES-CFB16 block encryption/decryption.
aes_sync_cfb8_crypt
AES-CFB8 block encryption/decryption.
aes_sync_ofb_crypt
AES-OFB block encryption/decryption.
aes_sync_ctr_crypt
AES-CTR block encryption/decryption.
aes_sync_gcm_crypt_and_tag
AES-GCM block encryption/decryption.
aes_sync_gcm_auth_decrypt
AES-GCM block encryption.
aes_sync_gcm_start
AES-GCM block start.
aes_sync_gcm_update
AES-GCM block update.
aes_sync_gcm_finish
AES-GCM block finish.
aes_sync_ccm_crypt_and_tag
AES-CCM block encryption/decryption.
aes_sync_ccm_auth_decrypt
AES-CCM block authenticated decryption.
aes_sync_get_version
Retrieve the current driver version.
dac_async_callback_type Enum
dac_os_init
Initialize the DAC HAL instance and hardware.
dac_os_deinit
Deinitialize the DAC HAL instance and hardware.
dac_os_enable_channel
Enable DAC channel.
dac_os_disable_channel
Disable DAC channel.
dac_os_write
The DAC convert digital data to analog output.
dac_os_get_version
Get DAC driver version.
dac_sync_init
Initialize the DAC HAL instance and hardware.
dac_sync_deinit
Deinitialize the DAC HAL instance and hardware.
dac_sync_enable_channel
Enable DAC channel.
dac_sync_disable_channel
Disable DAC channel.
dac_sync_write
DAC converts digital data to analog output.
dac_sync_get_version
Get DAC driver version.
mac_async_cb_t typedef
mac_cb typedef
ext_irq_init
Initialize external IRQ component, if any.
ext_irq_deinit
Deinitialize external IRQ, if any.
ext_irq_register
Register callback for the given external interrupt.
ext_irq_enable
Enable external IRQ.
ext_irq_disable
Disable external IRQ.
ext_irq_get_version
Retrieve the current driver version.
flash_cb_type Enum
freqmeter_async_callback_type Enum
freqmeter_sync_init
Initialize the frequency meter.
freqmeter_sync_deinit
Deinitialize the frequency meter.
freqmeter_sync_enable
Enable the frequency meter.
freqmeter_sync_disable
Disable the frequency meter.
freqmeter_sync_set_measurement_period
Set period of measurement.
freqmeter_sync_set_measurement_parameter
Set the parameter to measure.
freqmeter_sync_read
Read values from the frequency meter.
freqmeter_sync_get_version
Retrieve the current driver version.
lcd_init
Initialize LCD.
lcd_deinit
De-initialize LCD.
lcd_enable
Enable LCD.
lcd_disable
Disable LCD.
lcd_set_lut_entry
Setup color lookup table entry.
lcd_set_alpha
Set the required layer alpha value.
lcd_set_position
Set the required layer position.
lcd_set_size
Set the required layer size.
lcd_set_visible
Set the required layer visible or invisible.
lcd_show
Set framebuffer for the required layer.
lcd_show_streams
Set YUV framebuffer for the required layer.
lcd_get_version
Retrieve the current driver version.
gpu_async_init
Initialize GPU.
gpu_async_deinit
De-initialize GPU.
gpu_async_enable
Enable GPU.
gpu_async_disable
Disable GPU.
gpu_async_fill
FILL a frame-buffer with color.
gpu_async_copy
COPY from a frame-buffer to another.
gpu_async_blend
Blend foreground and background to a destination frame-buffer.
gpu_async_register_callback
Register GPU callback.
gpu_async_get_version
Retrieve the current driver version.
sha_sync_init
Initialize the SHA Descriptor.
sha_sync_deinit
Deinitialize SHA Descriptor.
sha_sync_enable
Enable SHA.
sha_sync_disable
Disable SHA.
sha_sync_sha1_start
SHA-1 start.
sha_sync_sha256_start
SHA-256/224 start.
sha_sync_sha1_update
SHA-1 input update.
sha_sync_sha256_update
SHA-256/224 input update.
sha_sync_sha1_finish
SHA-1 finish.
sha_sync_sha256_finish
SHA-256/224 finish.
sha_sync_sha1_compute
SHA-1 compute digest.
sha_sync_sha256_compute
SHA-256/224 compute digest.
sha_sync_get_version
Retrieve the current driver version.
hal_atomic_t typedef
io_write_t typedef
io_read_t typedef
I2C_M_MAX_RETRY
i2c_m_os_init
Initialize I2C master interface.
i2c_m_os_deinit
Deinitialize I2C master interface.
i2c_m_os_set_slaveaddr
Set the slave device address.
i2c_m_os_set_baudrate
Set baudrate.
i2c_m_os_enable
Enable hardware.
i2c_m_os_disable
Disable hardware.
i2c_m_os_transfer
Async version of transfer message to/from I2C slave.
i2c_m_os_send_stop
Generate stop condition on the I2C bus.
i2c_m_os_get_io
Return I/O descriptor for this I2C instance.
i2c_m_get_version
Retrieve the current driver version.
I2C_M_MAX_RETRY
i2c_s_async_callback_type Enum
i2c_s_sync_init
Initialize synchronous I2C slave interface.
i2c_s_sync_deinit
Deinitialize synchronous I2C slave interface.
i2c_s_sync_set_addr
Set the device address.
i2c_s_sync_enable
Enable I2C slave communication.
i2c_s_sync_disable
Disable I2C slave communication.
i2c_s_sync_get_io_descriptor
Retrieve I/O descriptor.
i2c_s_sync_get_status
Retrieve the current interface status.
i2c_s_sync_get_version
Retrieve the current driver version.
i2s_c_iface Enum
mci_os_init
Initialize MCI low level driver.
mci_os_deinit
Deinitialize MCI low level driver.
mci_os_select_device
Select a device and initialize it.
mci_os_deselect_device
Deselect a device by an assigned slot.
mci_os_get_bus_width
Get the maximum bus width of a device by a selected slot.
mci_os_is_high_speed_capable
Get the high speed capability of the device.
mci_os_send_init_sequence
Send 74 clock cycles on the line.
mci_os_send_cmd
Send a command on the selected slot.
mci_os_get_response
Get 32 bits response of the last command.
mci_os_get_response_128
Get 128 bits response of the last command.
mci_os_adtc_start
Send an ADTC command on the selected slot An ADTC (Addressed Data Transfer Commands) command is used for read/write access..
mci_os_adtc_stop
Send a command to stop an ADTC command on the selected slot.
mci_os_read_bytes
Read a word on the line.
mci_os_write_bytes
Write a word on the line.
mci_os_start_read_blocks
Start a read blocks transfer on the line Note: The driver will use the DMA available to speed up the transfer.
mci_os_start_write_blocks
Start a write blocks transfer on the line Note: The driver will use the DMA available to speed up the transfer.
mci_os_wait_end_of_read_blocks
Wait the end of transfer initiated by mci_start_read_blocks()
mci_os_wait_end_of_write_blocks
Wait the end of transfer initiated by mci_start_write_blocks()
mci_os_get_version
Retrieve the current driver version.
mci_sync_init
Initialize MCI low level driver.
mci_sync_deinit
Deinitialize MCI low level driver.
mci_sync_select_device
Select a device and initialize it.
mci_sync_deselect_device
Deselect a device by an assigned slot.
mci_sync_get_bus_width
Get the maximum bus width of a device by a selected slot.
mci_sync_is_high_speed_capable
Get the high-speed capability of the device.
mci_sync_send_clock
Send 74 clock cycles on the line. Note: It is required after card plug and before card install.
mci_sync_send_cmd
Send a command on the selected slot.
mci_sync_get_response
Get 32-bits response of the last command.
mci_sync_get_response_128
Get 128-bits response of the last command.
mci_sync_adtc_start
Send an ADTC command on the selected slot. An ADTC (Addressed Data Transfer Commands) command is used for read/write access.
mci_sync_adtc_stop
Send a command to stop an ADTC command on the selected slot.
mci_sync_read_word
Read a word on the line.
mci_sync_write_word
Write a word on the line.
mci_sync_start_read_blocks
Start a read blocks transfer on the line.
mci_sync_start_write_blocks
Start a write blocks transfer on the line.
mci_sync_wait_end_of_read_blocks
Wait for the end of transfer to be initiated by the mci_start_read_blocks()
mci_sync_wait_end_of_write_blocks
Wait for the end of transfer to be initiated by the mci_start_write_blocks()
mci_sync_get_version
Retrieve the current driver version.
pwm_callback_type Enum
pdec_async_position_cb_t typedef
pdec_async_irq_cb_t typedef
qspi_dma_init
Initialize QSPI low level driver.
qspi_dma_deinit
Deinitialize QSPI low level driver.
qspi_dma_enable
Enable QSPI for access without interrupts.
qspi_dma_disable
Disable QSPI for access without interrupts.
qspi_dma_serial_run_command
Execute command in Serial Memory Mode.
qspi_dma_register_callback
Register a function as QSPI transfer completion callback.
qspi_dma_get_version
Retrieve the current driver version.
qspi_sync_init
Initialize QSPI low level driver.
qspi_sync_deinit
Deinitialize QSPI low level driver.
qspi_sync_enable
Enable QSPI for access without interrupts.
qspi_sync_disable
Disable QSPI for access without interrupts.
qspi_sync_serial_run_command
Execute command in Serial Memory Mode.
qspi_sync_get_version
Retrieve the current driver version.
rand_sync_init
Initialize the Random Number Generator Driver.
rand_sync_deinit
Deinitialize the Random Number Generator Driver.
rand_sync_enable
Enable the Random Number Generator Driver.
rand_sync_disable
Disable the Random Number Generator Driver.
rand_sync_set_seed
Set seed for the Random Number Generator Driver.
rand_sync_read8
Read the 8-bit Random Number.
rand_sync_read32
Read the 32-bit Random Number.
rand_sync_read_buf8
Read the 8-bit Random Number Sequence into a buffer.
rand_sync_read_buf32
Read the 32-bit Random Number Sequence into a buffer.
rand_sync_get_version
Retrieve the current driver version.
SPI_M_ASYNC_STATUS_BUSY
SPI_M_ASYNC_STATUS_TX_DONE
SPI_M_ASYNC_STATUS_RX_DONE
SPI_M_ASYNC_STATUS_COMPLETE
SPI_M_ASYNC_STATUS_ERR_MASK
SPI_M_ASYNC_STATUS_ERR_POS
SPI_M_ASYNC_STATUS_ERR_OVRF
SPI_M_ASYNC_STATUS_ERR_ABORT
SPI_M_ASYNC_STATUS_ERR_EXTRACT
spi_m_dma_cb_type Enum
spi_m_os_init
Initialize the SPI HAL instance and hardware for RTOS mode.
spi_m_os_deinit
Deinitialize the SPI HAL instance.
spi_m_os_enable
Enable SPI.
spi_m_os_disable
Disable the SPI and abort any pending transfer in progress.
spi_m_os_set_baudrate
Set SPI baudrate.
spi_m_os_set_mode
Set SPI mode.
spi_m_os_set_char_size
Set SPI transfer character size in number of bits.
spi_m_os_set_data_order
Set SPI transfer data order.
spi_m_os_transfer
Perform the SPI data transfer (TX and RX) using RTOS.
spi_m_os_get_io_descriptor
Return the I/O descriptor for this SPI instance.
spi_m_os_get_version
Retrieve the current driver version.
spi_m_sync_init
Initialize SPI HAL instance and hardware for polling mode.
spi_m_sync_deinit
Deinitialize the SPI HAL instance and hardware.
spi_m_sync_enable
Enable SPI.
spi_m_sync_disable
Disable SPI.
spi_m_sync_set_baudrate
Set SPI baudrate.
spi_m_sync_set_mode
Set SPI mode.
spi_m_sync_set_char_size
Set SPI transfer character size in number of bits.
spi_m_sync_set_data_order
Set SPI transfer data order.
spi_m_sync_transfer
Perform the SPI data transfer (TX and RX) in polling way.
spi_m_sync_get_io_descriptor
Return the I/O descriptor for this SPI instance.
spi_m_sync_get_version
Retrieve the current driver version.
spi_s_async_cb_type Enum
spi_s_sync_init
Initialize the SPI Slave HAL instance and hardware.
spi_s_sync_deinit
Deinitialize the SPI HAL instance.
spi_s_sync_enable
Enable SPI.
spi_s_sync_disable
Disable SPI.
spi_s_sync_set_mode
Set SPI mode.
spi_s_sync_set_char_size
Set SPI transfer character size in number of bits.
spi_s_sync_set_data_order
Set SPI transfer data order.
spi_s_sync_break_on_ss_detect
Enable/disable break on SS desert detection.
spi_s_sync_transfer
Write/read at the same time.
spi_s_sync_get_io_descriptor
Return I/O descriptor for this SPI instance.
spi_s_sync_get_version
Retrieve the current driver version.
slcd_sync_init
Initialize SLCD Descriptor.
slcd_sync_deinit
Deinitialize SLCD Descriptor.
slcd_sync_enable
Enable SLCD driver.
slcd_sync_disable
Disable SLCD driver.
slcd_sync_seg_on
Turn on a Segment.
slcd_sync_seg_off
Turn off a Segment.
slcd_sync_seg_blink
Blink a Segment.
slcd_sync_write_char
Displays a character.
slcd_sync_write_string
Displays character string string.
slcd_sync_start_animation
Start animation play by a segment array.
slcd_sync_stop_animation
Stop animation play by a segment array.
slcd_sync_set_animation_period
Set animation Frequency.
temp_async_callback_type Enum
temp_sync_init
Initialize Temperature Sensor Descriptor.
temp_sync_deinit
Deinitialize Temperature Sensor Descriptor.
temp_sync_enable
Enable Temperature Sensor.
temp_sync_disable
Disable Temperature Sensor.
temp_sync_read
Read Temperature Value.
temp_sync_get_version
Retrieve the current driver version.
timer_task_mode Enum
USART_ASYNC_STATUS_BUSY
usart_dma_init
Initialize USART interface.
usart_dma_deinit
Deinitialize USART interface.
usart_dma_enable
Enable USART interface.
usart_dma_disable
Disable USART interface.
usart_dma_get_io_descriptor
Retrieve I/O descriptor.
usart_dma_register_callback
Register USART callback.
usart_dma_set_baud_rate
Set USART baud rate.
usart_dma_set_data_order
Set USART data order.
usart_dma_set_mode
Set USART mode.
usart_dma_set_parity
Set USART parity.
usart_dma_set_stopbits
Set USART stop bits.
usart_dma_set_character_size
Set USART character size.
_usart_dma_set_flow_control_state
Set the state of flow control pins.
usart_dma_get_version
Retrieve the current driver version.
usart_os_init
Initialize USART interface.
usart_os_deinit
Deinitialize USART interface.
usart_os_enable
Enable USART interface.
usart_os_disable
Disable USART interface.
usart_os_get_io
Retrieve I/O descriptor.
usart_os_set_flow_control
Specify action for flow control pins.
usart_os_set_baud_rate
Set USART baud rate.
usart_os_set_data_order
Set USART data order.
usart_os_set_mode
Set USART mode.
usart_os_set_parity
Set USART parity.
usart_os_set_stopbits
Set USART stop bits.
usart_os_set_character_size
Set USART character size.
usart_os_flow_control_status
Retrieve the state of flow control pins.
usart_os_flush_rx_buffer
flush USART ringbuf
usart_os_get_version
Retrieve the current driver version.
usart_sync_init
Initialize USART interface.
usart_sync_deinit
Deinitialize USART interface.
usart_sync_enable
Enable USART interface.
usart_sync_disable
Disable USART interface.
usart_sync_get_io_descriptor
Retrieve I/O descriptor.
usart_sync_set_flow_control
Specify action for flow control pins.
usart_sync_set_baud_rate
Set USART baud rate.
usart_sync_set_data_order
Set USART data order.
usart_sync_set_mode
Set USART mode.
usart_sync_set_parity
Set USART parity.
usart_sync_set_stopbits
Set USART stop bits.
usart_sync_set_character_size
Set USART character size.
usart_sync_flow_control_status
Retrieve the state of flow control pins.
usart_sync_is_tx_empty
Check if the USART transmitter is empty.
usart_sync_is_rx_not_empty
Check if the USART receiver is not empty.
usart_sync_get_version
Retrieve the current driver version.
usb_d_sof_cb_t typedef
usb_d_event_cb_t typedef
usb_d_ep_cb_setup_t typedef
usb_d_ep_cb_more_t typedef
usb_d_ep_cb_xfer_t typedef
list_reset
Reset list.
list_get_head
Retrieve list head.
list_get_next_element
Retrieve next list head.
list_insert_as_head
Insert an element as list head.
list_insert_after
Insert an element after the given list element.
list_insert_at_end
Insert an element at list end.
is_list_element
Check whether an element belongs to a list.
list_remove_head
Removes list head.
list_delete_element
Removes the list element.
ringbuffer_init
Ring buffer init.
ringbuffer_get
Get one byte from ring buffer, the user needs to handle the concurrent access on buffer via put/get/flush.
ringbuffer_put
Put one byte to ring buffer, the user needs to handle the concurrent access on buffer via put/get/flush.
ringbuffer_num
Return the element number of ring buffer.
ringbuffer_flush
Flush ring buffer, the user needs to handle the concurrent access on buffer via put/get/flush.
FUNC_PTR typedef
wdt_init
Initialize the WDT HAL instance and hardware.
wdt_deinit
Deinitialize the WDT HAL instance and hardware.
wdt_set_timeout_period
Config the timeout period for WDT HAL instance and hardware.
wdt_get_timeout_period
Get the timeout period for WDT HAL instance and hardware.
wdt_enable
Enbale watchdog timer.
wdt_disable
Disable watchdog timer.
wdt_feed
Feed watchdog timer to make WDT kick from start.
wdt_get_version
Retrieve the current driver version.
Parent topic:
AC Asynchronous Driver
Parent topic:
AC Synchronous Driver
Parent topic:
ADC Asynchronous Driver
Parent topic:
ADC DMA Driver
Parent topic:
ADC RTOS Driver
Parent topic:
ADC Synchronous Driver
Parent topic:
Audio DMA Driver
Parent topic:
CAN Asynchronous Driver
Parent topic:
CRC Synchronous Driver
Parent topic:
Calendar Bare-bone Driver
Parent topic:
Calendar RTOS Driver
Parent topic:
Camera Asynchronous Driver
Parent topic:
AES Synchronous Driver
Parent topic:
DAC Asynchronous Driver
Parent topic:
DAC RTOS Driver
Parent topic:
DAC Synchronous Driver
Parent topic:
Ethernet Asynchronous Driver
Parent topic:
External IRQ Driver
Parent topic:
Flash Driver
Parent topic:
Frequency Meter Asynchronous Driver
Parent topic:
Frequency Meter Synchronous Driver
Parent topic:
Graphic LCD Driver
Parent topic:
Graphics Processing Unit Driver(2D)
Parent topic:
SHA Synchronous Driver
Parent topic:
Atomic Driver
Parent topic:
I/O Driver
Parent topic:
I2C Master Asynchronous Driver
Parent topic:
I2C Master RTOS Driver
Parent topic:
I2C Master Synchronous Driver
Parent topic:
I2C Slave Asynchronous Driver
Parent topic:
I2C Slave Synchronous Driver
Parent topic:
I2S Controller Synchronous Driver
Parent topic:
MCI RTOS Driver
Parent topic:
MCI Synchronous Driver
Parent topic:
PWM Asynchronous Driver
Parent topic:
PDEC Asynchronous Driver
Parent topic:
Quad SPI DMA Driver
Parent topic:
Quad SPI Synchronous Driver
Parent topic:
RAND Synchronous Driver
Parent topic:
SPI Master Asynchronous Driver
Parent topic:
SPI Master DMA Driver
Parent topic:
SPI Master RTOS Driver
Parent topic:
SPI Master Synchronous Driver
Parent topic:
SPI Slave Asynchronous Driver
Parent topic:
SPI Slave Synchronous Driver
Parent topic:
Segment LCD Synchronous Driver
Parent topic:
Temperature Sensor Asynchronous Driver
Parent topic:
Temperature Sensor Synchronous Driver
Parent topic:
Timer Driver
Parent topic:
USART Asynchronous Driver
Parent topic:
USART DMA Driver
Parent topic:
USART RTOS Driver
Parent topic:
USART Synchronous Driver
Parent topic:
USB Device Driver
Parent topic:
List
Parent topic:
Ring Buffer
Parent topic:
Utility Macros
Parent topic:
WDT Driver