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

Macros | |
| #define | PORT_WRCONFIG_HWSEL (1 << 31) |
| HWSEL: Half word select: 0 [15:0], 1 [31:16]. More... | |
| #define | PORT_WRCONFIG_WRPINCFG (1 << 30) |
| WRPINCFG: Write PINCFG: 1 to update pins for selected by PINMASK. More... | |
| #define | PORT_WRCONFIG_WRPMUX (1 << 28) |
| WRPMUX: Write PMUX: 1 to update pins pmux for selected by PINMASK. More... | |
| #define | PORT_WRCONFIG_PMUX(mux) ((0xf & (mux)) << 24) |
| PMUX: Peripheral Multiplexing: determine pmux for pins selected by PINMASK. More... | |
| #define | PORT_WRCONFIG_DRVSTR (1 << 22) |
| DRVSTR: Output Driver Strength Selection: determine strength for pins in PINMASK. More... | |
| #define | PORT_WRCONFIG_PULLEN (1 << 18) |
| PULLEN: Pull Enable: enable PINCFGy.PULLEN for pins in PINMASK. More... | |
| #define | PORT_WRCONFIG_INEN (1 << 17) |
| INEN: Input Enable: enable PINCFGy.INEN for pins in PINMASK. More... | |
| #define | PORT_WRCONFIG_PMUXEN (1 << 16) |
| PMUXEN: Peripheral Multiplexer Enable: enable PINCFGy.PMUXEN for pins in PINMASK. More... | |
| #define | PORT_WRCONFIG_PINMASK(pins) ((0xffff & (pins)) << 0) |
| PINMASK: Pin Mask for Multiple Pin Configuration: select pins to be configured [31:16] if HWSET=1, [15:0] if HWSET=0. More... | |
| #define PORT_WRCONFIG_DRVSTR (1 << 22) |
| #define PORT_WRCONFIG_HWSEL (1 << 31) |
| #define PORT_WRCONFIG_INEN (1 << 17) |
| #define PORT_WRCONFIG_PINMASK | ( | pins | ) | ((0xffff & (pins)) << 0) |
| #define PORT_WRCONFIG_PMUX | ( | mux | ) | ((0xf & (mux)) << 24) |
| #define PORT_WRCONFIG_PMUXEN (1 << 16) |
| #define PORT_WRCONFIG_PULLEN (1 << 18) |
| #define PORT_WRCONFIG_WRPINCFG (1 << 30) |