General-purpose and alternate-function I/Os (GPIOs and AFIOs)
#include <gpio.hpp>
|
struct | CRx |
| GPIO port configuration register: returns CRL or CRH type dependent on pin_no. More...
|
|
|
using | CRL = reg< uint32_t, base_addr+0x00, rw, 0x44444444 > |
| Port configuration register low. More...
|
|
using | CRH = reg< uint32_t, base_addr+0x04, rw, 0x44444444 > |
| Port configuration register high. More...
|
|
using | IDR = reg< uint32_t, base_addr+0x08, ro, 0x00000000 > |
| Port input data register. More...
|
|
using | ODR = reg< uint32_t, base_addr+0x0c, rw, 0x00000000 > |
| Port output data register. More...
|
|
using | BSRR = reg< uint32_t, base_addr+0x10, wo, 0x00000000 > |
| Port bit set/reset register. More...
|
|
using | BRR = reg< uint32_t, base_addr+0x14, wo, 0x00000000 > |
| Port bit reset register. More...
|
|
using | LCKR = reg< uint32_t, base_addr+0x18, rw, 0x00000000 > |
| Port configuration lock register. More...
|
|
◆ BRR
◆ BSRR
◆ CRH
◆ CRL
◆ IDR
◆ LCKR
◆ ODR
◆ base_addr
◆ gpio_no
template<char port>
constexpr unsigned mptl::GPIO< port >::gpio_no = port - 'A' |
|
static |
The documentation for this struct was generated from the following file:
- arch/arm/cortex/stm32/f1/include/arch/reg/gpio.hpp