资源简介
stm32f407使用温湿度,光照,烟雾传感器,以及使用WiFi进行传输数据,温湿度的引脚为pg9,光照的为pf7,烟雾的为pa5
代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V1.4.0
* @date 04-August-2014
* @brief This file provides all the miscellaneous firmware functions (add-on
* to CMSIS functions).
*
* @verbatim
*
* ===================================================================
* How to configure Interrupts using driver
* ===================================================================
*
* This section provide functions allowing to configure the NVIC interrupts (IRQ).
* The Cortex-M4 exceptions are managed by CMSIS functions.
*
* 1. Configure the NVIC Priority Grouping using NVIC_PriorityGroupConfig()
* function according to the following table.
* The table below gives the allowed values of the pre-emption priority and subpriority according
* to the Priority Grouping configuration performed by NVIC_PriorityGroupConfig function
* ==========================================================================================================================
* NVIC_PriorityGroup | NVIC_IRQChannelPreemptionPriority | NVIC_IRQChannelSubPriority | Description
* ==========================================================================================================================
* NVIC_PriorityGroup_0 | 0 | 0-15 | 0 bits for pre-emption priority
* | | | 4 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_1 | 0-1 | 0-7 | 1 bits for pre-emption priority
* | | | 3 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_2 | 0-3 | 0-3 | 2 bits for pre-emption priority
* | | | 2 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_3 | 0-7 | 0-1 | 3 bits for pre-emption priority
* | | | 1 bits for subpriority
* -----------------------------------------------
相关资源
- STM32F407贪吃蛇游戏程序
- stm32f407_uart dma idle空闲中断不定长度收
- STM32F407原理图包含PCB
- STM32F407Z系列的OrCAD原理图库
- STM32F407的MPU6050三轴DMP度角度源码
- STM32F407 6288语音模块程序
- STM32F407双串口
- stm32f407以太网例程
- stm32f407上的两个can发送和接收历程
- STM32F407 USB虚拟串口
- stm32F407ADC电压采集串口输出程序
- 微雪2.9 E-paper.zip
- 基于STM32F407的幅频特性和相频特性测
- STM32F407ZGT6用TB6600驱动器驱动4257步进电
- ADS1220 stm32f407vet6驱动硬件spi2带部分翻
- STM32F407 GPIO LED点亮例程
- STM32f407核心板电路AD原理图和PCB图
- STM32F407 OV7670摄像头例程
- STM32F407VGT6原理图和PCB库
- STM32F407VET6原理图和PCB库
- STM32F407学习板 开发板 全部例程原理图
- STM32F407VG用软件触发的DAC转换例程
- F407VET6核心板
- 基于STM32F407的数字语音存储回放
- STM32F407_OV7725(DMA)
- STM32 F407的SPI+DMA带文件系统FATFS.zip
- LWIP_MQTT_Succeed.7z
- EC20基于STM32F407 MQTT协议上传数据到
- STM32F407 USB通信程序 USB Device 虚拟串口
- STM32F407用户手册
评论
共有 条评论