Struct atsame54_xpro::pins::Pins
source · pub struct Pins {Show 88 fields
pub pa02: Pin<PA02, Reset>,
pub pa03: Pin<PA03, Reset>,
pub pa04: Pin<PA04, Reset>,
pub pa05: Pin<PA05, Reset>,
pub pa06: Pin<PA06, Reset>,
pub pa07: Pin<PA07, Reset>,
pub pa08: Pin<PA08, Reset>,
pub pa09: Pin<PA09, Reset>,
pub pa10: Pin<PA10, Reset>,
pub pa11: Pin<PA11, Reset>,
pub pa12: Pin<PA12, Reset>,
pub pa13: Pin<PA13, Reset>,
pub pa14: Pin<PA14, Reset>,
pub pa15: Pin<PA15, Reset>,
pub pa16: Pin<PA16, Reset>,
pub pa17: Pin<PA17, Reset>,
pub pa18: Pin<PA18, Reset>,
pub pa19: Pin<PA19, Reset>,
pub pa20: Pin<PA20, Reset>,
pub pa21: Pin<PA21, Reset>,
pub pa22: Pin<PA22, Reset>,
pub pa23: Pin<PA23, Reset>,
pub pa24: Pin<PA24, Reset>,
pub pa25: Pin<PA25, Reset>,
pub pa27: Pin<PA27, Reset>,
pub pa30: Pin<PA30, Reset>,
pub pa31: Pin<PA31, Reset>,
pub pb00: Pin<PB00, Reset>,
pub pb01: Pin<PB01, Reset>,
pub pb02: Pin<PB02, Reset>,
pub pb04: Pin<PB04, Reset>,
pub pb05: Pin<PB05, Reset>,
pub pb06: Pin<PB06, Reset>,
pub pb07: Pin<PB07, Reset>,
pub pb08: Pin<PB08, Reset>,
pub pb09: Pin<PB09, Reset>,
pub pb10: Pin<PB10, Reset>,
pub pb11: Pin<PB11, Reset>,
pub pb12: Pin<PB12, Reset>,
pub pb13: Pin<PB13, Reset>,
pub pb14: Pin<PB14, Reset>,
pub pb15: Pin<PB15, Reset>,
pub pb16: Pin<PB16, Reset>,
pub pb17: Pin<PB17, Reset>,
pub pb18: Pin<PB18, Reset>,
pub pb19: Pin<PB19, Reset>,
pub pb20: Pin<PB20, Reset>,
pub pb21: Pin<PB21, Reset>,
pub pb22: Pin<PB22, Reset>,
pub pb23: Pin<PB23, Reset>,
pub pb24: Pin<PB24, Reset>,
pub pb25: Pin<PB25, Reset>,
pub pb26: Pin<PB26, Reset>,
pub pb27: Pin<PB27, Reset>,
pub pb28: Pin<PB28, Reset>,
pub pb29: Pin<PB29, Reset>,
pub pb30: Pin<PB30, Reset>,
pub pb31: Pin<PB31, Reset>,
pub pc01: Pin<PC01, Reset>,
pub pc02: Pin<PC02, Reset>,
pub pc03: Pin<PC03, Reset>,
pub pc04: Pin<PC04, Reset>,
pub pc05: Pin<PC05, Reset>,
pub pc06: Pin<PC06, Reset>,
pub pc07: Pin<PC07, Reset>,
pub pc10: Pin<PC10, Reset>,
pub pc11: Pin<PC11, Reset>,
pub pc12: Pin<PC12, Reset>,
pub pc13: Pin<PC13, Reset>,
pub pc14: Pin<PC14, Reset>,
pub pc16: Pin<PC16, Reset>,
pub pc17: Pin<PC17, Reset>,
pub pc18: Pin<PC18, Reset>,
pub pc20: Pin<PC20, Reset>,
pub pc21: Pin<PC21, Reset>,
pub pc22: Pin<PC22, Reset>,
pub pc23: Pin<PC23, Reset>,
pub pc30: Pin<PC30, Reset>,
pub pc31: Pin<PC31, Reset>,
pub pd00: Pin<PD00, Reset>,
pub pd01: Pin<PD01, Reset>,
pub pd08: Pin<PD08, Reset>,
pub pd09: Pin<PD09, Reset>,
pub pd10: Pin<PD10, Reset>,
pub pd11: Pin<PD11, Reset>,
pub pd12: Pin<PD12, Reset>,
pub pd20: Pin<PD20, Reset>,
pub pd21: Pin<PD21, Reset>,
/* private fields */
}
Expand description
BSP replacement for the HAL
Pins
type
This type is intended to provide more meaningful names for the given pins.
Fields§
§pa02: Pin<PA02, Reset>
PA02: ADC/DAC header pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
adc_dac_header, adc0_analog0,
pa03: Pin<PA03, Reset>
PA03: Extension 2 ADC pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_adc_minus, adc0_analog1,
pa04: Pin<PA04, Reset>
PA04: Extension 1 UART transmit pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
adc0_analog4, ext1_uart_tx,
pa05: Pin<PA05, Reset>
PA05: Extension 1 UART receive pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
adc0_analog5, ext1_uart_rx,
pa06: Pin<PA06, Reset>
PA06: ADC 0 analog pin 6, Extension 1 GPIO pin 1,
or Extension 1 UART request to send (RTS) pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
adc0_analog6, ext1_gpio1_in, ext1_gpio1_out, ext1_uart_rts,
pa07: Pin<PA07, Reset>
PA07: ADC 0 analog pin 6, Extension 1 GPIO pin 2,
or Extension 1 UART clear to send (CTS) pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_gpio2_in, ext1_gpio2_out, adc0_analog7, ext1_uart_cts,
pa08: Pin<PA08, Reset>
PA08: QSPI data pin 0
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qspi_data0,
pa09: Pin<PA09, Reset>
PA09: QSPI data pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qspi_data1,
pa10: Pin<PA10, Reset>
PA10: QSPI data pin 2
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qspi_data2,
pa11: Pin<PA11, Reset>
PA11: QSPI data pin 3
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qspi_data3,
pa12: Pin<PA12, Reset>
PA12: PCC VSync pin or Ethernet receive data pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_vsync, eth_rxd1,
pa13: Pin<PA13, Reset>
PA13: PCC HSync pin or Ethernet receive data pin 0
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_hsync, eth_rxd0,
pa14: Pin<PA14, Reset>
PA14: PCC PCLK pin or Ethernet ref clock pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_pclk, eth_ref_clk,
pa15: Pin<PA15, Reset>
PA15: PCC XCLK pin or Ethernet receive error pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_xclk, eth_rxer,
pa16: Pin<PA16, Reset>
PA16: Capacitive touch button or PCC Data out pin 00
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qt_button, pcc_dout00,
pa17: Pin<PA17, Reset>
PA17: PCC data out pin 01 or Ethernet transmit enable pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_dout01, eth_txen,
pa18: Pin<PA18, Reset>
PA18: PCC data out pin 02 or Ethernet transmit data pin 0
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_dout02, eth_txd0,
pa19: Pin<PA19, Reset>
PA19: PCC data out pin 03 or Ethernet transmit data pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_dout03, eth_txd1,
pa20: Pin<PA20, Reset>
PA20: SD card command pin, I2S frame sync 0 pin, or PCC data out pin 04
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_cmd, i2s_fs0, pcc_dout04,
pa21: Pin<PA21, Reset>
PA21: SD card clock pin, I2S serial data out pin, or PCC data out pin 05
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_clk, i2s_sdo, pcc_dout05,
pa22: Pin<PA22, Reset>
PA22: Extension 1 I2c data pin, I2S serial data pin, or PCC data out pin 06
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_i2c_sda, i2s_sdi, pcc_dout06,
pa23: Pin<PA23, Reset>
PA23: Extension 1 I2c clock pin, I2S frame sync 1 pin, or PCC data out pin 07
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_i2c_scl, i2s_fs1, pcc_dout07,
pa24: Pin<PA24, Reset>
PA24: USB Data- pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
usb_dm,
pa25: Pin<PA25, Reset>
PA25: USB Data+ pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
usb_dp,
pa27: Pin<PA27, Reset>
PA27: Extension 1 SPI chip select pin B
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_spi_cs_b,
pa30: Pin<PA30, Reset>
PA30: Serial wire clock pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
swclk,
pa31: Pin<PA31, Reset>
PA31: Serial wire data in/out
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
swdio,
pb00: Pin<PB00, Reset>
PB00: Extension 2 ADC pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_adc_plus,
pb01: Pin<PB01, Reset>
PB01: Extension 2 GPIO pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_gpio1_in, ext2_gpio1_out,
pb02: Pin<PB02, Reset>
PB02: Extension 2 SPI chip select pin B
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_spi_cs_b,
pb04: Pin<PB04, Reset>
PB04: Extension 1 ADC plus pin, or ADC 1 analog pin 6
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_adc_plus, adc1_analog6,
pb05: Pin<PB05, Reset>
PB05: Extension 1 ADC minus pin, or ADC 1 analog pin 7
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_adc_minus, adc1_analog7,
pb06: Pin<PB06, Reset>
PB06: Extension 2 GPIO pin 2, or ADC 1 analog pin 8
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_gpio2_in, ext2_gpio2_out, adc1_analog8,
pb07: Pin<PB07, Reset>
PB07: Extension 2 interrupt request/GPIO pin, or ADC 1 analog pin 9
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_irq_gpio_in, ext1_irq_gpio_out, adc1_analog9,
pb08: Pin<PB08, Reset>
PB08: Extension 1 PWM+ pin, ADC 0 analog pin 2, or ADC 1 analog pin 0
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
adc0_analog2, adc1_analog0, ext1_pwm_plus,
pb09: Pin<PB09, Reset>
PB09: Extension 1 PWM- pin, ADC 0 analog pin 3, or ADC 1 analog pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
adc0_analog3, adc1_analog1, ext1_pwm_minus,
pb10: Pin<PB10, Reset>
PB10: QSPI serial clock
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qspi_sck,
pb11: Pin<PB11, Reset>
PB11: QSPI chip select pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
qspi_scs,
pb12: Pin<PB12, Reset>
PB12: ATA6561 on-board CAN device transmit pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ata6561_tx,
pb13: Pin<PB13, Reset>
PB13: ATA6561 on-board CAN device receive pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ata6561_rx,
pb14: Pin<PB14, Reset>
PB14: Extension 2 PWM+ pin or PCC data out pin 08
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_pwm_plus, pcc_dout08,
pb15: Pin<PB15, Reset>
PB15: Extension 2 PWM- pin or PCC data out pin 09
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_pwm_minus, pcc_dout09,
pb16: Pin<PB16, Reset>
PB16: Extension 2 UART transmit pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_uart_tx,
pb17: Pin<PB17, Reset>
PB17: Extension 2 UART receive pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_uart_rx,
pb18: Pin<PB18, Reset>
PB18: SD card data pin 0
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_data0,
pb19: Pin<PB19, Reset>
PB19: SD card data pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_data1,
pb20: Pin<PB20, Reset>
PB20: SD card data pin 2
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_data2,
pb21: Pin<PB21, Reset>
PB21: SD card data pin 3
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_data3,
pb22: Pin<PB22, Reset>
PB22: Xosc1 XIn/clock pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
xosc1_x_in, xosc1_clock,
pb23: Pin<PB23, Reset>
PB23: Xosc1 XOut pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
xosc1_x_out,
pb24: Pin<PB24, Reset>
PB24: EDBG connection UART receive pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
edbg_uart_rx,
pb25: Pin<PB25, Reset>
PB25: EDBG connection UART transmit pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
edbg_uart_tx,
pb26: Pin<PB26, Reset>
PB26: Extension 1 SPI serial clock pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_spi_sck,
pb27: Pin<PB27, Reset>
PB27: Extension 1 SPI MOSI pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_spi_mosi,
pb28: Pin<PB28, Reset>
PB28: Extension 1 SPI chip select pin A
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_spi_cs_a,
pb29: Pin<PB29, Reset>
PB29: Extension 1 SPI MISO pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext1_spi_miso,
pb30: Pin<PB30, Reset>
PB30: Serial wire out pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
swo,
pb31: Pin<PB31, Reset>
PB31: Switch 0, user-controlled button
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
button,
pc01: Pin<PC01, Reset>
PC01: Extension 3 GPIO pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_gpio1_in, ext3_gpio1_out,
pc02: Pin<PC02, Reset>
PC02: Extension 3 ADC+ pin, or ADC 1 analog pin 4
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_adc_plus, adc1_analog4,
pc03: Pin<PC03, Reset>
PC03: Extension 3 ADC- pin, or ADC 1 analog pin 5
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_adc_minus, adc1_analog5,
pc04: Pin<PC04, Reset>
PC04: SPI MOSI pin for extension 2, 3, or data gateway interface
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_spi_mosi, ext3_spi_mosi, dgi_spi_mosi,
pc05: Pin<PC05, Reset>
PC05: SPI serial clock pin for extension 2, 3, or data gateway interface
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_spi_sck, ext3_spi_sck, dgi_spi_sck,
pc06: Pin<PC06, Reset>
PC06: Extension 2 SPI chip select pin A
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_spi_cs_a,
pc07: Pin<PC07, Reset>
PC07: SPI MISO pin for extension 2, 3, or data gateway interface
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_spi_miso, ext3_spi_miso, dgi_spi_miso,
pc10: Pin<PC10, Reset>
PC10: Extension 3 GPIO pin 2
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_gpio2_in, ext3_gpio2_out,
pc11: Pin<PC11, Reset>
PC11: PCC PWDN pin, or Ethernet MDC pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_pwdn, eth_mdc,
pc12: Pin<PC12, Reset>
PC12: PCC reset pin, or ethernet GMDIO pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pcc_reset, eth_gmdio,
pc13: Pin<PC13, Reset>
PC13: ATA6561 on-board CAN device standby pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ata6561_standby,
pc14: Pin<PC14, Reset>
PC14: Extension 3 SPI chip select pin A
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_spi_cs_a,
pc16: Pin<PC16, Reset>
PC16: Position decoder phase A pin, or embedded debugger GPIO pin 0
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pdec_phase_a, edbg_gpio0_in, edbg_gpio0_out,
pc17: Pin<PC17, Reset>
PC17: Position decoder phase B pin, or embedded debugger GPIO pin 1
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
pdec_phase_b, edbg_gpio1_in, edbg_gpio1_out,
pc18: Pin<PC18, Reset>
PC18: LED output, position decoder index pin, or embedded debugger GPIO pin 2
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
led, pdec_index, edbg_gpio2_in, edbg_gpio2_out,
pc20: Pin<PC20, Reset>
PC20: Ethernet carrier sense / data valid pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
eth_crs_dv,
pc21: Pin<PC21, Reset>
PC21: Ethernet reset pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
eth_reset,
pc22: Pin<PC22, Reset>
PC22: Extension 3 UART transmit pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_uart_tx,
pc23: Pin<PC23, Reset>
PC23: Extension 3 UART receive pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_uart_rx,
pc30: Pin<PC30, Reset>
PC30: Extension 3 interrupt request/GPIO pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_irq_gpio_in, ext3_irq_gpio_out,
pc31: Pin<PC31, Reset>
PC31: Extension 3 SPI chip select pin B
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_spi_cs_b,
pd00: Pin<PD00, Reset>
PD00: Extension 2 interrupt request/GPIO pin, or ADC 1 analog pin 14
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_irq_gpio_in, ext2_irq_gpio_out, adc1_analog14,
pd01: Pin<PD01, Reset>
PD01: Data gateway interface chip select pin, or ADC 1 analog pin 15
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
dgi_spi_cs, adc1_analog15,
pd08: Pin<PD08, Reset>
PD08: Extension 2, 3, and data gateway interface I2C serial data pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_i2c_sda, ext3_i2c_sda, dgi_i2c_sda,
pd09: Pin<PD09, Reset>
PD09: Extension 2, 3, and data gateway interface I2C serial clock pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext2_i2c_scl, ext3_i2c_scl, dgi_i2c_scl,
pd10: Pin<PD10, Reset>
PD10: Extension 3 PWM+ pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_pwm_plus,
pd11: Pin<PD11, Reset>
PD11: Extension 3 PWM- pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
ext3_pwm_minus,
pd12: Pin<PD12, Reset>
PD12: Ethernet interrupt pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
eth_interrupt,
pd20: Pin<PD20, Reset>
PD20: SD card card detect pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_cd,
pd21: Pin<PD21, Reset>
PD21: SD card write protect pin
This field can also be accessed using the [pin_alias!
] macro with the following alternate names:
sd_wp,