WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
SIO V150 Regs Operation

宏定义

#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.

宏定义说明

◆ sios_v150_regs

#define sios_v150_regs (   bus)    ((sio_v150_regs_t *)g_hal_sio_regs[bus])

函数说明

◆ hal_sio_v150_ct_set_set_rx_enable()

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]busThe index of sio. sio_bus_t.
[in]valThe value of sio_v150_ct_set_data::rx_enable.

◆ hal_sio_v150_ct_set_set_tx_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]busThe index of sio. sio_bus_t.
[in]valThe 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.

◆ hal_sio_v150_regs_deinit()

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.

◆ 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.

变量说明

◆ g_hal_sio_regs

uintptr_t g_hal_sio_regs[I2S_MAX_NUMBER]
extern

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2023. All rights reserved.

Description: Provides hal sio
History:
2022-08-01, Create file.