|
STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
|
GPIO port register block. More...
#include <gpio_reg.h>
Data Fields | |
| volatile uint32_t | MODER |
| 0x00: mode, 2 bits per pin | |
| volatile uint32_t | OTYPER |
| 0x04: output type, 1 bit per pin | |
| volatile uint32_t | OSPEEDR |
| 0x08: output speed, 2 bits per pin | |
| volatile uint32_t | PUPDR |
| 0x0C: pull-up/pull-down, 2 bits per pin | |
| volatile const uint32_t | IDR |
| 0x10: input data, ro | |
| volatile uint32_t | ODR |
| 0x14: output data | |
| volatile uint32_t | BSRR |
| 0x18: bit set/reset, wo | |
| volatile uint32_t | LCKR |
| 0x1C: configuration lock | |
| volatile uint32_t | AFRL |
| 0x20: alternate function, pins 0-7 | |
| volatile uint32_t | AFRH |
| 0x24: alternate function, pins 8-15 | |
GPIO port register block.
Every register is rw unless noted.
Definition at line 32 of file gpio_reg.h.
| volatile uint32_t GpioRegisters_t::MODER |
0x00: mode, 2 bits per pin
Definition at line 34 of file gpio_reg.h.
Referenced by gpioDeinitToReset(), and gpioInit().
| volatile uint32_t GpioRegisters_t::OTYPER |
0x04: output type, 1 bit per pin
Definition at line 35 of file gpio_reg.h.
Referenced by gpioDeinitToReset(), and gpioInit().
| volatile uint32_t GpioRegisters_t::OSPEEDR |
0x08: output speed, 2 bits per pin
Definition at line 36 of file gpio_reg.h.
Referenced by gpioDeinitToReset(), and gpioInit().
| volatile uint32_t GpioRegisters_t::PUPDR |
0x0C: pull-up/pull-down, 2 bits per pin
Definition at line 37 of file gpio_reg.h.
Referenced by gpioDeinitToReset(), and gpioInit().
| volatile const uint32_t GpioRegisters_t::IDR |
| volatile uint32_t GpioRegisters_t::ODR |
| volatile uint32_t GpioRegisters_t::BSRR |
0x18: bit set/reset, wo
Definition at line 40 of file gpio_reg.h.
Referenced by gpioTogglePin(), and gpioWritePin().
| volatile uint32_t GpioRegisters_t::LCKR |
0x1C: configuration lock
Definition at line 41 of file gpio_reg.h.
| volatile uint32_t GpioRegisters_t::AFRL |
0x20: alternate function, pins 0-7
Definition at line 42 of file gpio_reg.h.
Referenced by gpioDeinitToReset(), and gpioSetAlternateFunction().
| volatile uint32_t GpioRegisters_t::AFRH |
0x24: alternate function, pins 8-15
Definition at line 43 of file gpio_reg.h.
Referenced by gpioDeinitToReset(), and gpioSetAlternateFunction().