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

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

[复制链接]
你好我好大家好! 提问时间:2015-8-13 09:33 /


  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
复制代码


收藏 评论3 发布时间:2015-8-13 09:33

举报

3个回答
creep 回答时间:2015-8-13 09:35:02
库函数参数检查,参考我之前的帖子。
STM32F303开发】+库函数参数检查
你好我好大家好! 回答时间:2015-8-13 10:27:46
creep 发表于 2015-8-13 09:35
库函数参数检查,参考我之前的帖子。
STM32F303开发】+库函数参数检查

分析的棒极了,谢谢
stary666 回答时间:2015-8-19 22:06:50
看看,,,,,,,,,,,

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版