摘要:
一、Timer API The Contiki timer library provides functions for setting, resetting and restarting timers, and for checking if a timer has expired. An app 阅读全文
posted @ 2016-10-12 15:22
我是老邱
阅读(1545)
评论(0)
推荐(0)
摘要:
一、functions for handling system time 这些函数都是platform dependent的,我们是在stm8中实现的。 其中我们的clock_time_t是unsigned long型的,在stm8中unsigned long是32bit,最大数值是42949672 阅读全文
posted @ 2016-10-12 11:30
我是老邱
阅读(1118)
评论(0)
推荐(0)
摘要:
Contiki有一个clock模块和一系列timer模块:timer,stimer,ctimer,etimer,和rtimer。 一、clock模块 clock模块提供一些处理系统时间的函数,还有一些用来阻塞CPU的函数。 timer模块的实现以clock模块为基础。 二、timer和stimer模 阅读全文
posted @ 2016-10-12 10:22
我是老邱
阅读(1359)
评论(0)
推荐(0)

浙公网安备 33010602011771号