资源简介
STM32F103 4.3寸TFT触摸屏源码,菜单显示
代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V3.0.0
* @date 04/06/2009
* @brief This file provides all the miscellaneous firmware functions.
******************************************************************************
* @copy
*
* 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 2009 STMicroelectronics
*/
/* Includes ------------------------------------------------------------------*/
#include “misc.h“
/** @addtogroup StdPeriph_Driver
* @{
*/
/** @defgroup MISC
* @brief MISC driver modules
* @{
*/
/** @defgroup MISC_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Defines
* @{
*/
#define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000)
/**
* @}
*/
/** @defgroup MISC_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Variables
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_FunctionPrototypes
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Functions
* @{
*/
/**
* @brief Configures the priority grouping: pre-emption priority and
* subpriority.
* @param NVIC_PriorityGroup: specifies the priority grouping bits length.
* This parameter can be one of the following values:
* @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority
* 4 bits for subpriority
* @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority
* 3 bits for subpriority
* @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority
* 2 bits for subpriority
* @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority
* 1 bits for subpriority
* @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority
* 0 bits for subpriority
* @retval : None
*/
void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup)
{
/* Check the parameters */
assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
/* Set the PRIGROUP[10:8] bits according to NVIC_PriorityGroup value */
SCB->AIRCR = AIRCR_VECTKEY_MASK | NVIC_PriorityGroup;
}
/**
* @brief Initializes the NVIC peripheral according to the specified
* parameters in the NVIC_InitStruct.
* @param NVIC_InitStruct: pointer to a NVIC_InitTypeDef structure
* that contains t
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4951 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\misc.h
文件 19585 2009-08-31 15:06 4.3寸菜单代码\FWlib\inc\stm32f10x_adc.h
文件 7373 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_bkp.h
文件 14289 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_can.h
文件 3213 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_conf.h
文件 1980 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_crc.h
文件 10271 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_dac.h
文件 2980 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_dbgmcu.h
文件 18790 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_dma.h
文件 5833 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_exti.h
文件 14446 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_flash.h
文件 17685 2011-01-01 00:13 4.3寸菜单代码\FWlib\inc\stm32f10x_fsmc.h
文件 15221 2009-09-04 15:44 4.3寸菜单代码\FWlib\inc\stm32f10x_gpio.h
文件 16923 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_i2c.h
文件 3677 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_iwdg.h
文件 4201 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_pwr.h
文件 16258 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_rcc.h
文件 3659 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_rtc.h
文件 18598 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_sdio.h
文件 14896 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_spi.h
文件 48768 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_tim.h
文件 14483 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_usart.h
文件 2785 2009-04-06 10:30 4.3寸菜单代码\FWlib\inc\stm32f10x_wwdg.h
文件 6874 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\misc.c
文件 46634 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\stm32f10x_adc.c
文件 8248 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\stm32f10x_bkp.c
文件 30960 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\stm32f10x_can.c
文件 3340 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\stm32f10x_crc.c
文件 13723 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\stm32f10x_dac.c
文件 4310 2009-04-06 10:30 4.3寸菜单代码\FWlib\SRC\stm32f10x_dbgmcu.c
............此处省略148个文件信息
- 上一篇:计算机网络课程设计程序
- 下一篇:Axp288电源管理
评论
共有 条评论