microHAL
An abstraction layer for your future F4xx projects
Loading...
Searching...
No Matches
_init.h File Reference

Function prototypes for the MCU initializer. More...

#include "defines.h"
#include "isr.h"
#include "rcc.h"

Go to the source code of this file.

Macros

#define EN_FPU   FALSE
 
#define PLLM_VAL   4U
 
#define PLLN_VAL   180U
 
#define PLLP_VAL   0U
 
#define PPRE1_VAL   RCC_APB_PRESCALER_DIV4
 
#define PPRE2_VAL   RCC_APB_PRESCALER_DIV2
 
#define PLLSRC_VAL   1U
 
#define EN_OVERDRIVE   TRUE
 

Functions

void mcu_init (void)
 MCU initialization function.
 

Detailed Description

Function prototypes for the MCU initializer.

This file contains all of the enums, macros, and function prototypes required for a proper peripheral and clock initialization. Please note that this is tuned for the USART example located in main.c.

Author
Vasileios Ch. (BillisC)
Bug
None, yet.

Function Documentation

◆ mcu_init()

void mcu_init ( void )

MCU initialization function.

Returns
None