![]() |
RTEMS 5.2
|
#include <bspopts.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | lm3s69xx_gpio_config |
Macros | |
#define | LM3S69XX_GPIO_PIN(port, idx) (((port) << 3) | (idx)) |
#define | LM3S69XX_GPIO_PORT_OF_PIN(pin) (((pin) >> 3) & 0xf) |
#define | LM3S69XX_GPIO_INDEX_OF_PIN(pin) ((pin) & 0x7) |
#define | LM3S69XX_PIN_UART_TX(port, idx) |
#define | LM3S69XX_PIN_UART_RX(port, idx) |
#define | LM3S69XX_PIN_UART_RTS(port, idx) |
#define | LM3S69XX_PIN_UART_CTS(port, idx) |
#define | LM3S69XX_PIN_LED(port, idx) |
#define | LM3S69XX_PIN_SSI_TX(port, idx) LM3S69XX_PIN_UART_TX(port, idx) |
#define | LM3S69XX_PIN_SSI_RX(port, idx) LM3S69XX_PIN_UART_RX(port, idx) |
Functions | |
void | lm3s69xx_gpio_set_config (const lm3s69xx_gpio_config *config) |
void | lm3s69xx_gpio_set_config_array (const lm3s69xx_gpio_config *configs, unsigned int count) |
void | lm3s69xx_gpio_digital_enable (unsigned int pin, bool enable) |
void | lm3s69xx_gpio_analog_mode_select (unsigned int pin, bool enable) |
void | lm3s69xx_gpio_set_pin (unsigned int pin, bool set) |
bool | lm3s69xx_gpio_get_pin (unsigned int pin) |
IO definitions.
#define LM3S69XX_PIN_LED | ( | port, | |
idx | |||
) |
#define LM3S69XX_PIN_UART_CTS | ( | port, | |
idx | |||
) |
#define LM3S69XX_PIN_UART_RTS | ( | port, | |
idx | |||
) |
#define LM3S69XX_PIN_UART_RX | ( | port, | |
idx | |||
) |
#define LM3S69XX_PIN_UART_TX | ( | port, | |
idx | |||
) |
void lm3s69xx_gpio_analog_mode_select | ( | unsigned int | pin, |
bool | enable | ||
) |
Enables/disables analog mode on the specified pin.
void lm3s69xx_gpio_digital_enable | ( | unsigned int | pin, |
bool | enable | ||
) |
Enables/disables digital function on the specified pin.