rtapi_region.3rtapi
来自「CNC 的开放码,EMC2 V2.2.8版」· 3RTAPI 代码 · 共 38 行
3RTAPI
38 行
.TH rtapi_region "3rtapi" "2006-10-12" "EMC Documentation" "RTAPI".SH NAMErtapi_region \- functions to manage I/O memory regions.SH SYNTAX.HP void *rtapi_request_region(unsigned long \fIbase\fR, unsigned long int \fIsize\fR, const char *\fIname\fR).HP void rtapi_release_region(unsigned long \fIbase\fR, unsigned long int \fIsize\fR).SH ARGUMENTS.IP \fIbase\fRThe base address of the I/O region.IP \fIsize\fRThe size of the I/O region.IP \fIname\fRThe name to be shown in /proc/ioports.SH DESCRIPTION\fBrtapi_request_region\fR reserves I/O memory starting at \fIbase\fRand going for \fIsize\fR bytes..SH REALTIME CONSIDERATIONSMay be called from realtime init/cleanup code only..SH BUGSOn kernels before 2.4.0, \fBrtapi_request_region\fR always suceeds..SH RETURN VALUE\fBrtapi_request_region\fR returns NULL if the allocation fails, and a non-NULLvalue otherwise.\fBrtapi_release_region\fR has no return value.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?