Myriota UltraLite SDK 2.4.0
Loading...
Searching...
No Matches

Module I/O pin definitions. More...

Enumerations

enum  ModulePinDef {
  PIN_BAND = 2 , PIN_ADC1 = 6 , PIN_ADC0 = 8 , PIN_PULSE1 = 10 ,
  PIN_PULSE0 = 11 , PIN_UART0_RTS = 12 , PIN_GPIO2 = 14 , PIN_GPIO3 = 15 ,
  PIN_RF_EN = 17 , PIN_SPI_CS = 19 , PIN_SPI_SCK = 20 , PIN_SPI_MISO = 21 ,
  PIN_SPI_MOSI = 22 , PIN_GPIO0_WKUP = 24 , PIN_GPIO4 = 33 , PIN_GPIO5 = 34 ,
  PIN_GPIO6 = 35 , PIN_GPIO1_WKUP = 41 , PIN_UART1_RX = 48 , PIN_UART1_TX = 49 ,
  PIN_I2C_SCL = 50 , PIN_I2C_SDA = 51 , PIN_GPIO8 = 52 , PIN_GPIO7 = 53 ,
  PIN_UART0_CTS = 54 , PIN_UART0_TX = 55 , PIN_UART0_RX = 56 , PIN_LEUART_RX = 57 ,
  PIN_LEUART_TX = 58 , PIN_MAX
}
 Module pin definitions. More...
 

Detailed Description

Module I/O pin definitions.

Enumeration Type Documentation

◆ ModulePinDef

Module pin definitions.

For more details, see the Official Datasheet.

Enumerator
PIN_BAND 

BAND - Read-only, do not connect. High on M1 variant and low on M2 variant.

PIN_ADC1 

ADC1 - ADC port 1. GPIO.

PIN_ADC0 

ADC0 - ADC port 0. GPIO.

PIN_PULSE1 

PULSE1 - Pulse counter. GPIO. ADC.

PIN_PULSE0 

PULSE0 - Pulse counter. GPIO. ADC.

PIN_UART0_RTS 

UART0_RTS - UART0 RTS, unused. GPIO.

PIN_GPIO2 

GPIO2 - GPIO.

PIN_GPIO3 

GPIO3 - GPIO.

PIN_RF_EN 

RF_EN - Output only. High when radio is enabled and low when radio is disabled.

PIN_SPI_CS 

SPI_CS - SPI chip select. GPIO.

PIN_SPI_SCK 

SPI_SCK - SPI SCLK. GPIO.

PIN_SPI_MISO 

SPI_MISO - SPI MISO. GPIO.

PIN_SPI_MOSI 

SPI_MOSI - SPI MOSI. GPIO.

PIN_GPIO0_WKUP 

GPIO0_WKUP - GPIO. Can wake the Module from sleep mode.

PIN_GPIO4 

GPIO4 - GPIO.

PIN_GPIO5 

GPIO5 - GPIO.

PIN_GPIO6 

GPIO6 - GPIO.

PIN_GPIO1_WKUP 

GPIO1_WKUP - GPIO. Can wake up the Module from sleep mode.

PIN_UART1_RX 

UART1_RX - UART1 RX, input. GPIO.

PIN_UART1_TX 

UART1_TX - UART1 TX, output. GPIO.

PIN_I2C_SCL 

I2C_SCL - I2C SCL with built-in 2.2kOhm pull up. External pull up is not recommended.

PIN_I2C_SDA 

I2C_SDA - I2C SDA with built-in 2.2kOhm pull up. External pull up is not recommended.

PIN_GPIO8 

GPIO8 - GPIO.

PIN_GPIO7 

GPIO7 - GPIO.

PIN_UART0_CTS 

UART0_CTS - UART0 CTS, unused. GPIO.

PIN_UART0_TX 

UART0_TX - UART0 TX, output. Bootloader TX.

PIN_UART0_RX 

UART0_RX - UART0 RX, input. Bootloader RX.

PIN_LEUART_RX 

LEUART_RX - LEUART RX. ADC.

PIN_LEUART_TX 

LEUART_TX - LEUART TX. ADC.

PIN_MAX 

Maximum pin count, not a valid pin number.