|
libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|

Macros | |
| #define | PORT_DIR(port) MMIO32((port) + 0x0000) |
| Direction register. More... | |
| #define | PORT_DIRCLR(port) MMIO32((port) + 0x0004) |
| Direction clear register. More... | |
| #define | PORT_DIRSET(port) MMIO32((port) + 0x0008) |
| Direction set register. More... | |
| #define | PORT_DIRTGL(port) MMIO32((port) + 0x000c) |
| Direction toggle register. More... | |
| #define | PORT_OUT(port) MMIO32((port) + 0x0010) |
| output register More... | |
| #define | PORT_OUTCLR(port) MMIO32((port) + 0x0014) |
| output clear register More... | |
| #define | PORT_OUTSET(port) MMIO32((port) + 0x0018) |
| output set register More... | |
| #define | PORT_OUTTGL(port) MMIO32((port) + 0x001c) |
| output toggle register More... | |
| #define | PORT_IN(port) MMIO32((port) + 0x0020) |
| input register More... | |
| #define | PORT_CTRL(port) MMIO32((port) + 0x0024) |
| Control register. More... | |
| #define | PORT_WRCONFIG(port) MMIO32((port) + 0x0028) |
| Write configuration register. More... | |
| #define | PORT_PMUX(port, n) MMIO8((port) + 0x0030 + (n)) |
| Peripheral multiplexing registers. More... | |
| #define | PORT_PINCFG(port, n) MMIO8((port) + 0x0040 + (n)) |
| Pin configuration registers. More... | |
| #define PORT_CTRL | ( | port | ) | MMIO32((port) + 0x0024) |
| #define PORT_DIR | ( | port | ) | MMIO32((port) + 0x0000) |
| #define PORT_DIRCLR | ( | port | ) | MMIO32((port) + 0x0004) |
| #define PORT_DIRSET | ( | port | ) | MMIO32((port) + 0x0008) |
| #define PORT_DIRTGL | ( | port | ) | MMIO32((port) + 0x000c) |
| #define PORT_IN | ( | port | ) | MMIO32((port) + 0x0020) |
| #define PORT_OUT | ( | port | ) | MMIO32((port) + 0x0010) |
| #define PORT_OUTCLR | ( | port | ) | MMIO32((port) + 0x0014) |
| #define PORT_OUTSET | ( | port | ) | MMIO32((port) + 0x0018) |
| #define PORT_OUTTGL | ( | port | ) | MMIO32((port) + 0x001c) |
| #define PORT_PINCFG | ( | port, | |
| n | |||
| ) | MMIO8((port) + 0x0040 + (n)) |
| #define PORT_PMUX | ( | port, | |
| n | |||
| ) | MMIO8((port) + 0x0030 + (n)) |