EC-2024
The relationship between library header files for MCU register configurations:
1) Provided library by ARM:
2) Custom Lib headers created in EC course
Create library file named as ecSTM32F4v2.h
Save the file in your lib folder. e.g) /EC/lib/
We will update ecSTM32F4v2.h
as we process each tutorial and lab.
//ecSTM32F4v2.h
/**
******************************************************************************
* @course Embedded Controller- HGU
* @author iiLAB
* @mod 2024-8-05 by YKKIM
* @brief STM32F411 Library for EC
*
******************************************************************************
*/
#ifndef __EC_STM_H
#define __EC_STM_H
// STM built-In Library
#include "stm32f4xx.h"
#include "stm32f411xe.h"
#include "math.h"
// EC course Library
#include "ecPinNames.h"
#include "ecRCC2.h"
#include "ecGPIO2.h"
//#include "ecEXTI2.h"
//#include "ecSysTick2.h"
//#include "ecTIM2.h"
//#include "ecPWM2.h"
//#include "ecStepper2.h"
//#include "ecADC2.h"
//#include "ecUART2.h"
#endif
EC 2023
The relationship between library header files for MCU register configurations:
1) Given by ARM:
2) Custom Lib headers created in EC course
Create library file named as ecSTM32F411.h
Save the file in your lib folder. e.g) /EC/lib/
We will update ecSTM32F411.h
as we process each tutorial and lab.
//ecSTM32F411.h
#ifndef __EC_STM_H
#define __EC_STM_H
#include "stm32f4xx.h"
#include "stm32f411xe.h"
#include "math.h"
#include "ecPinNames.h"
#include "ecRCC.h"
#include "ecGPIO.h"
#include "ecEXTI.h"
#include "ecSysTick.h"
#include "ecTIM.h"
#include "ecPWM.h"
#include "ecStepper.h"
#include "ecADC.h"
#include "ecUART.h"