Files
BA_DIY_Power_PCB/main/include/GPIO.h
der_zaske 56f6c33124 changed structer of whole Project
-Added GPIO.c
-Added ADC.c
-Added mcpwm.c
-Added all headrs for new files
-Fixed Header usage
-Fixed parsed pins only import  once
2025-01-26 01:07:40 +01:00

20 lines
361 B
C

#ifndef GPIO_H
#define GPIO_H
#include <stdbool.h>
#include <stdint.h>
//configure GPIOs
void configure_GPIO_dir();
//functions for external Encoder
int get_direction();
float get_speed_index();
float get_speed_AB();
//functions for internal Encoder
int16_t get_enc_in_counter();
void set_enc_in_counter(int16_t inital_value);
bool get_enc_in_but();
#endif