BeRTOS
|
LM3S1968 GPIO control interface. More...
Go to the source code of this file.
Functions | |
int | lm3s_gpioPinConfig (uint32_t port, uint8_t pins, uint32_t mode, uint32_t strength, uint32_t type) |
Configure a GPIO pin. |
LM3S1968 GPIO control interface.
Definition in file gpio_lm3s.c.
int lm3s_gpioPinConfig | ( | uint32_t | port, |
uint8_t | pins, | ||
uint32_t | mode, | ||
uint32_t | strength, | ||
uint32_t | type | ||
) |
Configure a GPIO pin.
port | Base address of the GPIO port |
pins | Bit-packed representation of the pin(s) |
mode | Pin(s) configuration mode |
strength | Output drive strength |
type | Pin(s) type |
Return 0 on success, otherwise a negative value.
Definition at line 191 of file gpio_lm3s.c.