mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 04:15:21 +02:00
esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM
The TRM describes IOMUX registers are IO_MUX_x_REG for x in GPIO0-39. Until now ESP-IDF describes them as PERIPHS_IO_MUX_(pinname)_U This commit adds additional IOMUX register names which match the ones used in the TRM.
This commit is contained in:
committed by
Angus Gratton
parent
e676676541
commit
4297c337f9
+34
-34
@@ -30,46 +30,46 @@ static const char* GPIO_TAG = "gpio";
|
||||
}
|
||||
|
||||
const uint32_t GPIO_PIN_MUX_REG[GPIO_PIN_COUNT] = {
|
||||
GPIO_PIN_REG_0,
|
||||
GPIO_PIN_REG_1,
|
||||
GPIO_PIN_REG_2,
|
||||
GPIO_PIN_REG_3,
|
||||
GPIO_PIN_REG_4,
|
||||
GPIO_PIN_REG_5,
|
||||
GPIO_PIN_REG_6,
|
||||
GPIO_PIN_REG_7,
|
||||
GPIO_PIN_REG_8,
|
||||
GPIO_PIN_REG_9,
|
||||
GPIO_PIN_REG_10,
|
||||
GPIO_PIN_REG_11,
|
||||
GPIO_PIN_REG_12,
|
||||
GPIO_PIN_REG_13,
|
||||
GPIO_PIN_REG_14,
|
||||
GPIO_PIN_REG_15,
|
||||
GPIO_PIN_REG_16,
|
||||
GPIO_PIN_REG_17,
|
||||
GPIO_PIN_REG_18,
|
||||
GPIO_PIN_REG_19,
|
||||
IO_MUX_GPIO0_REG,
|
||||
IO_MUX_GPIO1_REG,
|
||||
IO_MUX_GPIO2_REG,
|
||||
IO_MUX_GPIO3_REG,
|
||||
IO_MUX_GPIO4_REG,
|
||||
IO_MUX_GPIO5_REG,
|
||||
IO_MUX_GPIO6_REG,
|
||||
IO_MUX_GPIO7_REG,
|
||||
IO_MUX_GPIO8_REG,
|
||||
IO_MUX_GPIO9_REG,
|
||||
IO_MUX_GPIO10_REG,
|
||||
IO_MUX_GPIO11_REG,
|
||||
IO_MUX_GPIO12_REG,
|
||||
IO_MUX_GPIO13_REG,
|
||||
IO_MUX_GPIO14_REG,
|
||||
IO_MUX_GPIO15_REG,
|
||||
IO_MUX_GPIO16_REG,
|
||||
IO_MUX_GPIO17_REG,
|
||||
IO_MUX_GPIO18_REG,
|
||||
IO_MUX_GPIO19_REG,
|
||||
0,
|
||||
GPIO_PIN_REG_21,
|
||||
GPIO_PIN_REG_22,
|
||||
GPIO_PIN_REG_23,
|
||||
IO_MUX_GPIO21_REG,
|
||||
IO_MUX_GPIO22_REG,
|
||||
IO_MUX_GPIO23_REG,
|
||||
0,
|
||||
GPIO_PIN_REG_25,
|
||||
GPIO_PIN_REG_26,
|
||||
GPIO_PIN_REG_27,
|
||||
IO_MUX_GPIO25_REG,
|
||||
IO_MUX_GPIO26_REG,
|
||||
IO_MUX_GPIO27_REG,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
GPIO_PIN_REG_32,
|
||||
GPIO_PIN_REG_33,
|
||||
GPIO_PIN_REG_34,
|
||||
GPIO_PIN_REG_35,
|
||||
GPIO_PIN_REG_36,
|
||||
GPIO_PIN_REG_37,
|
||||
GPIO_PIN_REG_38,
|
||||
GPIO_PIN_REG_39
|
||||
IO_MUX_GPIO32_REG,
|
||||
IO_MUX_GPIO33_REG,
|
||||
IO_MUX_GPIO34_REG,
|
||||
IO_MUX_GPIO35_REG,
|
||||
IO_MUX_GPIO36_REG,
|
||||
IO_MUX_GPIO37_REG,
|
||||
IO_MUX_GPIO38_REG,
|
||||
IO_MUX_GPIO39_REG,
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user