Xenomai Modules Xenomai nucleus Native Xenomai api real-Time Driver Model




Дата канвертавання28.04.2016
Памер6.99 Kb.
Xenomai

Modules


Xenomai nucleus

Native Xenomai API

Real-Time Driver Model

User API


Driver Development API

Inter-Driver API

Device Registration Services

Synchronisation Services

Clock Services

Task Services

Timer Services

RTDM_TIMERMODE_xxx

Timer operation modes
enum
rtdm_timer_mode
{
RTDM_TIMERMODE_RELATIVE
= XN_RELATIVE,
RTDM_TIMERMODE_ABSOLUTE
= XN_ABSOLUTE,
RTDM_TIMERMODE_REALTIME
= XN_REALTIME }
RTDM_TIMERMODE_RELATIVE

Monotonic timer with relative timeout.


相对时刻单调定时器
RTDM_TIMERMODE_ABSOLUTE

Monotonic timer with absolute timeout.


绝对时刻的单调定时器
RTDM_TIMERMODE_REALTIME

Adjustable timer with absolute timeout.


绝对时刻的可调整定时器

Typedefs


typedef void(*
rtdm_timer_handler_t
)(rtdm_timer_t *timer)

Timer handler.

Functions

int
rtdm_timer_init


(rtdm_timer_t *timer,
rtdm_timer_handler_t
handler, const char *name)

Initialise a timer.


void
rtdm_timer_destroy
(rtdm_timer_t *timer)

Destroy a timer.


int
rtdm_timer_start
(rtdm_timer_t *timer,
nanosecs_abs_t
expiry,
nanosecs_rel_t
interval, enum
rtdm_timer_mode
mode)

Start a timer.


void
rtdm_timer_stop
(rtdm_timer_t *timer)

Stop a timer.


int
rtdm_timer_start_in_handler
(rtdm_timer_t *timer,
nanosecs_abs_t
expiry,
nanosecs_rel_t
interval, enum
rtdm_timer_mode
mode)

Start a timer from inside a timer handler.


void
rtdm_timer_stop_in_handler
(rtdm_timer_t *timer)

Stop a timer from inside a timer handler.

Synchronisation Services

Interrupt Management Services

Non-Real-Time Signalling Services

Utility Services

设备描述(Device Profiles)

Device profiles define which operation handlers a driver of a certain class has to implement, which name or protocol it has to register, which IOCTLs it has to provide, andfurther details. Sub-classes can be defined in order to extend a device profile with more hardware-specific functions.


设备描述定义了那些确定类的驱动程序已经实现,哪些名称和协议已经注册,提供哪些IOCTLs功能,以及更多的详细信息。更多的硬件特定功能可以通过扩展子类实现。

CAN Devices

Real-time IPC Devices

Serial Devices

Testing Devices

Analogy API



POSIX skin


База данных защищена авторским правом ©shkola.of.by 2016
звярнуцца да адміністрацыі

    Галоўная старонка