# io in k210_soc::fpioa - Rust
I/O pins for FPIOA
Keywords: rust, rustlang, rust-lang, io

# Enum k210_soc::fpioa::io

source · [−]

    pub enum io {
    Show 48 variants    JTAG_TCK,
        JTAG_TDI,
        JTAG_TMS,
        JTAG_TDO,
        ISP_RX,
        ISP_TX,
        WIFI_TX,
        WIFI_RX,
        WIFI_EN,
        BPSK_P,
        BPSK_N,
        IO11,
        LED_B,
        LED_G,
        LED_R,
        KEY1,
        BOOT_KEY0,
        KEY2,
        MIC_BCK,
        MIC_WS,
        MIC_DAT3,
        MIC_DAT2,
        MIC_DAT1,
        MIC_DAT0,
        MIC_LED_DAT,
        MIC_LED_CLK,
        SPI0_MISO,
        SPI0_SCLK,
        SPI0_MOSI,
        SPI0_CS0,
        I2C1_SCL,
        I2C1_SDA,
        IO32,
        I2S_WS,
        I2S_DA,
        I2S_BCK,
        LCD_CS,
        LCD_RST,
        LCD_DC,
        LCD_WR,
        DVP_SDA,
        DVP_SCL,
        DVP_RST,
        DVP_VSYNC,
        DVP_PWDN,
        DVP_HSYNC,
        DVP_XCLK,
        DVP_PCLK,
    }

Expand description

I/O pins for FPIOA

## Variants

### `JTAG_TCK`

JTAG TCK

### `JTAG_TDI`

JTAG TDI

### `JTAG_TMS`

JTAG TMS

### `JTAG_TDO`

JTAG TDO

### `ISP_RX`

Host RX (from STM32F103C8)

### `ISP_TX`

Host TX (to STM32F103C8)

### `WIFI_TX`

WIFI serial TX (from perspective of ESP8285, so our RX)

### `WIFI_RX`

WIFI serial RX (from perspective of ESP8285, so our TX)

### `WIFI_EN`

WIFI enable (to ESP8285)

### `BPSK_P`

Unused

### `BPSK_N`

Unused

### `IO11`

General purpose I/O pin

### `LED_B`

Blue led (output)

### `LED_G`

Green led (output)

### `LED_R`

Red led (output)

### `KEY1`

Key direction 1 press (input)

### `BOOT_KEY0`

Key center press (input)

### `KEY2`

Key direction 2 press (input)

### `MIC_BCK`

Microphone I2S BCK

### `MIC_WS`

Microphone I2S WS

### `MIC_DAT3`

Microphone I2S DAT3

### `MIC_DAT2`

Microphone I2S DAT2

### `MIC_DAT1`

Microphone I2S DAT1

### `MIC_DAT0`

Microphone I2S DAT0

### `MIC_LED_DAT`

Microphone LED DAT

### `MIC_LED_CLK`

Microphone LED CLK

### `SPI0_MISO`

SDCARD SPI MISO

### `SPI0_SCLK`

SDCARD SPI SCLK

### `SPI0_MOSI`

SDCARD SPI MOSI

### `SPI0_CS0`

SDCARD SPI CS

### `I2C1_SCL`

I2C bus 1 SCLK (NS2009, MSA300)

### `I2C1_SDA`

I2C bus 2 SDA (NS2009, MSA300)

### `IO32`

General purpose I/O pin

### `I2S_WS`

DAC I2S WS

### `I2S_DA`

DAC I2S DA

### `I2S_BCK`

DAC I2S BCK

### `LCD_CS`

LCD chip select (output)

### `LCD_RST`

LCD reset (output)

### `LCD_DC`

LCD Data/Command

### `LCD_WR`

LCD SPI SCLK

### `DVP_SDA`

Camera DVP SDA

### `DVP_SCL`

Camera DVP SCL

### `DVP_RST`

Camera DVP RST

### `DVP_VSYNC`

Camera DVP VSYNC

### `DVP_PWDN`

Camera DVP PWDN

### `DVP_HSYNC`

Camera DVP HSYNC

### `DVP_XCLK`

Camera DVP XCLK

### `DVP_PCLK`

Camera DVP PCLK

## Trait Implementations

source

### impl Clone for io

source

#### fn clone(&self) -> io

Returns a copy of the value. Read more

1.0.0 · source

#### fn clone_from(&mut self, source: &Self)

Performs copy-assignment from `source`. Read more

source

### impl From<io> for usize

source

#### fn from(io: io) -> Self

Converts to this type from the input type.

source

### impl Copy for io

## Auto Trait Implementations

### impl RefUnwindSafe for io

### impl Send for io

### impl Sync for io

### impl Unpin for io

### impl UnwindSafe for io

## Blanket Implementations

source

### impl<T> Any for T where
T: 'static + ?Sized,

source

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more

source

### impl<T> Borrow<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

source

### impl<T> BorrowMut<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

source

### impl<T> From<T> for T

const: unstable · source

#### fn from(t: T) -> T

Returns the argument unchanged.

source

### impl<T, U> Into<U> for T where
U: From<T>,

const: unstable · source

#### fn into(self) -> U

Calls `U::from(self)`.

That is, this conversion is whatever the implementation of `From<T> for U` chooses to do.

source

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

source

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.