RTEMS
5.1
|
Raspberry Pi specific GPIO definitions. More...
#include <rtems.h>
Go to the source code of this file.
Macros | |
#define | RPI_DIGITAL_IN 0 |
Raspberry Pi GPIO functions. | |
#define | RPI_DIGITAL_OUT 1 |
#define | RPI_ALT_FUNC_0 4 |
#define | RPI_ALT_FUNC_1 5 |
#define | RPI_ALT_FUNC_2 6 |
#define | RPI_ALT_FUNC_3 7 |
#define | RPI_ALT_FUNC_4 3 |
#define | RPI_ALT_FUNC_5 2 |
#define | RPI_ALT_FUNC_MASK 7 |
Functions | |
rtems_status_code | rpi_gpio_select_jtag (void) |
Setups a JTAG interface. More... | |
rtems_status_code | rpi_gpio_select_spi (void) |
Setups a SPI interface. More... | |
rtems_status_code | rpi_gpio_select_i2c (void) |
Setups a I2C interface. More... | |
Raspberry Pi specific GPIO definitions.
rtems_status_code rpi_gpio_select_i2c | ( | void | ) |
Setups a I2C interface.
RTEMS_SUCCESSFUL | I2C interface successfully configured. |
* | At least one of the required pins is currently occupied, |
rtems_status_code rpi_gpio_select_jtag | ( | void | ) |
Setups a JTAG interface.
RTEMS_SUCCESSFUL | JTAG interface successfully configured. |
* | At least one of the required pins is currently occupied, |
rtems_status_code rpi_gpio_select_spi | ( | void | ) |
Setups a SPI interface.
RTEMS_SUCCESSFUL | SPI interface successfully configured. |
* | At least one of the required pins is currently occupied, |