RefKEIL/ProjetsKEIL/Drivers/gpiodriver.c
2023-03-17 11:37:10 +01:00

27 lines
432 B
C

#include "gpiodriver.h"
void MyGPIO_Init(MyGPIO_Struct_TypeDef * GPIOStructPtr)
{
RCC->APB2ENR |= (0x01 << 2) | (0x01 << 3) | (0x01 << 4);
GPIOStructPtr->GPIO_Conf;
}
int MyGPIO_Read(GPIO_TypeDef * GPIO, uint8_t GPIO_Pin)
{
return 0;
}
void MyGPIO_Set(GPIO_TypeDef * GPIO, uint8_t GPIO_Pin)
{
}
void MyGPIO_Reset(GPIO_TypeDef * GPIO, uint8_t GPIO_Pin)
{
}
void MyGPIO_Toggle(GPIO_TypeDef * GPIO, uint8_t GPIO_Pin)
{
}