Table of Contents

Enum DeviceFunction

Namespace
nanoFramework.Hardware.Esp32
Assembly
nanoFramework.Hardware.Esp32.dll

Defines values used to change pin configuration via the GPIO alternate drivemode interface.

public enum DeviceFunction

Fields

ADC1_CH0 = 327936

ADC1 channel 0

ADC1_CH1 = 327937

ADC1 channel 1

ADC1_CH10 = 327946

ADC1 channel 10 Internally ESP32 Adc2 channel 10

ADC1_CH11 = 327947

ADC1 channel 11 Internally ESP32 Adc2 channel 11

ADC1_CH12 = 327948

ADC1 channel 12 Internally ESP32 Adc2 channel 12

ADC1_CH13 = 327949

ADC1 channel 13 Internally ESP32 Adc2 channel 13

ADC1_CH14 = 327950

ADC1 channel 14 Internally ESP32 Adc2 channel 14

ADC1_CH15 = 327951

ADC1 channel 15 Internally ESP32 Adc2 channel 15

ADC1_CH16 = 327952

ADC1 channel 16 Internally ESP32 Adc2 channel 16

ADC1_CH17 = 327953

ADC1 channel 17 Internally ESP32 Adc2 channel 17

ADC1_CH18 = 327954

ADC1 channel 18 Internally ESP32 Adc2 channel 18

ADC1_CH19 = 327955

ADC1 channel 19 Internally ESP32 Adc2 channel 19

ADC1_CH2 = 327938

ADC1 channel 2

ADC1_CH3 = 327939

ADC1 channel 3

ADC1_CH4 = 327940

ADC1 channel 4

ADC1_CH5 = 327941

ADC1 channel 5

ADC1_CH6 = 327942

ADC1 channel 6

ADC1_CH7 = 327943

ADC1 channel 7

ADC1_CH8 = 327944

ADC1 channel 8 Internal Temperture sensor (VP)

ADC1_CH9 = 327945

ADC1 channel 9 Internal Hall Sensor (VN)

COM1_CTS = 196867

Device function Clear to Send(CTS) for COM1

COM1_RTS = 196866

Device function Request to Send(RTS) for COM1

COM1_RX = 196865

Device function RX data for COM1

COM1_TX = 196864

Device function TX data for COM1

COM2_CTS = 197123

Device function Clear to Send(CTS) for COM2

COM2_RTS = 197122

Device function Request to Send(RTS) for COM2

COM2_RX = 197121

Device function RX data for COM2

COM2_TX = 197120

Device function TX data for COM2

COM3_CTS = 197379

Device function Clear to Send(CTS) for COM3

COM3_RTS = 197378

Device function Request to Send(RTS) for COM3

COM3_RX = 197377

Device function RX data for COM3

COM3_TX = 197376

Device function TX data for COM3

I2C1_CLOCK = 131329

Device function CLOCK for I2C1

I2C1_DATA = 131328

Device function DATA for I2C1

I2C2_CLOCK = 131585

Device function CLOCK for I2C2

I2C2_DATA = 131584

Device function DATA for I2C2

I2S1_BCK = 393473

I2S1 function Bit Clock. Used for general purpose read and write on the I2S bus.

I2S1_DATA_OUT = 393475

I2S1 function DATA_OUT. Used for output data typically on a speaker.

I2S1_MCK = 393472

I2S1 function Master Clock. Used only in master mode.

I2S1_MDATA_IN = 393476

I2S1 function MDATA_IN. Used for input data typically from a microphone.

I2S1_WS = 393474

I2S1 function WS. Used if your have stereo.

I2S2_BCK = 393729

I2S2 function Bit Clock. Used for general purpose read and write on the I2S bus.

I2S2_DATA_OUT = 393731

I2S2 function DATA_OUT. Used for output data typically on a speaker.

I2S2_MCK = 393728

I2S2 function Master Clock. Used only in master mode.

I2S2_MDATA_IN = 393732

I2S2 function MDATA_IN. Used for input data typically from a microphone.

I2S2_WS = 393730

I2S2 function WS. Used if your have stereo.

PWM1 = 262400

Device function PWM1

PWM10 = 264704

Device function PWM10

PWM11 = 264960

Device function PWM11

PWM12 = 265216

Device function PWM12

PWM13 = 265472

Device function PWM13

PWM14 = 265728

Device function PWM14

PWM15 = 265984

Device function PWM15

PWM16 = 266240

Device function PWM16

PWM2 = 262656

Device function PWM2

PWM3 = 262912

Device function PWM3

PWM4 = 263168

Device function PWM4

PWM5 = 263424

Device function PWM5

PWM6 = 263680

Device function PWM6

PWM7 = 263936

Device function PWM7

PWM8 = 264192

Device function PWM8

PWM9 = 264448

Device function PWM9

SPI1_CLOCK = 65794

Device function CLOCK for SPI1

SPI1_MISO = 65793

Device function MISO for SPI1

SPI1_MOSI = 65792

Device function MOSI for SPI1

SPI2_CLOCK = 66050

Device function CLOCK for SPI2

SPI2_MISO = 66049

Device function MISO for SPI2

SPI2_MOSI = 66048

Device function MOSI for SPI2