/*
*********************************************************************************************************
* uC/LIB
* CUSTOM LIBRARY MODULES
*
* (c) Copyright 2004-2012; Micrium, Inc.; Weston, FL
*
* All rights reserved. Protected by international copyright laws.
*
* uC/LIB is provided in source form to registered licensees ONLY. It is
* illegal to distribute this source code to any third party unless you receive
* written permission by an authorized Micrium representative. Knowledge of
* the source code may NOT be used to develop a similar product.
*
* Please help us continue to provide the Embedded community with the finest
* software available. Your honesty is greatly appreciated.
*
* You can contact us at www.micrium.com.
*********************************************************************************************************
*/
/*
*********************************************************************************************************
*
* ASCII STRING MANAGEMENT
*
* Filename : lib_str.c
* Version : V1.37.00
* Programmer(s) : ITJ
* BAN
* JDH
*********************************************************************************************************
* Note(s) : (1) NO compiler-supplied standard library functions are used in library or product software.
*
* (a) ALL standard library functions are implemented in the custom library modules :
*
* (1) \<Custom Library Directory>\lib_*.*
*
* (2) \<Custom Library Directory>\Ports\<cpu>\<compiler>\lib*_a.*
*
* where
* <Custom Library Directory> directory path for custom library software
* <cpu> directory name for specific processor (CPU)
* <compiler> directory name for specific compiler
*
* (b) Product-specific library functions are implemented in individual products.
*
*********************************************************************************************************
* Notice(s) : (1) The Institute of Electrical and Electronics Engineers and The Open Group, have given
* us permission to reprint portions of their documentation. Portions of this text are
* reprinted and reproduced in electronic form from the IEEE Std 1003.1, 2004 Edition,
* Standard for Information Technology -- Portable Operating System Interface (POSIX),
* The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute
* of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any
* discrepancy between these versions and the original IEEE and The Open Group Standard,
* the original IEEE and The Open Group Standard is the referee document. The original
* Standard can be obtained online at http://www.opengroup.org/unix/online.html.
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* INCLUDE FILES
*********************************************************************************************************
*/
#define MICRIUM_SOURCE
#define LIB_STR_MODULE
#include <lib_str.h>
/*$PAGE*/
/*
*********************************************************************************************************
* LOCAL DEFINES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL CONSTANTS
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL DATA TYPES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL TABLES
*********************************************************************************************************
*/
static const CPU_INT32U Str_MultOvfThTbl_Int32U[] = {
(CPU_INT32U) DEF_INT_32U_MAX_VAL, /* Invalid base 0. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 1u), /* Invalid base 1. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 2u), /* 32-bit mult ovf th for base 2. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 3u), /* 32-bit mult ovf th for base 3. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 4u), /* 32-bit mult ovf th for base 4. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 5u), /* 32-bit mult ovf th for base 5. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 6u), /* 32-bit mult ovf th for base 6. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 7u), /* 32-bit mult ovf th for base 7. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 8u), /* 32-bit mult ovf th for base 8. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 9u), /* 32-bit mult ovf th for base 9. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 10u), /* 32-bit mult ovf th for base 10. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 11u), /* 32-bit mult ovf th for base 11. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 12u), /* 32-bit mult ovf th for base 12. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 13u), /* 32-bit mult ovf th for base 13. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 14u), /* 32-bit mult ovf th for base 14. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 15u), /* 32-bit mult ovf th for base 15. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 16u), /* 32-bit mult ovf th for base 16. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 17u), /* 32-bit mult ovf th for base 17. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 18u), /* 32-bit mult ovf th for base 18. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 19u), /* 32-bit mult ovf th for base 19. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 20u), /* 32-bit mult ovf th for base 20. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 21u), /* 32-bit mult ovf th for base 21. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 22u), /* 32-bit mult ovf th for base 22. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 23u), /* 32-bit mult ovf th for base 23. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 24u), /* 32-bit mult ovf th for base 24. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 25u), /* 32-bit mult ovf th for base 25. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 26u), /* 32-bit mult ovf th for base 26. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 27u), /* 32-bit mult ovf th for base 27. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 28u), /* 32-bit mult ovf th for base 28. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 29u), /* 32-bit mult ovf th for base 29. */
(CPU_INT32U)(DEF_INT_32U_MAX_VAL / 30u), /* 32-bit mult ovf th for base
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
STM320518-单片机开发板uCOS-II V2.92.07系统移值源码.zip (229个子文件)
cpu_c.c.1086421.1.2012-11-08.11-00-42.0344 28KB
cpu_a.s.1088540.2.2012-11-08.11-00-42.0384 6KB
cpu.h.1086419.1.2012-11-08.11-00-42.0424 35KB
stm32_flash.ld.1086485.1.2012-11-08.10-13-50.0854 5KB
os_cpu.h.1033938.4.2012-07-10.09-29-24.2673 5KB
os_cpu_a.asm.1034000.5.2012-07-10.11-10-48.2720 11KB
os_cpu_a.asm.1034000.5.2012-07-10.09-29-24.2793 11KB
os_cpu_c.c.1033443.3.2012-07-10.09-29-24.2843 18KB
os_dbg.c.1086410.1.2012-11-07.15-16-30.7480 11KB
os_dbg.c.1033442.3.2012-07-10.10-56-24.7873 13KB
os_cpu_a.asm 13KB
os_cpu_a.asm 13KB
cpu_a.asm 6KB
cpu_a.asm 6KB
OS_uvopt.bak 46KB
OS_uvproj.bak 36KB
OS.cspy.bat 2KB
lib_str.c 200KB
stm32f0xx_tim.c 123KB
cpu_core.c 115KB
lib_mem.c 108KB
os_core.c 88KB
stm32f0xx_rtc.c 88KB
stm32f0xx_usart.c 80KB
os_task.c 59KB
stm32f0xx_rcc.c 58KB
stm32f0xx_i2c.c 55KB
os_flag.c 55KB
stm32f0xx_spi.c 50KB
stm32f0xx_adc.c 45KB
os_tmr.c 44KB
os_q.c 42KB
stm32f0xx_flash.c 39KB
os_mutex.c 38KB
os_mbox.c 31KB
os_sem.c 29KB
stm32f0xx_dma.c 28KB
cpu_c.c 28KB
cpu_c.c 28KB
cpu_c.c 28KB
bsp.c 25KB
stm32f0xx_cec.c 24KB
lib_ascii.c 23KB
os_mem.c 19KB
stm32f0xx_pwr.c 19KB
stm32f0xx_dac.c 19KB
stm32f0xx_gpio.c 18KB
app.c 17KB
os_cpu_c.c 16KB
os_cpu_c.c 16KB
os_cpu_c.c 16KB
stm32f0xx_comp.c 15KB
bsp_int.c 15KB
os_dbg.c 13KB
os_dbg.c 13KB
os_dbg.c 13KB
cstartup.c 13KB
bsp_periph.c 12KB
lib_math.c 12KB
stm32f0xx_syscfg.c 11KB
os_time.c 11KB
stm32f0xx_iwdg.c 11KB
stm32f0xx_exti.c 10KB
stm32f0xx_wwdg.c 10KB
app_hooks.c 10KB
stm32f0xx_crc.c 9KB
stm32f0xx_dbgmcu.c 7KB
stm32f0xx_misc.c 6KB
stm32f0xx_dbgmcu.pbi.cout 12KB
stm32f0xx_syscfg.pbi.cout 12KB
stm32f0xx_flash.pbi.cout 12KB
stm32f0xx_usart.pbi.cout 12KB
stm32f0xx_misc.pbi.cout 12KB
stm32f0xx_comp.pbi.cout 12KB
stm32f0xx_gpio.pbi.cout 12KB
stm32f0xx_exti.pbi.cout 12KB
stm32f0xx_iwdg.pbi.cout 12KB
stm32f0xx_wwdg.pbi.cout 12KB
stm32f0xx_dma.pbi.cout 12KB
stm32f0xx_i2c.pbi.cout 12KB
stm32f0xx_dac.pbi.cout 12KB
stm32f0xx_cec.pbi.cout 12KB
stm32f0xx_rcc.pbi.cout 12KB
stm32f0xx_pwr.pbi.cout 12KB
stm32f0xx_spi.pbi.cout 12KB
stm32f0xx_rtc.pbi.cout 12KB
stm32f0xx_tim.pbi.cout 12KB
stm32f0xx_crc.pbi.cout 12KB
stm32f0xx_adc.pbi.cout 12KB
os_cpu_c.pbi.cout 12KB
os_dbg.pbi.cout 12KB
app_hooks.pbi.cout 12KB
cstartup.pbi.cout 12KB
bsp_periph.pbi.cout 12KB
bsp_int.pbi.cout 12KB
app.pbi.cout 12KB
bsp.pbi.cout 12KB
cpu_c.pbi.cout 12KB
os_mutex.pbi.cout 12KB
os_flag.pbi.cout 12KB
共 229 条
- 1
- 2
- 3
资源评论
GJZGRB
- 粉丝: 1025
- 资源: 5730
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功