|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
宏定义 | |
| #define | sios_v150_regs(bus) ((sio_v150_regs_t *)g_hal_sio_regs[bus]) |
函数 | |
| void | hal_sio_v150_regs_init (sio_bus_t bus) |
| Init the sio which will set the base address of registers. | |
| void | hal_sio_v150_regs_deinit (sio_bus_t bus) |
| Deinit the hal_sio which will clear the base address of registers has been set by hal_sio_v150_regs_init. | |
| void | hal_sio_v150_ct_set_set_rx_enable (sio_bus_t bus, uint32_t val) |
| Set the value of sio_v150_ct_set_data::rx_enable. | |
| void | hal_sio_v150_ct_set_set_tx_enable (sio_bus_t bus, uint32_t val) |
| Set the value of sio_v150_ct_set_data::tx_enable. | |
变量 | |
| uintptr_t | g_hal_sio_regs [I2S_MAX_NUMBER] |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2023. All rights reserved.
Description: Provides v150 sio register operation api
History:
2023-01-15, Create file.
| #define sios_v150_regs | ( | bus | ) | ((sio_v150_regs_t *)g_hal_sio_regs[bus]) |
| void hal_sio_v150_ct_set_set_rx_enable | ( | sio_bus_t | bus, |
| uint32_t | val | ||
| ) |
Set the value of sio_v150_ct_set_data::rx_enable.
| [in] | bus | The index of sio. sio_bus_t. |
| [in] | val | The value of sio_v150_ct_set_data::rx_enable. |
| void hal_sio_v150_ct_set_set_tx_enable | ( | sio_bus_t | bus, |
| uint32_t | val | ||
| ) |
Set the value of sio_v150_ct_set_data::tx_enable.
| [in] | bus | The index of sio. sio_bus_t. |
| [in] | val | The value of sio_v150_ct_set_data::tx_enable. |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides sio register operation api
History:
2022-08-01, Create file.
| void hal_sio_v150_regs_deinit | ( | sio_bus_t | bus | ) |
Deinit the hal_sio which will clear the base address of registers has been set by hal_sio_v150_regs_init.
| void hal_sio_v150_regs_init | ( | sio_bus_t | bus | ) |
Init the sio which will set the base address of registers.
|
extern |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2023. All rights reserved.
Description: Provides hal sio
History:
2022-08-01, Create file.