17#ifndef LIBBSP_ARM_RASPBERRYPI_RPI_GPIO_H
18#define LIBBSP_ARM_RASPBERRYPI_RPI_GPIO_H
29#define RPI_DIGITAL_IN 0
30#define RPI_DIGITAL_OUT 1
31#define RPI_ALT_FUNC_0 4
32#define RPI_ALT_FUNC_1 5
33#define RPI_ALT_FUNC_2 6
34#define RPI_ALT_FUNC_3 7
35#define RPI_ALT_FUNC_4 3
36#define RPI_ALT_FUNC_5 2
37#define RPI_ALT_FUNC_MASK 7
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
rtems_status_code rpi_gpio_select_spi(void)
Setups a SPI interface.
Definition: rpi-gpio.c:285
rtems_status_code rpi_gpio_select_jtag(void)
Setups a JTAG interface.
Definition: rpi-gpio.c:280
rtems_status_code rpi_gpio_select_i2c(void)
Setups a I2C interface.
Definition: rpi-gpio.c:290
This header file defines the RTEMS Classic API.