资源简介
STM32-硬件SPI-4004语音播放实验,用STM32的硬件SPI实现了控制语音芯片4004
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param topOfProcStack Process Stack Pointer
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 17273 2010-06-07 10:25 STM32-硬件SPI-4004语音播放实验\CORE\core_cm3.c
I.A.... 85714 2011-02-09 14:59 STM32-硬件SPI-4004语音播放实验\CORE\core_cm3.h
I.A.... 15503 2011-03-10 10:52 STM32-硬件SPI-4004语音播放实验\CORE\startup_stm32f10x_hd.s
I.A.... 12765 2011-03-10 10:52 STM32-硬件SPI-4004语音播放实验\CORE\startup_stm32f10x_md.s
I.AD... 0 2015-01-26 15:06 STM32-硬件SPI-4004语音播放实验\CORE
I.A.... 1813 2012-09-13 15:05 STM32-硬件SPI-4004语音播放实验\HARDWARE\KEY\key.c
I.A.... 1114 2012-09-13 15:26 STM32-硬件SPI-4004语音播放实验\HARDWARE\KEY\key.h
I.AD... 0 2015-01-26 15:06 STM32-硬件SPI-4004语音播放实验\HARDWARE\KEY
I.A.... 1298 2012-09-13 13:13 STM32-硬件SPI-4004语音播放实验\HARDWARE\LED\led.c
I.A.... 638 2012-09-13 09:45 STM32-硬件SPI-4004语音播放实验\HARDWARE\LED\led.h
I..D... 0 2015-01-26 15:06 STM32-硬件SPI-4004语音播放实验\HARDWARE\LED
I.A.... 3818 2015-01-26 10:57 STM32-硬件SPI-4004语音播放实验\HARDWARE\SPI\spi.c
I.A.... 432 2015-01-26 08:59 STM32-硬件SPI-4004语音播放实验\HARDWARE\SPI\spi.h
I.AD... 0 2015-01-26 15:06 STM32-硬件SPI-4004语音播放实验\HARDWARE\SPI
I..D... 0 2015-01-26 15:06 STM32-硬件SPI-4004语音播放实验\HARDWARE
I.A.... 399 2011-04-23 10:24 STM32-硬件SPI-4004语音播放实验\keilkilll.bat
I.A.... 16828 2015-01-26 11:36 STM32-硬件SPI-4004语音播放实验\OBJ\SPI.hex
I..D... 0 2015-01-26 15:06 STM32-硬件SPI-4004语音播放实验\OBJ
I.A.... 8982 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\misc.h
I.A.... 21690 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_adc.h
I.A.... 7555 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_bkp.h
I.A.... 27559 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_can.h
I.A.... 6573 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_cec.h
I.A.... 2162 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_crc.h
I.A.... 15233 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_dac.h
I.A.... 3818 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
I.A.... 20754 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_dma.h
I.A.... 6824 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_exti.h
I.A.... 25445 2011-03-10 10:47 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_flash.h
I.A.... 27016 2012-08-25 16:33 STM32-硬件SPI-4004语音播放实验\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
............此处省略63个文件信息
- 上一篇:IOCP服务器、客户端终极网络聊天室代码
- 下一篇:语法制导的三地址代码生成程序
相关资源
- t9Input-stm32
- STM32上应用CJSON构造和解析JSON对象
- ESp8266驱动
- stm32控制步进电机转动一定角度
- stm32f407_uart dma idle空闲中断不定长度收
- STM32之can +代码解析.c
- 步进电机基本旋转控制stm32
- STM32内部flash测试程序
- STM32F103C8T6串口通信
- 基于STM32F103ZET DHT11 温湿度传感器程序
- 四旋翼STM32F411CCU6的最小系统板设计
- 基于stm32的12864液晶屏的显示代码
- 主控芯片stm32f103c8t6 NRF24L01 使用IRQ处理
- 基于stm32f103c8t6的已实现模拟iic和模拟
- STM32延时中断LED
- PS2手柄_STM32例程
- STM32的GPIO口模拟串口通信
- stm32 光控灯源码
- STM32Cubemx软件和驱动库
- SHT20驱动STM32F103
- STM32F407原理图包含PCB
- SHT11 温湿度传感器 STM32驱动
- STM32 tim3的输入捕获功能解码 电视红外
- STM32多任务处理例程2
- STM32时分法多任务处理例程
- STM32所有系列F0F1F2F3F4CAN总线波特率计
- 基于STM32和SIM900A的短信发送程序
- STM32 SWD脱机烧录原理图和上位机
- 暴包括51,stm32,LINUXs三种和美的空调
- 使用STM32Cube开发freertos官方中文
评论
共有 条评论