首页 理论教育 TinyOS时钟组件的实现与HIL接口定义

TinyOS时钟组件的实现与HIL接口定义

时间:2023-06-28 理论教育 版权反馈
【摘要】:HIL接口定义位于tinyos-2.x/tos/lib/timer目录下:●Alarm.nc●BusyWait.nc●Counter.nc●LocalTime.nc●Timer.h def nes precision tags and strings for unique()●Timer.nc有效组件的实现位于tinyos-2.x/tos/lib/timer目录下:●AlarmToTimerC.n

TinyOS时钟组件的实现与HIL接口定义

HIL接口定义位于tinyos-2.x/tos/lib/timer目录下:

●Alarm.nc

●BusyWait.nc

●Counter.nc

●LocalTime.nc

●Timer.h def nes precision tags and strings for unique()

●Timer.nc

有效组件的实现位于tinyos-2.x/tos/lib/timer目录下:

●AlarmToTimerC.nc

●BusyWaitCounterC.nc

●CounterToLocalTimeC.nc

●TransformAlarmC.nc

●TransformCounterC.nc

●VirtualizeAlarmC.nc

●VirtualizeTimerC.nc

MSP430定时器的实现位于tinyos-2.x/tos/chips/msp430/timer目录下:

●Alarm32khz16C.nc is generic and provides a new Alarm<T32khz,uint16_t>

●Alarm32khz32C.nc is generic and provides a new Alarm<T32khz,uint32_t>

●AlarmMilli16C.nc is generic and provides a new Alarm<TMilli,uint16_t>

●AlarmMilli32C.nc is generic and provides a new Alarm<TMilli,uint32_t>

●BusyWait32khzC.nc provides BusyWait<T32khz,uint16_t>

●BusyWaitMicroC.nc provides BusyWait<TMicro,uint16_t>

●Counter32khz16C.nc provides Counter<T32khz,uint16_t>

●Counter32khz32C.nc provides Counter<T32khz,uint32_t>

●CounterMilli16C.nc provides Counter<TMilli,uint16_t>(www.xing528.com)

●CounterMilli32C.nc provides Counter<TMilli,uint32_t>

●GpioCaptureC.nc

●HilTimerMilliC.nc provides LocalTime<TMilli>and Timer<TMilli>as TimerMilli[uint8_t num]

●Msp430AlarmC.nc is generic and converts an MSP430 timer to a 16-bit Alarm

●Msp430Capture.nc HPL interface def nition for MSP430 timer captures

●Msp430ClockC.nc exposes MSP430 hardware clock initialization

●Msp430ClockInit.nc HPL interface def nition for hardware clock initialization

●Msp430ClockP.nc implements MSP430 hardware clock initialization and calibration and startup

●Msp430Compare.nc HPL interface def nition for MSP430 timer compares

●Msp430Counter32khzC.nc provides Counter<T32khz,uint16_t>based onMSP430 TimerB

●Msp430CounterC.nc is generic and converts an Msp430Timer to a Counter

●Msp430CounterMicroC.nc provides Counter<TMicro,uint16_t>based onMSP430 TimerA

●Msp430Timer.h def nes additional MSP430 timer bitmasks and structs

●Msp430Timer.nc HPL interface def nition

●Msp430Timer32khzC.nc is generic and allocates a new 32khz hardware timer

●Msp430Timer32khzMapC.nc exposes the MSP430 hardware timers as a parameterized interface allocatable using Msp430Timer32khzC

●Msp430TimerC.nc exposes the MSP430 hardware timers

●Msp430TimerCapComP.nc is generic and implements the HPL forMSP430 capture/compare special function registers

●Msp430TimerCommonP.nc maps the MSP430 timer interrupts to Msp430TimerEvents

●Msp430TimerControl.nc HPL interface def nition

●Msp430TimerEvent.nc HPL interface def nition

●Msp430TimerP.nc is generic and implements the HPL for MSP430 timer special function registers

ATmege128和PXA27x定时器的实现分别位于“tinyos-2.x/tos/chips/atm128/timer”和“tinyos-2.x/tos/chips/pxa27x/timer”目录下。

免责声明:以上内容源自网络,版权归原作者所有,如有侵犯您的原创版权请告知,我们将尽快删除相关内容。

我要反馈