/*
*********************************************************************************************************
* uC/LIB
* CUSTOM LIBRARY MODULES
*
* (c) Copyright 2004-2014; 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 find our product's user manual, API reference, release notes and
* more information at: https://doc.micrium.com
*
* You can contact us at: http://www.micrium.com
*********************************************************************************************************
*/
/*
*********************************************************************************************************
*
* ASCII STRING MANAGEMENT
*
* Filename : lib_str.c
* Version : V1.38.01
* 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>
/*
*********************************************************************************************************
* 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. */
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于stm32的自动浇灌系统.zip (582个子文件)
FreeRTOS.uvguix.Administrator 167KB
STemWin.uvguix.Administrator 84KB
cpu_a.asm 13KB
os_cpu_a.asm 13KB
cpu_a.asm 13KB
os_cpu_a.asm 13KB
lib_mem_a.asm 12KB
lib_mem_a.asm 12KB
keilkilll.bat 399B
keilkilll.bat 399B
lib_str.c 200KB
stm32f7xx_hal_tim.c 179KB
stm32f7xx_hal_i2c.c 156KB
tasks.c 154KB
os_core.c 125KB
stm32f7xx_hal_cryp.c 121KB
stm32f7xx_hal_jpeg.c 120KB
lib_mem.c 118KB
cpu_core.c 117KB
os_task.c 115KB
stm32f7xx_hal_dfsdm.c 108KB
stm32f7xx_hal_sd.c 107KB
stm32f10x_tim.c 107KB
stm32f7xx_hal_cryp_ex.c 104KB
stm32f7xx_hal_spi.c 90KB
stm32f7xx_hal_tim_ex.c 88KB
queue.c 82KB
stm32f7xx_hal_qspi.c 78KB
stm32f7xx_hal_eth.c 73KB
buttonbmp.c 72KB
stm32f7xx_hal_dsi.c 72KB
stm32f7xx_hal_uart.c 71KB
stm32f7xx_hal_sai.c 69KB
tftlcd.c 68KB
stm32f7xx_hal_usart.c 65KB
stm32f7xx_hal_ltdc.c 63KB
stm32f7xx_hal_dma2d.c 63KB
stm32f7xx_hal_adc.c 62KB
os_flag.c 62KB
stm32f10x_flash.c 61KB
stm32f7xx_hal_hash.c 60KB
stm32f7xx_hal_rtc_ex.c 59KB
stm32f7xx_hal_rcc_ex.c 56KB
stm32f7xx_hal_irda.c 56KB
stm32f7xx_hal_rtc.c 55KB
stm32f7xx_hal_lptim.c 53KB
stm32f7xx_hal_hash_ex.c 53KB
stm32f7xx_hal_i2s.c 52KB
stm32f10x_rcc.c 50KB
stm32f7xx_ll_usb.c 50KB
os_mutex.c 47KB
gizwits_protocol.c 47KB
stm32f7xx_hal_smartcard.c 47KB
stm32f7xx_hal_nand.c 47KB
stm32f10x_adc.c 46KB
os_tmr.c 45KB
stm32f10x_i2c.c 45KB
stm32f7xx_hal_can.c 45KB
os_q.c 44KB
stm32f10x_can.c 44KB
os_sem.c 43KB
stm32f7xx_hal_rcc.c 42KB
stm32f7xx_hal_spdifrx.c 42KB
stm32f7xx_hal_dma.c 41KB
stm32f7xx_hal_adc_ex.c 41KB
stm32f7xx_ll_fmc.c 41KB
timers.c 40KB
stm32f7xx_hal_flash_ex.c 40KB
stm32f10x_usart.c 37KB
stm32f7xx_hal_pcd.c 37KB
system_stm32f10x.c 36KB
stm32f7xx_hal_hcd.c 36KB
stm32f10x_fsmc.c 35KB
stm32f7xx_hal_nor.c 33KB
stm32f7xx_hal_dac.c 32KB
LCDConf_Lin_Template.c 32KB
port.c 31KB
cpu_c.c 31KB
cpu_c.c 31KB
cpu_c.c 31KB
stm32f7xx_hal_dcmi.c 30KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
port.c 29KB
os_cpu_c.c 28KB
stm32f10x_sdio.c 28KB
port.c 28KB
stm32f7xx_hal_sdram.c 27KB
port.c 27KB
stm32f7xx_hal_flash.c 26KB
os_tick.c 26KB
event_groups.c 26KB
nand.c 25KB
GUIDRV_Template.c 24KB
os_time.c 23KB
lib_ascii.c 23KB
stm32f7xx_hal_cec.c 23KB
stm32f7xx_hal_sram.c 23KB
stm32f10x_gpio.c 23KB
IR05F.c 22KB
共 582 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
NyGevn
- 粉丝: 9
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- video_20240425_124410_edit.mp4
- IMG_20240425_120538.jpg
- My Complete Genome_6k Base-Pairs of Phenotype SNPs_Complete Raw Data.zip
- qt 的mqtt测试demo
- 移动应用开发教程-zip.zip
- mosquitto-2.018-install-windows-x64
- FTPServer FTP 服务器,绿色免安装,单文件
- 梦畅语音点名软件,上课点名
- 利用ADNI数据集和标签,在tensorflow框架上使用tensorlayer接口,通过架构u-net实现海马体的分割
- Kutools for Word v9.0 office word 插件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功