Dear Community members, I am writing code from scratch to glow LED present in PC13 of STM32F103C(Blue pill) but the LED is not getting turned ON. Kindly help me with this. I am attaching the code below.
Code://LED//Pin:C//Pin Num:13#define PERIPH_BASE (0x40000000UL)#define APB2_OFFSET (0x00010000UL)#define APB2BASEADD (PERIPH_BASE + APB2_OFFSET)#define GPIOC_OFFSET (0x1000UL)#define GPIOC_BASE (APB2BASEADD+GPIOC_OFFSET)#define AHB_OFFSET (0x18000UL)...