forked from trocache/RefKEIL
27 lines
432 B
C
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)
|
|
{
|
|
|
|
}
|