Update to latest GPIO types

This commit is contained in:
Stephan Hadinger 2022-03-17 22:58:42 +01:00
parent f94a72c826
commit 2e670be61c
2 changed files with 29 additions and 0 deletions

View File

@ -14,9 +14,11 @@ const be_const_member_t lv_gpio_constants[] = {
{ "ADC_INPUT", (int32_t) GPIO_ADC_INPUT }, { "ADC_INPUT", (int32_t) GPIO_ADC_INPUT },
{ "ADC_JOY", (int32_t) GPIO_ADC_JOY }, { "ADC_JOY", (int32_t) GPIO_ADC_JOY },
{ "ADC_LIGHT", (int32_t) GPIO_ADC_LIGHT }, { "ADC_LIGHT", (int32_t) GPIO_ADC_LIGHT },
{ "ADC_MQ", (int32_t) GPIO_ADC_MQ },
{ "ADC_PH", (int32_t) GPIO_ADC_PH }, { "ADC_PH", (int32_t) GPIO_ADC_PH },
{ "ADC_RANGE", (int32_t) GPIO_ADC_RANGE }, { "ADC_RANGE", (int32_t) GPIO_ADC_RANGE },
{ "ADC_TEMP", (int32_t) GPIO_ADC_TEMP }, { "ADC_TEMP", (int32_t) GPIO_ADC_TEMP },
{ "ADE7880_IRQ", (int32_t) GPIO_ADE7880_IRQ },
{ "ADE7953_IRQ", (int32_t) GPIO_ADE7953_IRQ }, { "ADE7953_IRQ", (int32_t) GPIO_ADE7953_IRQ },
{ "ARIRFRCV", (int32_t) GPIO_ARIRFRCV }, { "ARIRFRCV", (int32_t) GPIO_ARIRFRCV },
{ "ARIRFSEL", (int32_t) GPIO_ARIRFSEL }, { "ARIRFSEL", (int32_t) GPIO_ARIRFSEL },
@ -29,6 +31,8 @@ const be_const_member_t lv_gpio_constants[] = {
{ "BL0939_RX", (int32_t) GPIO_BL0939_RX }, { "BL0939_RX", (int32_t) GPIO_BL0939_RX },
{ "BL0940_RX", (int32_t) GPIO_BL0940_RX }, { "BL0940_RX", (int32_t) GPIO_BL0940_RX },
{ "BL0942_RX", (int32_t) GPIO_BL0942_RX }, { "BL0942_RX", (int32_t) GPIO_BL0942_RX },
{ "BL6523_RX", (int32_t) GPIO_BL6523_RX },
{ "BL6523_TX", (int32_t) GPIO_BL6523_TX },
{ "BOILER_OT_RX", (int32_t) GPIO_BOILER_OT_RX }, { "BOILER_OT_RX", (int32_t) GPIO_BOILER_OT_RX },
{ "BOILER_OT_TX", (int32_t) GPIO_BOILER_OT_TX }, { "BOILER_OT_TX", (int32_t) GPIO_BOILER_OT_TX },
{ "BS814_CLK", (int32_t) GPIO_BS814_CLK }, { "BS814_CLK", (int32_t) GPIO_BS814_CLK },
@ -154,6 +158,7 @@ const be_const_member_t lv_gpio_constants[] = {
{ "OLED_RESET", (int32_t) GPIO_OLED_RESET }, { "OLED_RESET", (int32_t) GPIO_OLED_RESET },
{ "OPEN_DRAIN", OPEN_DRAIN }, { "OPEN_DRAIN", OPEN_DRAIN },
{ "OPTION_A", (int32_t) GPIO_OPTION_A }, { "OPTION_A", (int32_t) GPIO_OPTION_A },
{ "OPTION_E", (int32_t) GPIO_OPTION_E },
{ "OUTPUT", OUTPUT }, { "OUTPUT", OUTPUT },
{ "OUTPUT_HI", (int32_t) GPIO_OUTPUT_HI }, { "OUTPUT_HI", (int32_t) GPIO_OUTPUT_HI },
{ "OUTPUT_LO", (int32_t) GPIO_OUTPUT_LO }, { "OUTPUT_LO", (int32_t) GPIO_OUTPUT_LO },
@ -180,6 +185,7 @@ const be_const_member_t lv_gpio_constants[] = {
{ "RDM6300_RX", (int32_t) GPIO_RDM6300_RX }, { "RDM6300_RX", (int32_t) GPIO_RDM6300_RX },
{ "REL1", (int32_t) GPIO_REL1 }, { "REL1", (int32_t) GPIO_REL1 },
{ "REL1_INV", (int32_t) GPIO_REL1_INV }, { "REL1_INV", (int32_t) GPIO_REL1_INV },
{ "RESET", (int32_t) GPIO_RESET },
{ "RFRECV", (int32_t) GPIO_RFRECV }, { "RFRECV", (int32_t) GPIO_RFRECV },
{ "RFSEND", (int32_t) GPIO_RFSEND }, { "RFSEND", (int32_t) GPIO_RFSEND },
{ "RF_SENSOR", (int32_t) GPIO_RF_SENSOR }, { "RF_SENSOR", (int32_t) GPIO_RF_SENSOR },
@ -196,6 +202,8 @@ const be_const_member_t lv_gpio_constants[] = {
{ "SDCARD_CS", (int32_t) GPIO_SDCARD_CS }, { "SDCARD_CS", (int32_t) GPIO_SDCARD_CS },
{ "SDM120_RX", (int32_t) GPIO_SDM120_RX }, { "SDM120_RX", (int32_t) GPIO_SDM120_RX },
{ "SDM120_TX", (int32_t) GPIO_SDM120_TX }, { "SDM120_TX", (int32_t) GPIO_SDM120_TX },
{ "SDM230_RX", (int32_t) GPIO_SDM230_RX },
{ "SDM230_TX", (int32_t) GPIO_SDM230_TX },
{ "SDM630_RX", (int32_t) GPIO_SDM630_RX }, { "SDM630_RX", (int32_t) GPIO_SDM630_RX },
{ "SDM630_TX", (int32_t) GPIO_SDM630_TX }, { "SDM630_TX", (int32_t) GPIO_SDM630_TX },
{ "SDM72_RX", (int32_t) GPIO_SDM72_RX }, { "SDM72_RX", (int32_t) GPIO_SDM72_RX },
@ -205,12 +213,17 @@ const be_const_member_t lv_gpio_constants[] = {
{ "SENSOR_END", (int32_t) GPIO_SENSOR_END }, { "SENSOR_END", (int32_t) GPIO_SENSOR_END },
{ "SHELLY_DIMMER_BOOT0", (int32_t) GPIO_SHELLY_DIMMER_BOOT0 }, { "SHELLY_DIMMER_BOOT0", (int32_t) GPIO_SHELLY_DIMMER_BOOT0 },
{ "SHELLY_DIMMER_RST_INV", (int32_t) GPIO_SHELLY_DIMMER_RST_INV }, { "SHELLY_DIMMER_RST_INV", (int32_t) GPIO_SHELLY_DIMMER_RST_INV },
{ "SHIFT595_OE", (int32_t) GPIO_SHIFT595_OE },
{ "SHIFT595_RCLK", (int32_t) GPIO_SHIFT595_RCLK },
{ "SHIFT595_SER", (int32_t) GPIO_SHIFT595_SER },
{ "SHIFT595_SRCLK", (int32_t) GPIO_SHIFT595_SRCLK },
{ "SI7021", (int32_t) GPIO_SI7021 }, { "SI7021", (int32_t) GPIO_SI7021 },
{ "SM16716_CLK", (int32_t) GPIO_SM16716_CLK }, { "SM16716_CLK", (int32_t) GPIO_SM16716_CLK },
{ "SM16716_DAT", (int32_t) GPIO_SM16716_DAT }, { "SM16716_DAT", (int32_t) GPIO_SM16716_DAT },
{ "SM16716_SEL", (int32_t) GPIO_SM16716_SEL }, { "SM16716_SEL", (int32_t) GPIO_SM16716_SEL },
{ "SM2135_CLK", (int32_t) GPIO_SM2135_CLK }, { "SM2135_CLK", (int32_t) GPIO_SM2135_CLK },
{ "SM2135_DAT", (int32_t) GPIO_SM2135_DAT }, { "SM2135_DAT", (int32_t) GPIO_SM2135_DAT },
{ "SOLAXX1_RTS", (int32_t) GPIO_SOLAXX1_RTS },
{ "SOLAXX1_RX", (int32_t) GPIO_SOLAXX1_RX }, { "SOLAXX1_RX", (int32_t) GPIO_SOLAXX1_RX },
{ "SOLAXX1_TX", (int32_t) GPIO_SOLAXX1_TX }, { "SOLAXX1_TX", (int32_t) GPIO_SOLAXX1_TX },
{ "SPI_CLK", (int32_t) GPIO_SPI_CLK }, { "SPI_CLK", (int32_t) GPIO_SPI_CLK },

View File

@ -282,4 +282,20 @@ HM330X_SET = GPIO_HM330X_SET
HEARTBEAT = GPIO_HEARTBEAT HEARTBEAT = GPIO_HEARTBEAT
HEARTBEAT_INV = GPIO_HEARTBEAT_INV HEARTBEAT_INV = GPIO_HEARTBEAT_INV
SHIFT595_SRCLK = GPIO_SHIFT595_SRCLK
SHIFT595_RCLK = GPIO_SHIFT595_RCLK
SHIFT595_OE = GPIO_SHIFT595_OE
SHIFT595_SER = GPIO_SHIFT595_SER
SOLAXX1_RTS = GPIO_SOLAXX1_RTS
OPTION_E = GPIO_OPTION_E
SDM230_TX = GPIO_SDM230_TX
SDM230_RX = GPIO_SDM230_RX
ADC_MQ = GPIO_ADC_MQ
CM11_TXD = GPIO_CM11_TXD
CM11_RXD = GPIO_CM11_RXD
BL6523_TX = GPIO_BL6523_TX
BL6523_RX = GPIO_BL6523_RX
ADE7880_IRQ = GPIO_ADE7880_IRQ
RESET = GPIO_RESET
SENSOR_END = GPIO_SENSOR_END SENSOR_END = GPIO_SENSOR_END