How to use and customize the library
*/
/*!<Core revision r0p1>*/
#define __CM4_REV
0x0001
/*!<STM32F30/31x features an
MPU>*/
#define __MPU_PRESENT
1
/*!<STM32F30/31x features 4
bits for priority levels>*/
#define __NVIC_PRIO_BITS
4
/*!<Set to 1 if different
SysTick configuration is used
>*/
#define
__Vendor_SysTickConfig 0
/*!<STM32F30/31x features an
FPU>*/
#define __FPU_PRESENT
1
They should not be modified by the user.
Default status: disabled
This define statement is used to enable or
disable the library run-time failure detection
before compiling the firmware library drivers.
When enabled, the "assert_param" macro is
expanded in the library drivers code.󳘪
Run-time detection can be used
for user application development
and debugging. It adds an
overhead which can be removed
from the final application code to
minimize code size and maximize
execution speed.
Peripheral header file
inclusion
This file allows to enable/disable the
inclusion of the peripheral driver header
files.󳘪 By default all header files are
included.
#include "stm32f30x_adc.h"
#include "stm32f30x_can.h"
#include "stm32f30x_crc.h"
#include "stm32f30x_comp.h"
#include "stm32f30x_dac.h"
#include "stm32f30x_dbgmcu.h"
#include "stm32f30x_dma.h"
#include "stm32f30x_exti.h"
#include "stm32f30x_flash.h"
#include "stm32f30x_gpio.h"
#include "stm32f30x_syscfg.h"