Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
Classes | Namespaces | Macros | Enumerations | Functions | Variables
gpio.h File Reference
#include <inttypes.h>
Include dependency graph for gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hal::gpio::GPIO_TypeDef
 
struct  hal::gpio::GPIO_InitTypeDef
 
struct  hal::gpio::GPIO_pin
 

Namespaces

 hal::gpio
 GPIO interface.
 

Macros

#define ATOMIC_BLOCK(x)
 
#define GPIOA   (&::_GPIOA)
 
#define GPIOB   (&::_GPIOB)
 
#define GPIOC   (&::_GPIOC)
 
#define GPIOD   (&::_GPIOD)
 
#define GPIOE   (&::_GPIOE)
 
#define GPIOF   (&::_GPIOF)
 
#define GPIOG   (&::_GPIOG)
 
#define GPIOH   (&::_GPIOH)
 
#define GPIOJ   (&::_GPIOJ)
 
#define GPIOK   (&::_GPIOK)
 
#define GPIOL   (&::_GPIOL)
 

Enumerations

enum class  Mode : uint8_t { input = 0 , output }
 
enum class  Pull : uint8_t { none = 0 , up , down }
 
enum class  Level : uint8_t { low = 0 , high }
 

Functions

 hal::gpio::__attribute__ ((always_inline)) inline void WritePin(const GPIO_pin portPin
 

Variables

hal::gpio::GPIO_TypeDef _GPIOA
 
hal::gpio::GPIO_TypeDef _GPIOB
 
hal::gpio::GPIO_TypeDef _GPIOC
 
hal::gpio::GPIO_TypeDef _GPIOD
 
hal::gpio::GPIO_TypeDef _GPIOE
 
hal::gpio::GPIO_TypeDef _GPIOF
 
hal::gpio::GPIO_TypeDef _GPIOG
 
hal::gpio::GPIO_TypeDef _GPIOH
 
hal::gpio::GPIO_TypeDef _GPIOJ
 
hal::gpio::GPIO_TypeDef _GPIOK
 
hal::gpio::GPIO_TypeDef _GPIOL