|
Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
#include "bflb_core.h"
Go to the source code of this file.
Data Structures | |
| struct | bflb_kys_config_s |
Macros | |
| #define | KEYSCAN_INT_EN_DONE (0x1 << 7) |
| #define | KEYSCAN_INT_EN_FIFOFULL (0x1 << 8) |
| #define | KEYSCAN_INT_EN_FIFOHALF (0x1 << 9) |
| #define | KEYSCAN_INT_EN_FIFOQUARTER (0x1 << 10) |
| #define | KEYSCAN_INT_EN_FIFO_NONEMPTY (0x1 << 11) |
| #define | KEYSCAN_INT_EN_GHOST (0x1 << 12) |
Functions | |
| void | bflb_kys_init (struct bflb_device_s *dev, const struct bflb_kys_config_s *config) |
| void | bflb_kys_enable (struct bflb_device_s *dev) |
| void | bflb_kys_disable (struct bflb_device_s *dev) |
| void | bflb_kys_int_enable (struct bflb_device_s *dev, uint32_t flag, bool enable) |
| void | bflb_kys_int_clear (struct bflb_device_s *dev, uint32_t flag) |
| uint32_t | bflb_kys_get_int_status (struct bflb_device_s *dev) |
| uint8_t | bflb_kys_read_keyvalue (struct bflb_device_s *dev, uint8_t index) |
| #define KEYSCAN_INT_EN_DONE (0x1 << 7) |
Definition at line 19 of file bflb_kys.h.
| #define KEYSCAN_INT_EN_FIFO_NONEMPTY (0x1 << 11) |
Definition at line 23 of file bflb_kys.h.
| #define KEYSCAN_INT_EN_FIFOFULL (0x1 << 8) |
Definition at line 20 of file bflb_kys.h.
| #define KEYSCAN_INT_EN_FIFOHALF (0x1 << 9) |
Definition at line 21 of file bflb_kys.h.
| #define KEYSCAN_INT_EN_FIFOQUARTER (0x1 << 10) |
Definition at line 22 of file bflb_kys.h.
| #define KEYSCAN_INT_EN_GHOST (0x1 << 12) |
Definition at line 24 of file bflb_kys.h.
| void bflb_kys_disable | ( | struct bflb_device_s * | dev | ) |
| void bflb_kys_enable | ( | struct bflb_device_s * | dev | ) |
| uint32_t bflb_kys_get_int_status | ( | struct bflb_device_s * | dev | ) |
| void bflb_kys_init | ( | struct bflb_device_s * | dev, |
| const struct bflb_kys_config_s * | config | ||
| ) |
| void bflb_kys_int_clear | ( | struct bflb_device_s * | dev, |
| uint32_t | flag | ||
| ) |
| void bflb_kys_int_enable | ( | struct bflb_device_s * | dev, |
| uint32_t | flag, | ||
| bool | enable | ||
| ) |
| uint8_t bflb_kys_read_keyvalue | ( | struct bflb_device_s * | dev, |
| uint8_t | index | ||
| ) |