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
#include "stm32f1xx_hal.h" //This header contains all the functions prototypes for the HAL module driver. | |
void SystemClock_Config(void); //Initizing System Clock 8Mhz | |
void Error_Handler(void); //Error Handler- We are not going to use it. | |
static void MX_GPIO_Init(void); //GPIO Initialization function | |
HAL_Init(); //Initialize the Hal Drivers | |
HAL_GPIO_TogglePin(Led_GPIO_Port,Led_Pin); //Toggle Gpio | |
HAL_Delay(1000); //Delay 1second | |
__HAL_RCC_GPIOC_CLK_ENABLE(); //Enable GPIO Clock | |
HAL_GPIO_WritePin(Led_GPIO_Port, Led_Pin, GPIO_PIN_RESET); //Initialize the GPIO Pin Output Level |
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
#include "main.h" | |
#include "stm32f1xx_hal.h" //This header contains all the functions prototypes | |
//for the HAL module driver. | |
void SystemClock_Config(void); //Initizing System Clock 8Mhz | |
void Error_Handler(void); //Error Handler- We are not going to use it. | |
static void MX_GPIO_Init(void); //GPIO Initialization function | |
int main(void) |
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
/**************************************************** | |
Dated: 10 October 2018 | |
Property off: www.microcontroller-project.com | |
Written by : Usman Ali Butt (usa_butt@hotmail.com) | |
****************************************************/ | |
/* Includes ------------------------------------------------------------------*/ | |
#include "main.h" | |
#include "stm32f1xx_hal.h" |
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
#include "main.h" | |
#include "stm32f1xx_hal.h" | |
void SystemClock_Config(void); | |
void Error_Handler(void); | |
static void MX_GPIO_Init(void); | |
int main(void) | |
{ |
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
/**************************************************** | |
*Property off = www.microcontroller-project.com * | |
*Author = Usman Ali Butt * | |
*Date = 21 March 2017 * | |
*****************************************************/ | |
#include "main.h" | |
#include "stm32f1xx_hal.h" |
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
/**************************************************** | |
*Property off = www.microcontroller-project.com * | |
*Author = Usman Ali Butt * | |
*Date = 10 April 2017 * | |
* * | |
*****************************************************/ | |
#include "main.h" | |
#include "stm32f1xx_hal.h" |
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
#include "main.h" //Main Header File | |
#include "stm32f1xx_hal.h" //Hal drivers included for stm32f103c8t | |
/* Private function prototypes -----------------------------------------------*/ | |
void SystemClock_Config(void); //System clock Configuration | |
void Error_Handler(void); //Error HAndler | |
static void MX_GPIO_Init(void); //GPIO Initialization | |
int main(void) //Main function | |
{ |
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
/**************************************************** | |
Dated: 03 November 2018 | |
Property off: www.microcontroller-project.com | |
Written by : Usman Ali Butt (usa_butt@hotmail.com) | |
****************************************************/ | |
/* Includes ------------------------------------------------------------------*/ | |
#include "main.h" | |
#include "stm32f1xx_hal.h" | |
#include "gpio.h" |
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
/******************************************************************************** | |
Property off: www.microcontroller-project.com | |
Written by : Usman Ali Butt | |
Date : 21-June-2018 | |
******************************************************************************/ | |
/* Includes ------------------------------------------------------------------*/ | |
#include "main.h" | |
#include "stm32f1xx_hal.h" |
OlderNewer