uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
misc.h File Reference

This file contains all the functions prototypes for the miscellaneous firmware library functions (add-on to CMSIS functions). More...

#include "stm32f10x.h"

Go to the source code of this file.

Classes

struct  NVIC_InitTypeDef
 NVIC Init Structure definition. More...
 

Macros

#define NVIC_VectTab_RAM   ((uint32_t)0x20000000)
 
#define NVIC_VectTab_FLASH   ((uint32_t)0x08000000)
 
#define IS_NVIC_VECTTAB(VECTTAB)
 
#define NVIC_LP_SEVONPEND   ((uint8_t)0x10)
 
#define NVIC_LP_SLEEPDEEP   ((uint8_t)0x04)
 
#define NVIC_LP_SLEEPONEXIT   ((uint8_t)0x02)
 
#define IS_NVIC_LP(LP)
 
#define NVIC_PriorityGroup_0   ((uint32_t)0x700)
 
#define NVIC_PriorityGroup_1   ((uint32_t)0x600)
 
#define NVIC_PriorityGroup_2   ((uint32_t)0x500)
 
#define NVIC_PriorityGroup_3   ((uint32_t)0x400)
 
#define NVIC_PriorityGroup_4   ((uint32_t)0x300)
 
#define IS_NVIC_PRIORITY_GROUP(GROUP)
 
#define IS_NVIC_PREEMPTION_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10)
 
#define IS_NVIC_SUB_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10)
 
#define IS_NVIC_OFFSET(OFFSET)   ((OFFSET) < 0x000FFFFF)
 
#define SysTick_CLKSource_HCLK_Div8   ((uint32_t)0xFFFFFFFB)
 
#define SysTick_CLKSource_HCLK   ((uint32_t)0x00000004)
 
#define IS_SYSTICK_CLK_SOURCE(SOURCE)
 

Functions

void NVIC_PriorityGroupConfig (uint32_t NVIC_PriorityGroup)
 Configures the priority grouping: pre-emption priority and subpriority. More...
 
void NVIC_Init (NVIC_InitTypeDef *NVIC_InitStruct)
 Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct. More...
 
void NVIC_SetVectorTable (uint32_t NVIC_VectTab, uint32_t Offset)
 Sets the vector table location and Offset. More...
 
void NVIC_SystemLPConfig (uint8_t LowPowerMode, FunctionalState NewState)
 Selects the condition for the system to enter low power mode. More...
 
void SysTick_CLKSourceConfig (uint32_t SysTick_CLKSource)
 Configures the SysTick clock source. More...
 

Detailed Description

This file contains all the functions prototypes for the miscellaneous firmware library functions (add-on to CMSIS functions).

Author
MCD Application Team
Version
V3.5.0
Date
11-March-2011
Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file misc.h.