Defined Constants and Types for the LPC17xx General Purpose I/O
More...
|
void | gpio_set (uint32_t gpioport, uint32_t gpios) |
|
void | gpio_clear (uint32_t gpioport, uint32_t gpios) |
|
Defined Constants and Types for the LPC17xx General Purpose I/O
- Version
- 1.0.0
- Author
- © 2009 Uwe Hermann uwe@h.nosp@m.erma.nosp@m.nn-uw.nosp@m.e.de
- Date
- 10 March 2013
LGPL License Terms libopencm3 License
◆ GPIO0
◆ GPIO0_CLR
◆ GPIO0_DIR
◆ GPIO0_IC
◆ GPIO0_IEF
◆ GPIO0_IER
◆ GPIO0_ISF
◆ GPIO0_ISR
◆ GPIO0_MASK
◆ GPIO0_PIN
◆ GPIO0_SET
◆ GPIO1
◆ GPIO1_CLR
◆ GPIO1_DIR
◆ GPIO1_IC
◆ GPIO1_MASK
◆ GPIO1_PIN
◆ GPIO1_SET
◆ GPIO2
◆ GPIO2_CLR
◆ GPIO2_DIR
◆ GPIO2_IEF
◆ GPIO2_IER
◆ GPIO2_ISF
◆ GPIO2_ISR
◆ GPIO2_MASK
◆ GPIO2_PIN
◆ GPIO2_SET
◆ GPIO3
◆ GPIO3_CLR
◆ GPIO3_DIR
◆ GPIO3_MASK
◆ GPIO3_PIN
◆ GPIO3_SET
◆ GPIO4
◆ GPIO4_CLR
◆ GPIO4_DIR
◆ GPIO4_MASK
◆ GPIO4_PIN
◆ GPIO4_SET
◆ GPIO_CLR
#define GPIO_CLR |
( |
|
port | ) |
MMIO32((port) + 0x1C) |
◆ GPIO_DIR
#define GPIO_DIR |
( |
|
port | ) |
MMIO32((port) + 0x00) |
◆ GPIO_IS
◆ GPIO_MASK
#define GPIO_MASK |
( |
|
port | ) |
MMIO32((port) + 0x10) |
◆ GPIO_PIN
#define GPIO_PIN |
( |
|
port | ) |
MMIO32((port) + 0x14) |
◆ GPIO_SET
#define GPIO_SET |
( |
|
port | ) |
MMIO32((port) + 0x18) |
◆ GPIOPIN0
#define GPIOPIN0 (1 << 0) |
◆ GPIOPIN1
#define GPIOPIN1 (1 << 1) |
◆ GPIOPIN10
#define GPIOPIN10 (1 << 10) |
◆ GPIOPIN11
#define GPIOPIN11 (1 << 11) |
◆ GPIOPIN12
#define GPIOPIN12 (1 << 12) |
◆ GPIOPIN13
#define GPIOPIN13 (1 << 13) |
◆ GPIOPIN14
#define GPIOPIN14 (1 << 14) |
◆ GPIOPIN15
#define GPIOPIN15 (1 << 15) |
◆ GPIOPIN16
#define GPIOPIN16 (1 << 16) |
◆ GPIOPIN17
#define GPIOPIN17 (1 << 17) |
◆ GPIOPIN18
#define GPIOPIN18 (1 << 18) |
◆ GPIOPIN19
#define GPIOPIN19 (1 << 19) |
◆ GPIOPIN2
#define GPIOPIN2 (1 << 2) |
◆ GPIOPIN20
#define GPIOPIN20 (1 << 20) |
◆ GPIOPIN21
#define GPIOPIN21 (1 << 21) |
◆ GPIOPIN22
#define GPIOPIN22 (1 << 22) |
◆ GPIOPIN23
#define GPIOPIN23 (1 << 23) |
◆ GPIOPIN24
#define GPIOPIN24 (1 << 24) |
◆ GPIOPIN25
#define GPIOPIN25 (1 << 25) |
◆ GPIOPIN26
#define GPIOPIN26 (1 << 26) |
◆ GPIOPIN27
#define GPIOPIN27 (1 << 27) |
◆ GPIOPIN28
#define GPIOPIN28 (1 << 28) |
◆ GPIOPIN29
#define GPIOPIN29 (1 << 29) |
◆ GPIOPIN3
#define GPIOPIN3 (1 << 3) |
◆ GPIOPIN30
#define GPIOPIN30 (1 << 30) |
◆ GPIOPIN31
#define GPIOPIN31 (1 << 31) |
◆ GPIOPIN4
#define GPIOPIN4 (1 << 4) |
◆ GPIOPIN5
#define GPIOPIN5 (1 << 5) |
◆ GPIOPIN6
#define GPIOPIN6 (1 << 6) |
◆ GPIOPIN7
#define GPIOPIN7 (1 << 7) |
◆ GPIOPIN8
#define GPIOPIN8 (1 << 8) |
◆ GPIOPIN9
#define GPIOPIN9 (1 << 9) |
◆ gpio_clear()
void gpio_clear |
( |
uint32_t |
gpioport, |
|
|
uint32_t |
gpios |
|
) |
| |
◆ gpio_set()
void gpio_set |
( |
uint32_t |
gpioport, |
|
|
uint32_t |
gpios |
|
) |
| |