📄 rtapi_delay.3rtapi
字号:
.TH rtapi_delay "3rtapi" "2006-10-12" "EMC Documentation" "RTAPI".SH NAMErtapi_delay \- one-line description of rtapi_delay.SH SYNTAX.HPvoid rtapi_delay(long int \fInsec\fR).HPvoid rtapi_delay_max().SH ARGUMENTS.IP \fInsec\fRThe desired delay length in nanoseconds.SH DESCRIPTION\fBrtapi_delay\fR is a simple delay. It is intended only for shortdelays, since it simply loops, wasting CPU cycles.\fBrtapi_delay_max\fR returns the max delay permitted (usuallyapproximately 1/4 of the clock period). Any call to \fBrtapi_delay\fRrequesting a delay longer than the max will delay for the max time only.\fBrtapi_delay_max\fR should be called before using \fBrtapi_delay\fR tomake sure the required delays can be achieved. The actual resolutionof the delay may be as good as one nano-second, or as bad as a severalmicroseconds..SH REALTIME CONSIDERATIONSMay be called from init/cleanup code, and from within realtime tasks..SH RETURN VALUE\fBrtapi_delay_max\fB returns the maximum delay permitted..SH SEE ALSO\fBrtapi_clock_set_period(3rtapi)\fR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -