Created
August 14, 2016 03:42
-
-
Save hocarm/0655a50086fe6179ff26c10a2aad9f2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void GPIO_Init(GPIO_TypeDef* GPIOx , | |
GPIO_InitTypeDef* GPIO_InitStruct); | |
uint8_t GPIO_ReadInputDataBit(GPIO_TypeDef* GPIOx , | |
uint16_t GPIO_Pin); | |
uint16_t GPIO_ReadInputData(GPIO_TypeDef* GPIOx); | |
uint8_t GPIO_ReadOutputDataBit(GPIO_TypeDef* GPIOx , | |
uint16_t GPIO_Pin); | |
uint16_t GPIO_ReadOutputData(GPIO_TypeDef* GPIOx); | |
void GPIO_SetBits(GPIO_TypeDef* GPIOx , uint16_t GPIO_Pin); | |
void GPIO_ResetBits(GPIO_TypeDef* GPIOx , uint16_t GPIO_Pin); | |
void GPIO_WriteBit(GPIO_TypeDef* GPIOx , uint16_t GPIO_Pin , | |
BitAction BitVal); | |
void GPIO_Write(GPIO_TypeDef* GPIOx , uint16_t PortVal); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment