gpio.c File Reference
#include "kubos-hal/gpio.h"
#include "kubos-hal-stm32f4/stm32f4_gpio.h"
#include "stm32f4xx.h"
#include "stm32f4xx_hal_gpio.h"
#include "stm32f4xx_hal_rcc.h"

Functions

void k_gpio_init (int pin, KGPIOMode mode, KGPIOPullup pullup)
 
unsigned int k_gpio_read (int pin)
 
void k_gpio_write (int pin, unsigned int val)
 
void kprv_gpio_alt_config (GPIO_TypeDef *GPIOx, uint16_t GPIO_PinSource, uint8_t GPIO_AF)