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

结构体

struct  gpio_idx_info
 GPIO pin idx info, including the channel, the group, and group pin number to which this pin belongs. 更多...
 
struct  gpio_info_regs
 Register definition of each GPIO group. 更多...
 
struct  gpio_v150_regs
 Register definition of GPIO channel. A GPIO channel contains a maximum of 8 groups of pin. Each GPIO group contains a maximum of 32 pins. 更多...
 

宏定义

#define RESERVED_MAX_NUM   2
 

类型定义

typedef struct gpio_idx_info gpio_idx_info_t
 GPIO pin idx info, including the channel, the group, and group pin number to which this pin belongs.
 
typedef struct gpio_info_regs gpio_group_regs_t
 Register definition of each GPIO group.
 
typedef struct gpio_v150_regs gpio_v150_regs_t
 Register definition of GPIO channel. A GPIO channel contains a maximum of 8 groups of pin. Each GPIO group contains a maximum of 32 pins.
 

枚举

enum  gpio_group_t {
  GPIO_GROUP_0 = 0 , GPIO_GROUP_1 , GPIO_GROUP_2 , GPIO_GROUP_3 ,
  GPIO_GROUP_4 , GPIO_GROUP_5 , GPIO_GROUP_6 , GPIO_GROUP_7 ,
  GPIO_GROUP_MAX_NUM
}
 GPIO pin group definition. A GPIO channel contains a maximum of 8 groups of pin. 更多...
 
enum  gpio_group_pin_t {
  GPIO_GROUP_PIN_00 = 0 , GPIO_GROUP_PIN_01 , GPIO_GROUP_PIN_02 , GPIO_GROUP_PIN_03 ,
  GPIO_GROUP_PIN_04 , GPIO_GROUP_PIN_05 , GPIO_GROUP_PIN_06 , GPIO_GROUP_PIN_07 ,
  GPIO_GROUP_PIN_08 , GPIO_GROUP_PIN_09 , GPIO_GROUP_PIN_10 , GPIO_GROUP_PIN_11 ,
  GPIO_GROUP_PIN_12 , GPIO_GROUP_PIN_13 , GPIO_GROUP_PIN_14 , GPIO_GROUP_PIN_15 ,
  GPIO_GROUP_PIN_16 , GPIO_GROUP_PIN_17 , GPIO_GROUP_PIN_18 , GPIO_GROUP_PIN_19 ,
  GPIO_GROUP_PIN_20 , GPIO_GROUP_PIN_21 , GPIO_GROUP_PIN_22 , GPIO_GROUP_PIN_23 ,
  GPIO_GROUP_PIN_24 , GPIO_GROUP_PIN_25 , GPIO_GROUP_PIN_26 , GPIO_GROUP_PIN_27 ,
  GPIO_GROUP_PIN_28 , GPIO_GROUP_PIN_29 , GPIO_GROUP_PIN_30 , GPIO_GROUP_PIN_31 ,
  GPIO_GROUP_PIN_MAX_NUM
}
 GPIO pin definition in group. Each GPIO group contains a maximum of 32 pins. 更多...
 

详细描述

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

Description: Provides V150 gpio register
History:
2022-07-27, Create file.

宏定义说明

◆ RESERVED_MAX_NUM

#define RESERVED_MAX_NUM   2

类型定义说明

◆ gpio_group_regs_t

Register definition of each GPIO group.

◆ gpio_idx_info_t

GPIO pin idx info, including the channel, the group, and group pin number to which this pin belongs.

◆ gpio_v150_regs_t

Register definition of GPIO channel. A GPIO channel contains a maximum of 8 groups of pin. Each GPIO group contains a maximum of 32 pins.

枚举类型说明

◆ gpio_group_pin_t

GPIO pin definition in group. Each GPIO group contains a maximum of 32 pins.

枚举值
GPIO_GROUP_PIN_00 
GPIO_GROUP_PIN_01 
GPIO_GROUP_PIN_02 
GPIO_GROUP_PIN_03 
GPIO_GROUP_PIN_04 
GPIO_GROUP_PIN_05 
GPIO_GROUP_PIN_06 
GPIO_GROUP_PIN_07 
GPIO_GROUP_PIN_08 
GPIO_GROUP_PIN_09 
GPIO_GROUP_PIN_10 
GPIO_GROUP_PIN_11 
GPIO_GROUP_PIN_12 
GPIO_GROUP_PIN_13 
GPIO_GROUP_PIN_14 
GPIO_GROUP_PIN_15 
GPIO_GROUP_PIN_16 
GPIO_GROUP_PIN_17 
GPIO_GROUP_PIN_18 
GPIO_GROUP_PIN_19 
GPIO_GROUP_PIN_20 
GPIO_GROUP_PIN_21 
GPIO_GROUP_PIN_22 
GPIO_GROUP_PIN_23 
GPIO_GROUP_PIN_24 
GPIO_GROUP_PIN_25 
GPIO_GROUP_PIN_26 
GPIO_GROUP_PIN_27 
GPIO_GROUP_PIN_28 
GPIO_GROUP_PIN_29 
GPIO_GROUP_PIN_30 
GPIO_GROUP_PIN_31 
GPIO_GROUP_PIN_MAX_NUM 

◆ gpio_group_t

GPIO pin group definition. A GPIO channel contains a maximum of 8 groups of pin.

枚举值
GPIO_GROUP_0 
GPIO_GROUP_1 
GPIO_GROUP_2 
GPIO_GROUP_3 
GPIO_GROUP_4 
GPIO_GROUP_5 
GPIO_GROUP_6 
GPIO_GROUP_7 
GPIO_GROUP_MAX_NUM