mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
refactor(gpio): add hal gpio driver
This commit is contained in:
@@ -56,3 +56,46 @@ const uint32_t GPIO_PIN_MUX_REG[GPIO_PIN_COUNT] = {
|
||||
IO_MUX_GPIO38_REG,
|
||||
IO_MUX_GPIO39_REG,
|
||||
};
|
||||
|
||||
const uint32_t GPIO_HOLD_MASK[GPIO_PIN_COUNT] = {
|
||||
0,
|
||||
BIT(1),
|
||||
0,
|
||||
BIT(0),
|
||||
0,
|
||||
BIT(8),
|
||||
BIT(2),
|
||||
BIT(3),
|
||||
BIT(4),
|
||||
BIT(5),
|
||||
BIT(6),
|
||||
BIT(7),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
BIT(9),
|
||||
BIT(10),
|
||||
BIT(11),
|
||||
BIT(12),
|
||||
0,
|
||||
BIT(14),
|
||||
BIT(15),
|
||||
BIT(16),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
Reference in New Issue
Block a user