基于stm32f407的i2c双机通讯工程,亲测有效,已在自己板子上实现,里面有两个工程,分别是主机模式和从机模式
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-01-17 16:28 i2c双机通讯
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式.cache
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式.cacheDBFiles
文件 65536 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilesdingsync.db
文件 0 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilesdingsync.db-journal
文件 53248 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilessyncstatus.db
文件 0 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilessyncstatus.db-journal
目录 0 2019-01-17 16:28 i2c双机通讯i2c双机通讯--主机模式.cache\__dingsync_tag__
目录 0 2019-01-17 16:28 i2c双机通讯i2c双机通讯--主机模式.cache\__dingsync_tag__465747196
目录 0 2019-01-17 16:28 i2c双机通讯i2c双机通讯--主机模式.cache\__dingsync_tag_folder_909772147_0
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式CORE
文件 109142 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cm4.h
文件 22735 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cm4_simd.h
文件 17146 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cmFunc.h
文件 20513 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cmInstr.h
文件 29605 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREstartup_stm32f40_41xxx.s
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式FWLIB
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式FWLIBinc
文件 6924 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincmisc.h
文件 32880 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_adc.h
文件 27318 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_can.h
文件 2416 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_crc.h
文件 14481 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_cryp.h
文件 14946 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dac.h
文件 4296 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dbgmcu.h
文件 12977 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dcmi.h
文件 28882 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dma.h
文件 19692 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dma2d.h
文件 8012 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_exti.h
文件 24467 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_flash.h
............此处省略394个文件信息
/**
******************************************************************************
* @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
* -----------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-01-17 16:28 i2c双机通讯
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式.cache
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式.cacheDBFiles
文件 65536 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilesdingsync.db
文件 0 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilesdingsync.db-journal
文件 53248 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilessyncstatus.db
文件 0 2018-08-21 09:56 i2c双机通讯i2c双机通讯--主机模式.cacheDBFilessyncstatus.db-journal
目录 0 2019-01-17 16:28 i2c双机通讯i2c双机通讯--主机模式.cache\__dingsync_tag__
目录 0 2019-01-17 16:28 i2c双机通讯i2c双机通讯--主机模式.cache\__dingsync_tag__465747196
目录 0 2019-01-17 16:28 i2c双机通讯i2c双机通讯--主机模式.cache\__dingsync_tag_folder_909772147_0
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式CORE
文件 109142 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cm4.h
文件 22735 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cm4_simd.h
文件 17146 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cmFunc.h
文件 20513 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREcore_cmInstr.h
文件 29605 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式COREstartup_stm32f40_41xxx.s
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式FWLIB
目录 0 2018-09-13 16:41 i2c双机通讯i2c双机通讯--主机模式FWLIBinc
文件 6924 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincmisc.h
文件 32880 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_adc.h
文件 27318 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_can.h
文件 2416 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_crc.h
文件 14481 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_cryp.h
文件 14946 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dac.h
文件 4296 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dbgmcu.h
文件 12977 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dcmi.h
文件 28882 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dma.h
文件 19692 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_dma2d.h
文件 8012 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_exti.h
文件 24467 2016-04-15 21:58 i2c双机通讯i2c双机通讯--主机模式FWLIBincstm32f4xx_flash.h
............此处省略394个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)