|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <stdint.h>#include "common_def.h"#include "securec.h"#include "hal_gpio_v150_comm_def.h"#include "hal_gpio.h"#include "gpio_porting.h"

函数 | |
| gpio_callback_t * | hal_gpio_v150_callback_list_get (void) |
| Get GPIO callback list. | |
| void | hal_gpio_v150_register_irq (uint32_t int_id) |
| Register IRQ number of GPIO. | |
| void | hal_gpio_v150_unregister_irq (uint32_t int_id) |
| Unregister IRQ number of GPIO. | |
| errcode_t | hal_gpio_v150_pin_info_get (pin_t pin, uint32_t *channel, uint32_t *group, uint32_t *group_pin) |
| Get GPIO pin info of target pin, including channel ID, group ID and group_pin ID. | |
| uint32_t | hal_gpio_v150_pin_id_get (uint32_t channel, uint32_t group, uint32_t group_pin) |
| Get GPIO pin ID of target pin. | |
| errcode_t | hal_gpio_v150_register_cb (uint32_t channel, uint32_t group, uint32_t group_pin, gpio_callback_t cb) |
| Register GPIO callback. | |
| void | hal_gpio_v150_unregister_cb (uint32_t channel, uint32_t group, uint32_t group_pin) |
| Unregister GPIO callback. | |