WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
pinctrl_porting.h 文件参考
#include <stdint.h>
#include <stdbool.h>
#include "securec.h"
#include "platform_core_rom.h"
#include "chip_io.h"
pinctrl_porting.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define HAL_PIO_PULL_NONE   PIN_PULL_TYPE_DISABLE
 
#define HAL_PIO_FUNC_GPIO   PIN_MODE_0
 
#define HAL_PIO_FUNC_INVALID   HAL_PIO_FUNC_MAX
 

枚举

enum  pin_mode_t {
  PIN_MODE_0 = 0 , PIN_MODE_1 = 1 , PIN_MODE_2 = 2 , PIN_MODE_3 = 3 ,
  PIN_MODE_4 = 4 , PIN_MODE_5 = 5 , PIN_MODE_6 = 6 , PIN_MODE_7 = 7 ,
  PIN_MODE_MAX = 8
}
 Definition of mode-multiplexing. 更多...
 
enum  pin_drive_strength_t {
  PIN_DS_0 = 0 , PIN_DS_1 = 1 , PIN_DS_2 = 2 , PIN_DS_3 = 3 ,
  PIN_DS_4 = 4 , PIN_DS_5 = 5 , PIN_DS_6 = 6 , PIN_DS_7 = 7 ,
  PIN_DS_MAX = 8
}
 Definition of drive-strength. 更多...
 
enum  pin_pull_t {
  PIN_PULL_TYPE_DISABLE = 0 , PIN_PULL_TYPE_DOWN = 1 , PIN_PULL_TYPE_STRONG_UP = 2 , PIN_PULL_TYPE_UP = 3 ,
  PIN_PULL_MAX = 4
}
 Definition of pull-up/pull-down. 更多...
 
enum  pin_input_enable_t { PIN_IE_DISABLE = 0 , PIN_IE_ENABLE = 1 , PIN_IE_MAX }
 Definition of input-enable. 更多...
 
enum  pin_schmitt_trigger_t { PIN_ST_DISABLE = 0 , PIN_ST_ENABLE = 1 , PIN_ST_MAX }
 Definition of schmitt-trigger. 更多...
 

函数

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.
 

宏定义说明

◆ HAL_PIO_FUNC_INVALID

#define HAL_PIO_FUNC_INVALID   HAL_PIO_FUNC_MAX