NavHAL 0.1.0
NAVRobotec's architecture-agnostic HAL for embedded systems.
Loading...
Searching...
No Matches
GPIOx_Typedef Struct Reference

GPIO port register structure. More...

#include <gpio_reg.h>

Public Attributes

__IO uint32_t MODER
__IO uint32_t OTYPER
__IO uint32_t OSPEEDR
__IO uint32_t PUPDR
__IO uint32_t IDR
__IO uint32_t ODR
__IO uint32_t BSRR
__IO uint32_t LCKR
__IO uint32_t AFRL
__IO uint32_t AFRH

Detailed Description

GPIO port register structure.

Represents all the standard registers for a GPIO port:

  • MODER : Mode register
  • OTYPER : Output type register
  • OSPEEDR : Output speed register
  • PUPDR : Pull-up/Pull-down register
  • IDR : Input data register
  • ODR : Output data register
  • BSRR : Bit set/reset register
  • LCKR : Configuration lock register
  • AFRL : Alternate function low register
  • AFRH : Alternate function high register

Member Data Documentation

◆ AFRH

__IO uint32_t GPIOx_Typedef::AFRH

GPIO alternate function high register

◆ AFRL

__IO uint32_t GPIOx_Typedef::AFRL

GPIO alternate function low register

◆ BSRR

__IO uint32_t GPIOx_Typedef::BSRR

GPIO bit set/reset register

◆ IDR

__IO uint32_t GPIOx_Typedef::IDR

GPIO input data register

◆ LCKR

__IO uint32_t GPIOx_Typedef::LCKR

GPIO configuration lock register

◆ MODER

__IO uint32_t GPIOx_Typedef::MODER

GPIO port mode register

◆ ODR

__IO uint32_t GPIOx_Typedef::ODR

GPIO output data register

◆ OSPEEDR

__IO uint32_t GPIOx_Typedef::OSPEEDR

GPIO output speed register

◆ OTYPER

__IO uint32_t GPIOx_Typedef::OTYPER

GPIO output type register

◆ PUPDR

__IO uint32_t GPIOx_Typedef::PUPDR

GPIO pull-up/pull-down register


The documentation for this struct was generated from the following file: