contiki学习笔记(三)contiki系统

contiki系统函数源代码中包含了如下几个部分

具体实现见后文

一、 Argument buffer(参数缓存区)

The argument buffer can be used when passing an argument from an exiting process to a process that has not been created yet.
当将参数从现有进程传递到尚未创建的进程时,可以使用参数缓冲区。

二、Clock library(时钟库)

The clock library is the interface between Contiki and the platform specific clock functionality.
时钟库是contiki与平台特定时钟功能之间的接口。

三、Communication power accounting(通信耗电统计)

The compower module accumulates power consumption information and attributes it to communication activities.
compower模块收集功耗信息并将其归因于通信活动。

四、Callback timer(ctimer)

The ctimer module provides a timer mechanism that calls a specified C function when a ctimer expires.
ctimer模块提供了一个定时器机制,它在ctimer过期时调用指定的C函数。

五、Event timers(etimer)

Event timers provides a way to generate timed events.
事件计时器提供了生成定时事件的方法。

六、The Contiki program loader(contiki程序加载器)

The Contiki program loader is an abstract interface for loading and starting programs.
contiki程序加载器是一个用于加载和启动程序的抽象接口。

七、Multi-threading library(多线程库)

The event driven Contiki kernel does not provide multi-threading by itself - instead, preemptive multi-threading is implemented as a library that optionally can be linked with applications.
事件驱动的康智奇内核本身并不提供多线程,相反,先发制人的多线程是作为一个库实现的,可以选择与应用程序链接。

八、Contiki processes(contiki进程)

A process in Contiki consists of a single protothread.
contiki的一个进程由一个单一的protothread组成。

九、Real-time task scheduling(实时任务调度)

The real-time module handles the scheduling and execution of real-time tasks (with predictable execution times).
实时模块处理实时任务的调度和执行(具有可预测的执行时间)。

十、Seconds timer library(stimer)

The stimer library provides functions for setting, resetting and restarting timers, and for checking if a timer has expired.
stimer库提供用于设置、重置和重新启动计时器的功能,以及用于检查计时器是否已过期。

十一、Contiki subprocesses(contiki子流程)

A Contiki subprocess is a “process-in-a-process”.
康智奇子过程是一个“过程中的过程”。

十二、Timer library(timer库)

The Contiki kernel does not provide support for timed events.
contiki内核不支持定时事件。

十三、The Contiki file system interface(contiki文件系统接口)

The Contiki file system interface (CFS) defines an abstract API for reading directories and for reading and writing files.
contiki文件系统接口(CFS)定义了一个用于读取目录和读写文件的抽象API

十四、Implicit network time synchronization(隐式网络时间同步)

This crude and simple network time synchronization module synchronizes clocks of all nodes in a network.
这个粗糙而简单的网络时间同步模块对网络中所有节点的时钟进行同步。

十五、Protothreads

Protothreads are a type of lightweight stackless threads designed for severly memory constrained systems such as deeply embedded systems or sensor network nodes.
Protothread是一种轻量级无堆栈线程,设计用于内存受限的系统,如深度嵌入式系统或传感器网络节点。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值