ARM_minimal.
|
#include <io.h>
Veřejné atributy | |
__IO uint32_t | MODER |
__IO uint16_t | OTYPER |
uint16_t | RESERVED0 |
__IO uint32_t | OSPEEDR |
__IO uint32_t | PUPDR |
__IO uint16_t | IDR |
uint16_t | RESERVED1 |
__IO uint16_t | ODR |
uint16_t | RESERVED2 |
union { | |
__IO uint32_t BSRR | |
Takto to bylo původně, jeden 32. bit registr Address offset: 0x18. | |
struct { | |
__IO uint16_t BSRRL | |
spodní je nastavovací | |
__IO uint16_t BSRRH | |
horní je nulovací | |
} | |
}; | |
__IO uint32_t | LCKR |
__IO uint32_t | AFR [2] |
__IO uint16_t | BRR |
uint16_t | RESERVED3 |
General-purpose I/Os
__IO uint32_t GPIO_Type::AFR[2] |
GPIO alternate function low register, Address offset: 0x20-0x24
__IO uint16_t GPIO_Type::BRR |
GPIO bit reset register, Address offset: 0x28
__IO uint16_t GPIO_Type::IDR |
GPIO port input data register, Address offset: 0x10
__IO uint32_t GPIO_Type::LCKR |
GPIO port configuration lock register, Address offset: 0x1C
__IO uint32_t GPIO_Type::MODER |
GPIO port mode register, Address offset: 0x00
__IO uint16_t GPIO_Type::ODR |
GPIO port output data register, Address offset: 0x14
__IO uint32_t GPIO_Type::OSPEEDR |
GPIO port output speed register, Address offset: 0x08
__IO uint16_t GPIO_Type::OTYPER |
GPIO port output type register, Address offset: 0x04
__IO uint32_t GPIO_Type::PUPDR |
GPIO port pull-up/pull-down register, Address offset: 0x0C
uint16_t GPIO_Type::RESERVED0 |
Reserved, 0x06
uint16_t GPIO_Type::RESERVED1 |
Reserved, 0x12
uint16_t GPIO_Type::RESERVED2 |
Reserved, 0x16
uint16_t GPIO_Type::RESERVED3 |
Reserved, 0x2A