Created
August 14, 2016 03:36
-
-
Save hocarm/eb06e16df9adf4a0b38a66a67b1dd7ad to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #define PERIPH_BASE (( uint32_t)0x40000000) | |
| #define APB2PERIPH_BASE (PERIPH_BASE + 0x10000) | |
| #define GPIOA_BASE (APB2PERIPH_BASE + 0x0800) | |
| #define GPIOA (( GPIO_TypeDef *) GPIOA_BASE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment