资源简介
类似于WS2812的驱动程序,这是SK6812MINI-RGB灯珠驱动程序。
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17273 2010-06-07 10:25 SK6812MINI-RGB单个灯\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 SK6812MINI-RGB单个灯\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 SK6812MINI-RGB单个灯\CORE\startup_stm32f10x_hd.s
文件 12765 2011-03-10 10:52 SK6812MINI-RGB单个灯\CORE\startup_stm32f10x_md.s
文件 477 2016-12-02 00:19 SK6812MINI-RGB单个灯\HARDWARE\KEY\key.c
文件 97 2016-09-30 16:17 SK6812MINI-RGB单个灯\HARDWARE\KEY\key.h
文件 3607 2017-01-14 19:57 SK6812MINI-RGB单个灯\HARDWARE\RGB.c
文件 1012 2017-01-11 00:21 SK6812MINI-RGB单个灯\HARDWARE\RGB.h
文件 3943 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\core_cm3.crf
文件 105 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\core_cm3.d
文件 11168 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\core_cm3.o
文件 278154 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\delay.crf
文件 765 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\delay.d
文件 301860 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\delay.o
文件 277814 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\key.crf
文件 768 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\key.d
文件 299412 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\key.o
文件 283392 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\main.crf
文件 905 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\main.d
文件 305792 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\main.o
文件 277227 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\misc.crf
文件 725 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\misc.d
文件 301360 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\misc.o
文件 269820 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\RGB.axf
文件 1858 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\RGB.build_log.htm
文件 280212 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\rgb.crf
文件 760 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\rgb.d
文件 7026 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\RGB.hex
文件 38349 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\RGB.htm
文件 615 2017-01-14 19:57 SK6812MINI-RGB单个灯\OBJ\RGB.lnp
............此处省略152个文件信息
- 上一篇:《数字信号处理基础》候正信
- 下一篇:IEEE测试系统数据及文档3节点-300节点
评论
共有 条评论