gpio_lm3s.h File Reference
LM3S1968 GPIO control interface. More...
#include <io/lm3s.h>Go to the source code of this file.
Enumerations | |
| enum | |
GPIO mode. | |
| enum | |
GPIO strenght. | |
| enum | |
GPIO type. | |
Functions | |
| int | lm3s_gpioPinConfig (uint32_t port, uint8_t pins, uint32_t mode, uint32_t strength, uint32_t type) |
| Configure a GPIO pin. | |
Detailed Description
LM3S1968 GPIO control interface.
Definition in file gpio_lm3s.h.
Function Documentation
| int lm3s_gpioPinConfig | ( | uint32_t | port, | |
| uint8_t | pins, | |||
| uint32_t | mode, | |||
| uint32_t | strength, | |||
| uint32_t | type | |||
| ) |
Configure a GPIO pin.
- Parameters:
-
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.
