Summary¶
目录
- 系统概述
- AUDIO_IN
- DMA
- GPIO
- I2S
- IR
- KEYSCAN
- MMU
- PMU
- RTC
- SPI
- UART
- USB
- WATCHDOG
- GA_LITE
- ISMBB驱动设计
- 1 工程介绍
- 2 运行流程
- 3 API和宏
- 附录1: API 文档
- AE
- 数据结构
- 函数列表
- gx_hal_ae_disable_interrupt
- gx_hal_ae_enable_interrupt
- gx_hal_ae_exit
- gx_hal_ae_get_busy
- gx_hal_ae_get_hw_info
- gx_hal_ae_get_operator
- gx_hal_ae_get_result_buffer
- gx_hal_ae_get_result_shift
- gx_hal_ae_get_state
- gx_hal_ae_init
- gx_hal_ae_irq_handler
- gx_hal_ae_run_task_async
- gx_hal_ae_run_task_sync
- gx_hal_ae_set_cb
- gx_hal_ae_set_cmd
- AUDIO_IN
- 数据结构
- 宏定义
- 类型定义
- 枚举
- 结构体
- 宏定义
- 函数列表
- 数据结构
- AUDIO_OUT
- 数据结构
- 宏定义
- 类型定义
- 枚举
- 结构体
- 函数列表
- gx_hal_aout_drc_enable
- gx_hal_aout_drc_set_param
- gx_hal_aout_eq_enable
- gx_hal_aout_eq_get_param
- gx_hal_aout_eq_set_param
- gx_hal_aout_exit
- gx_hal_aout_get_hw_info
- gx_hal_aout_init
- gx_hal_aout_interrupt_clr_status
- gx_hal_aout_interrupt_disable
- gx_hal_aout_interrupt_enable
- gx_hal_aout_interrupt_get_status
- gx_hal_aout_irqhandler
- gx_hal_aout_route_enable
- gx_hal_aout_route_get_fade
- gx_hal_aout_route_get_frame_loop
- gx_hal_aout_route_get_mute
- gx_hal_aout_route_get_raddr
- gx_hal_aout_route_get_volume_level
- gx_hal_aout_route_output_fixed_value
- gx_hal_aout_route_push_frame
- gx_hal_aout_route_request_stop
- gx_hal_aout_route_set_channel_mode
- gx_hal_aout_route_set_clk_gate
- gx_hal_aout_route_set_fade
- gx_hal_aout_route_set_fade_in_speed
- gx_hal_aout_route_set_fade_out_speed
- gx_hal_aout_route_set_frame_loop
- gx_hal_aout_route_set_mute
- gx_hal_aout_route_set_pcm
- gx_hal_aout_route_set_volume_level
- gx_hal_aout_route_test_mode
- gx_hal_aout_set_cb
- gx_hal_aout_set_out_source
- 数据结构
- L2-CACHE
- 数据结构
- 函数列表
- gx_hal_l2c_310_clean_all_by_way
- gx_hal_l2c_310_clean_inv_all_by_way
- gx_hal_l2c_310_clean_inv_pa
- gx_hal_l2c_310_clean_pa
- gx_hal_l2c_310_disable
- gx_hal_l2c_310_enable
- gx_hal_l2c_310_get_id
- gx_hal_l2c_310_get_read_hit_time
- gx_hal_l2c_310_get_status
- gx_hal_l2c_310_get_type
- gx_hal_l2c_310_get_write_hit_time
- gx_hal_l2c_310_inv_all_by_way
- gx_hal_l2c_310_inv_pa
- gx_hal_l2c_310_profile_disable
- gx_hal_l2c_310_profile_enable
- gx_hal_l2c_310_profile_reset
- gx_hal_l2c_310_sync
- gx_hal_flash_cache_disable
- gx_hal_flash_cache_disable_profile
- gx_hal_flash_cache_enable
- gx_hal_flash_cache_enable_profile
- gx_hal_flash_cache_get_access_time
- gx_hal_flash_cache_get_miss_time
- gx_hal_flash_cache_get_status
- gx_hal_flash_cache_init
- gx_hal_flash_cache_reset_profile
- CLOCK
- 数据结构
- 函数列表
- gx_hal_clk_aud_sys_get_dto
- gx_hal_clk_aud_sys_set_dto_out
- gx_hal_clk_aud_sys_set_dto_out_gate
- gx_hal_clk_aud_sys_set_i2s_mclk
- gx_hal_clk_aud_sys_set_i2s_mclk_gate
- gx_hal_clk_aud_sys_set_pll
- gx_hal_clk_aud_sys_set_sub_dto
- gx_hal_clk_init
- gx_hal_clk_mod_get_div
- gx_hal_clk_mod_get_dto
- gx_hal_clk_mod_get_freq
- gx_hal_clk_mod_get_gate
- gx_hal_clk_mod_get_src
- gx_hal_clk_mod_set_div
- gx_hal_clk_mod_set_dto
- gx_hal_clk_mod_set_gate
- gx_hal_clk_mod_set_src
- gx_hal_clk_src_get_32m
- gx_hal_clk_src_get_pll_freq
- gx_hal_clk_src_get_pll_is_locked
- gx_hal_clk_src_set_32m
- gx_hal_clk_src_set_pclk_div
- gx_hal_clk_src_set_pll
- DMA
- 数据结构
- 函数列表
- gx_hal_dw_dma_ahb_alloc_channel
- gx_hal_dw_dma_ahb_calc_list_size
- gx_hal_dw_dma_ahb_complete_callback
- gx_hal_dw_dma_ahb_init
- gx_hal_dw_dma_ahb_irq_handler
- gx_hal_dw_dma_ahb_is_complete
- gx_hal_dw_dma_ahb_release_channel
- gx_hal_dw_dma_ahb_start
- gx_hal_dw_dma_ahb_stop
- gx_hal_dw_dma_ahb_wait_complete
- gx_hal_dw_dma_ahb_xfer_config
- gx_hal_dw_dma_ahb_xfer_int_config
- FLASH_SPI
- 数据结构
- 函数列表
- gx_hal_sf_erase_block
- gx_hal_sf_erase_sector
- gx_hal_sf_get_info
- gx_hal_sf_init
- gx_hal_sf_is_bus_busy
- gx_hal_sf_is_ready
- gx_hal_sf_is_tx_done
- gx_hal_sf_read_prepare
- gx_hal_sf_reset_spi
- gx_hal_sf_set_dma
- gx_hal_sf_spi_read
- gx_hal_sf_spi_write_page
- gx_hal_sf_write_enable
- gx_hal_sf_write_prepare
- gx_hal_sf_xip_init
- GPIO
- I2C
- 数据结构
- 宏定义
- GX_HAL_I2C_ERROR_10B_ADDR1_NOACK
- GX_HAL_I2C_ERROR_10B_ADDR2_NOACK
- GX_HAL_I2C_ERROR_7B_ADDR_NOACK
- GX_HAL_I2C_ERROR_GCALL_NOACK
- GX_HAL_I2C_ERROR_LOST
- GX_HAL_I2C_ERROR_NONE
- GX_HAL_I2C_ERROR_SBYTE_ACKDET
- GX_HAL_I2C_ERROR_SLVFLUSH_TXFIFO
- GX_HAL_I2C_ERROR_TXDATA_NOACK
- GX_HAL_I2C_FLAG_ADDR_10BIT
- GX_HAL_I2C_FLAG_GENERAL_CALL
- GX_HAL_I2C_FLAG_NO_NEED_INIT
- GX_HAL_I2C_FLAG_NO_STOP
- GX_HAL_I2C_FLAG_NONE
- GX_HAL_I2C_FLAG_RESTART
- GX_HAL_I2C_FLAG_START_BYTE
- 类型定义
- 枚举
- 结构体
- 宏定义
- 函数列表
- gx_hal_i2c_deinit
- gx_hal_i2c_init
- gx_hal_i2c_irq_handler
- gx_hal_i2c_master_receive
- gx_hal_i2c_master_receive_dma_finish
- gx_hal_i2c_master_receive_dma_start
- gx_hal_i2c_master_receive_it
- gx_hal_i2c_master_transmit
- gx_hal_i2c_master_transmit_dma_finish
- gx_hal_i2c_master_transmit_dma_start
- gx_hal_i2c_master_transmit_it
- gx_hal_i2c_slave_deinit
- gx_hal_i2c_slave_enable_listen_it
- gx_hal_i2c_slave_init
- gx_hal_i2c_slave_receive
- gx_hal_i2c_slave_receive_dma_finish
- gx_hal_i2c_slave_receive_dma_start
- gx_hal_i2c_slave_receive_it
- gx_hal_i2c_slave_transmit
- gx_hal_i2c_slave_transmit_dma_finish
- gx_hal_i2c_slave_transmit_dma_start
- gx_hal_i2c_slave_transmit_it
- 数据结构
- I2S
- 数据结构
- 宏定义
- 类型定义
- 枚举
- 结构体
- 宏定义
- 函数列表
- 数据结构
- IR
- 数据结构
- 函数列表
- gx_hal_ir_get_udrx_fifo_count
- gx_hal_ir_get_udrx_fifo_data
- gx_hal_ir_get_udtx_fifo_count
- gx_hal_ir_init
- gx_hal_ir_int_handler
- gx_hal_ir_is_udrx_done
- gx_hal_ir_recv_cfg
- gx_hal_ir_recv_data_std
- gx_hal_ir_recv_data_ud
- gx_hal_ir_recv_std_it_start
- gx_hal_ir_recv_std_stop
- gx_hal_ir_recv_ud_it_start
- gx_hal_ir_recv_ud_stop
- gx_hal_ir_send_data_std
- gx_hal_ir_send_data_std_it_start
- gx_hal_ir_send_data_std_it_stop
- gx_hal_ir_send_data_ud
- gx_hal_ir_send_ud_it_start
- gx_hal_ir_send_ud_stop
- gx_hal_ir_std_repeat_ctrl
- gx_hal_ir_ud_rx_flush
- gx_hal_ir_ud_tx_flush
- gx_hal_ir_udtx_fifo_put
- gx_hal_ir_udtx_write_endflag
- KEYSCAN
- 数据结构
- 函数列表
- gx_hal_keyscan_clear_fifo
- gx_hal_keyscan_disable
- gx_hal_keyscan_enable
- gx_hal_keyscan_get_fifo_data_num
- gx_hal_keyscan_init
- gx_hal_keyscan_interrupt_disable
- gx_hal_keyscan_interrupt_enable
- gx_hal_keyscan_irq_handler
- gx_hal_keyscan_pin_disable
- gx_hal_keyscan_pin_enable
- gx_hal_keyscan_read_fifo_data
- gx_hal_keyscan_readreg
- gx_hal_keyscan_set_deb_time
- gx_hal_keyscan_set_empty_frm_flag
- gx_hal_keyscan_set_fifo_th_timeout
- gx_hal_keyscan_set_fifo_threshold
- gx_hal_keyscan_set_scan_mode
- gx_hal_keyscan_set_stuck_flag
- gx_hal_keyscan_set_timeout
- gx_hal_keyscan_set_wait_time
- LODAC
- MMU
- PADMUX
- PMU
- 数据结构
- 宏定义
- 类型定义
- 枚举
- 结构体
- GX_HAL_PMU
- GX_HAL_PMU_5V_LDO_CFG
- GX_HAL_PMU_BIASGEN_CFG
- GX_HAL_PMU_BLE_CFG
- GX_HAL_PMU_CLOCK_CFG
- GX_HAL_PMU_DIG_LDO_CFG
- GX_HAL_PMU_FASTBOOT_CFG
- GX_HAL_PMU_FLASH_LDO_CFG
- GX_HAL_PMU_KEYSCAN_CFG
- GX_HAL_PMU_LDO_CFG
- GX_HAL_PMU_LP_LDO_CFG
- GX_HAL_PMU_LPC_CFG
- GX_HAL_PMU_RC32M_CFG
- GX_HAL_PMU_RC65K_CFG
- GX_HAL_PMU_RESET_STATUS
- GX_HAL_PMU_SRAM_CFG
- GX_HAL_PMU_WAKEUP_POLAR_CFG
- GX_HAL_PMU_WAKEUP_SRC_CFG
- GX_HAL_PMU_WAKEUP_STATUS_CFG
- GX_HAL_PMU_XO32K_CFG
- 宏定义
- 函数列表
- 数据结构
- PSRAM
- RTC
- SDIO
- 数据结构
- 函数列表
- gx_hal_get_sd_block_size
- gx_hal_get_sd_bus_clock
- gx_hal_get_sd_card_struct_size
- gx_hal_get_sd_source_clock
- gx_hal_is_sd_host_busy
- gx_hal_sd_detect_insert_status
- gx_hal_sd_enable_card_power
- gx_hal_sd_host_init
- gx_hal_sd_init
- gx_hal_sd_read_blocks
- gx_hal_sd_set_buswidth
- gx_hal_sd_set_clock
- gx_hal_sd_set_detect_type
- gx_hal_sd_transfer
- gx_hal_sd_write_blocks
- gx_hal_sdif_irq_handler
- SDM
- 数据结构
- 函数列表
- gx_hal_sdm_clr_fifo_err
- gx_hal_sdm_exit
- gx_hal_sdm_get_fifo_err
- gx_hal_sdm_get_hw_info
- gx_hal_sdm_in_enable
- gx_hal_sdm_in_inv_enable
- gx_hal_sdm_init
- gx_hal_sdm_lower_range
- gx_hal_sdm_out_enable
- gx_hal_sdm_out_inv_enable
- gx_hal_sdm_rand_dither_enable
- gx_hal_sdm_rand_dither_range
- gx_hal_sdm_resume
- gx_hal_sdm_set_cic_filter
- gx_hal_sdm_set_filter_mode
- gx_hal_sdm_set_input_sample_rate
- gx_hal_sdm_set_modulator_mode
- gx_hal_sdm_set_out_4bit_format
- gx_hal_sdm_set_out_mode
- gx_hal_sdm_set_source
- gx_hal_sdm_set_threshold
- gx_hal_sdm_set_volume_enable
- gx_hal_sdm_set_volume_level
- gx_hal_sdm_stop
- gx_hal_sdm_test_enable
- gx_hal_sdm_upper_range
- SPI
- 数据结构
- 宏定义
- gx_hal_qspi_transfer
- GX_HAL_SPI_DISABLE
- GX_HAL_SPI_DMA_DISABLE
- GX_HAL_SPI_DMA_RX_EN
- GX_HAL_SPI_DMA_TX_EN
- GX_HAL_SPI_DUAL
- GX_HAL_SPI_ENABLE
- GX_HAL_SPI_OCTAL
- GX_HAL_SPI_QUAD
- GX_HAL_SPI_RXDR
- GX_HAL_SPI_RXDR_BE
- GX_HAL_SPI_STAND
- GX_HAL_SPI_TRANS_EEPROM_RX
- GX_HAL_SPI_TRANS_RX_ONLY
- GX_HAL_SPI_TRANS_TX_AND_RX
- GX_HAL_SPI_TRANS_TX_ONLY
- GX_HAL_SPI_TXDR
- GX_HAL_SPI_TXDR_BE
- 类型定义
- 枚举
- 结构体
- 宏定义
- 函数列表
- gx_hal_qspi_transfer_prepare
- gx_hal_spi_cs_control
- gx_hal_spi_cs_init
- gx_hal_spi_disable
- gx_hal_spi_enable
- gx_hal_spi_flush_rx
- gx_hal_spi_get_enable
- gx_hal_spi_hw_init
- gx_hal_spi_irq_handler
- gx_hal_spi_is_busy
- gx_hal_spi_reset
- gx_hal_spi_rf_is_empty
- gx_hal_spi_set_clk
- gx_hal_spi_set_dma
- gx_hal_spi_set_tx_fifo_threshold
- gx_hal_spi_tf_is_empty
- gx_hal_spi_transfer
- gx_hal_spi_transfer_prepare
- 数据结构
- TIMER
- UART
- 数据结构
- 函数列表
- gx_hal_uart_can_read
- gx_hal_uart_deinit
- gx_hal_uart_disable_interrupt
- gx_hal_uart_dma_prepare
- gx_hal_uart_empty_fifo
- gx_hal_uart_enable_interrupt
- gx_hal_uart_flush_recv_fifo
- gx_hal_uart_flush_send_fifo
- gx_hal_uart_get_fifo_depth
- gx_hal_uart_get_ip_version
- gx_hal_uart_getc
- gx_hal_uart_init
- gx_hal_uart_irq_handler
- gx_hal_uart_putc
- gx_hal_uart_read
- gx_hal_uart_read_dma
- gx_hal_uart_read_it
- gx_hal_uart_set_recv_fifo_threshold
- gx_hal_uart_set_send_fifo_threshold
- gx_hal_uart_try_getc
- gx_hal_uart_write
- gx_hal_uart_write_dma
- gx_hal_write_it
- USB
- 数据结构
- 函数列表
- gx_hal_usbd_config
- gx_hal_usbd_done
- gx_hal_usbd_ep_close
- gx_hal_usbd_ep_clrstall
- gx_hal_usbd_ep_open
- gx_hal_usbd_ep_receive
- gx_hal_usbd_ep_setstall
- gx_hal_usbd_ep_transmit
- gx_hal_usbd_init
- gx_hal_usbd_irqhandler
- gx_hal_usbd_register_delay_function
- gx_hal_usbd_register_dma_address_convert_function
- gx_hal_usbd_setaddress
- gx_hal_usbd_setrxfifo
- gx_hal_usbd_settxfifo
- gx_hal_usbd_start
- WATCHDOG
- GA_LITE
- 数据结构
- 函数列表
- gx_hal_ga_lite_activate
- gx_hal_ga_lite_begin
- gx_hal_ga_lite_blend
- gx_hal_ga_lite_blit
- gx_hal_ga_lite_copy
- gx_hal_ga_lite_deinit
- gx_hal_ga_lite_disable_interrupt
- gx_hal_ga_lite_enable_interrupt
- gx_hal_ga_lite_end
- gx_hal_ga_lite_fill
- gx_hal_ga_lite_fill_and_blend
- gx_hal_ga_lite_get_version
- gx_hal_ga_lite_init
- gx_hal_ga_lite_irq_handler
- gx_hal_ga_lite_pause
- gx_hal_ga_lite_set_cb
- gx_hal_ga_lite_stop
- gx_hal_ga_lite_wait_done
- 数据结构
- 其他
- AE