你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

查看: 656|回复: 3

st外设库中的这个函数起的什么作用????

[复制链接]

57

主题

1159

回帖

0

蝴蝶豆

金牌会员

最后登录
2020-12-6
发表于 2015-8-13 09:33:05 | 显示全部楼层 |阅读模式


  1. #ifdef USE_FULL_ASSERT

  2. /**
  3.   * @brief  Reports the name of the source file and the source line number
  4.   *   where the assert_param error has occurred.
  5.   * @param file: pointer to the source file name
  6.   * @param line: assert_param error line source number
  7.   * @retval None
  8.   */
  9. void assert_failed(uint8_t* file, uint32_t line)
  10. {
  11.   /* User can add his own implementation to report the file name and line number,
  12.      ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */

  13.   /* Infinite loop */
  14.   while (1)
  15.   {
  16.   }
  17. }
  18. #endif
复制代码


<
回复

使用道具 举报

60

主题

2051

回帖

31

蝴蝶豆

版主

最后登录
2020-12-9
发表于 2015-8-13 09:35:02 | 显示全部楼层
库函数参数检查,参考我之前的帖子。
STM32F303开发】+库函数参数检查
回复 支持 反对

使用道具 举报

57

主题

1159

回帖

0

蝴蝶豆

金牌会员

最后登录
2020-12-6
 楼主| 发表于 2015-8-13 10:27:46 | 显示全部楼层
creep 发表于 2015-8-13 09:35
库函数参数检查,参考我之前的帖子。
STM32F303开发】+库函数参数检查

分析的棒极了,谢谢
回复 支持 反对

使用道具 举报

100

主题

3617

回帖

1

蝴蝶豆

论坛元老

最后登录
2020-12-8
发表于 2015-8-19 22:06:50 | 显示全部楼层
看看,,,,,,,,,,,
回复 支持 反对

使用道具 举报

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版