Defined Constants and Types for the LM3S General Purpose I/O
More...
|
| void | gpio_set (uint32_t gpioport, uint8_t gpios) |
| |
| void | gpio_clear (uint32_t gpioport, uint8_t gpios) |
| |
Defined Constants and Types for the LM3S General Purpose I/O
- Version
- 1.0.0
- Author
- © 2011 Gareth McMullin garet.nosp@m.h@bl.nosp@m.acksp.nosp@m.here.nosp@m..co.n.nosp@m.z
- Date
- 10 March 2013
LGPL License Terms libopencm3 License
◆ GPIO0
◆ GPIO1
◆ GPIO2
◆ GPIO3
◆ GPIO4
◆ GPIO5
◆ GPIO6
◆ GPIO7
◆ GPIO_AFSEL
| #define GPIO_AFSEL |
( |
|
port | ) |
MMIO32((port) + 0x420) |
◆ GPIO_AMSEL
| #define GPIO_AMSEL |
( |
|
port | ) |
MMIO32((port) + 0x528) |
◆ GPIO_CR
| #define GPIO_CR |
( |
|
port | ) |
MMIO32((port) + 0x524) |
◆ GPIO_DATA
| #define GPIO_DATA |
( |
|
port | ) |
(&MMIO32((port) + 0x000)) |
◆ GPIO_DEN
| #define GPIO_DEN |
( |
|
port | ) |
MMIO32((port) + 0x51c) |
◆ GPIO_DIR
| #define GPIO_DIR |
( |
|
port | ) |
MMIO32((port) + 0x400) |
◆ GPIO_DR2R
| #define GPIO_DR2R |
( |
|
port | ) |
MMIO32((port) + 0x500) |
◆ GPIO_DR4R
| #define GPIO_DR4R |
( |
|
port | ) |
MMIO32((port) + 0x504) |
◆ GPIO_DR8R
| #define GPIO_DR8R |
( |
|
port | ) |
MMIO32((port) + 0x508) |
◆ GPIO_IBE
| #define GPIO_IBE |
( |
|
port | ) |
MMIO32((port) + 0x408) |
◆ GPIO_ICR
| #define GPIO_ICR |
( |
|
port | ) |
MMIO32((port) + 0x41c) |
◆ GPIO_IEV
| #define GPIO_IEV |
( |
|
port | ) |
MMIO32((port) + 0x40c) |
◆ GPIO_IM
| #define GPIO_IM |
( |
|
port | ) |
MMIO32((port) + 0x410) |
◆ GPIO_IS
| #define GPIO_IS |
( |
|
port | ) |
MMIO32((port) + 0x404) |
◆ GPIO_LOCK
| #define GPIO_LOCK |
( |
|
port | ) |
MMIO32((port) + 0x520) |
◆ GPIO_MIS
| #define GPIO_MIS |
( |
|
port | ) |
MMIO32((port) + 0x418) |
◆ GPIO_ODR
| #define GPIO_ODR |
( |
|
port | ) |
MMIO32((port) + 0x50c) |
◆ GPIO_PDR
| #define GPIO_PDR |
( |
|
port | ) |
MMIO32((port) + 0x514) |
◆ GPIO_PUR
| #define GPIO_PUR |
( |
|
port | ) |
MMIO32((port) + 0x510) |
◆ GPIO_RIS
| #define GPIO_RIS |
( |
|
port | ) |
MMIO32((port) + 0x414) |
◆ GPIO_SLR
| #define GPIO_SLR |
( |
|
port | ) |
MMIO32((port) + 0x518) |
◆ GPIOA
◆ GPIOB
◆ GPIOC
◆ GPIOD
◆ GPIOE
◆ GPIOF
◆ GPIOG
◆ GPIOH
◆ gpio_clear()
| void gpio_clear |
( |
uint32_t |
gpioport, |
|
|
uint8_t |
gpios |
|
) |
| |
◆ gpio_set()
| void gpio_set |
( |
uint32_t |
gpioport, |
|
|
uint8_t |
gpios |
|
) |
| |