|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

宏定义 | |
| #define | BIT(x) (1UL << (uint32_t)(x)) |
枚举 | |
| enum | pin_mode_func_t { PIN_FUNC_0 = (1UL << (uint32_t)( PIN_MODE_0 )) , PIN_FUNC_1 = (1UL << (uint32_t)( PIN_MODE_1 )) , PIN_FUNC_2 = (1UL << (uint32_t)( PIN_MODE_2 )) , PIN_FUNC_3 = (1UL << (uint32_t)( PIN_MODE_3 )) , PIN_FUNC_4 = (1UL << (uint32_t)( PIN_MODE_4 )) , PIN_FUNC_5 = (1UL << (uint32_t)( PIN_MODE_5 )) , PIN_FUNC_6 = (1UL << (uint32_t)( PIN_MODE_6 )) , PIN_FUNC_7 = (1UL << (uint32_t)( PIN_MODE_7 )) , PIN_FUNC_NONE = 0 } |
| enum | pio_mode_t { PIO_MODE_0 = (1UL << (uint32_t)( 0 )) , PIO_MODE_1 = (1UL << (uint32_t)( 1 )) , PIO_MODE_2 = (1UL << (uint32_t)( 2 )) , PIO_MODE_3 = (1UL << (uint32_t)( 3 )) , PIO_MODE_4 = (1UL << (uint32_t)( 4 )) , PIO_MODE_5 = (1UL << (uint32_t)( 5 )) , PIO_MODE_6 = (1UL << (uint32_t)( 6 )) , PIO_MODE_7 = (1UL << (uint32_t)( 7 )) , PIO_MODE_NONE = 0 } |
函数 | |
| bool | pin_check_mode_is_valid (pin_t pin, pin_mode_t mode) |
| Check whether the mode configured for the pin is valid. | |
| void | pin_port_register_hal_funcs (void) |
| Register hal funcs objects into hal_pinctrl module. | |
| void | pin_port_unregister_hal_funcs (void) |
| Unregister hal funcs objects from hal_pinctrl module. | |
| #define BIT | ( | x | ) | (1UL << (uint32_t)(x)) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2023. All rights reserved.
Description: Provides pinctrl port
History:
2022-08-25, Create file.
| enum pin_mode_func_t |
| enum pio_mode_t |