RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros | Variables
gpio-interfaces-pi1-rev2.c File Reference

Raspberry PI 1 rev2 GPIO interface definitions. More...

Macros

#define JTAG_PIN_COUNT   5
 
#define SPI_PIN_COUNT   5
 
#define I2C_PIN_COUNT   2
 

Variables

const rtems_gpio_pin_conf jtag_config [JTAG_PIN_COUNT]
 
const rtems_gpio_pin_conf spi_config [SPI_PIN_COUNT]
 
const rtems_gpio_pin_conf i2c_config [I2C_PIN_COUNT]
 

Detailed Description

Raspberry PI 1 rev2 GPIO interface definitions.

Variable Documentation

◆ i2c_config

const rtems_gpio_pin_conf i2c_config[I2C_PIN_COUNT]
Initial value:
= {
{
.pin_number = 2,
.function = BSP_SPECIFIC,
.pull_mode = PULL_UP,
.interrupt = NULL,
.output_enabled = FALSE,
.logic_invert = FALSE,
.bsp_specific = &alt_func_def[0]
},
{
.pin_number = 3,
.function = BSP_SPECIFIC,
.pull_mode = PULL_UP,
.interrupt = NULL,
.output_enabled = FALSE,
.logic_invert = FALSE,
.bsp_specific = &alt_func_def[0]
}
}