Created
August 14, 2016 03:40
-
-
Save hocarm/eb4acfd777a0d14a2583740081f27d50 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
uint16_t GPIO_ReadInputData(GPIO_TypeDef* GPIOx) { | |
return (( uint16_t)GPIOx ->IDR); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment