Prusa MINI Firmware overview
|
Go to the documentation of this file.
91 return (GPIO_TypeDef *)(GPIOA_BASE + (GPIOB_BASE - GPIOA_BASE) * (pin8 >> 4));
104 GPIO_InitStruct.
Pin = (1 << (pin8 & 0x0f));
106 GPIO_InitStruct.
Pull = pull;
107 GPIO_InitStruct.
Speed = speed;
uint32_t Mode
Definition: stm32f4xx_hal_gpio.h:68
static volatile fsensor_t state
Definition: filament_sensor.c:23
uint32_t Pull
Definition: stm32f4xx_hal_gpio.h:71
static int gpio_get(uint8_t pin8)
Definition: gpio.h:94
Definition: stm32f4xx_hal_gpio.h:87
Definition: stm32f4xx_hal_gpio.h:86
static void gpio_init(uint8_t pin8, uint32_t mode, uint32_t pull, uint32_t speed)
Definition: gpio.h:102
GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)
const uint8_t[]
Definition: 404_html.c:3
This file contains all the functions prototypes for the HAL module driver.
uint32_t Pin
Definition: stm32f4xx_hal_gpio.h:65
uint32_t Speed
Definition: stm32f4xx_hal_gpio.h:74
static void gpio_set(uint8_t pin8, int state)
Definition: gpio.h:98
png_structrp int mode
Definition: png.h:1139
static GPIO_TypeDef * gpio_port(uint8_t pin8)
Definition: gpio.h:90
GPIO Init structure definition.
Definition: stm32f4xx_hal_gpio.h:63