?? can__open_8c.3
字號:
.TH "can_open.c" 3 "15 Jun 2001" "can4linux" \" -*- nroff -*-.ad l.nh.SH NAMEcan_open.c \- .SH SYNOPSIS.br.PP.SS "Functions".in +1c.ti -1c.RI "int \fBcan_open\fP (__LDDK_OPEN_PARAM)".br.RI "\fIint open(const char *pathname, int flags); opens the CAN device for following operations.\fP".in -1c.SH "DETAILED DESCRIPTION".PP .PP\fBAuthor(s): \fP.in +1cHeinz-J黵gen Oertel, port GmbH .PP\fBRevision: \fP.in +1c 1.2 .PP\fBDate: \fP.in +1c 2001/06/15 15:32:44 .PP.SH "FUNCTION DOCUMENTATION".PP .SS "int can_open (__LDDK_OPEN_PARAM)".PPint open(const char *pathname, int flags); opens the CAN device for following operations..PP\fBParameters: \fP.in +1c.TP\fB\fIpathname\fP\fPdevice pathname, usual /dev/can? .TP\fB\fIflags\fP\fPis one of \fCO_RDONLY\fP, \fCO_WRONLY\fP or \fCO_RDWR\fP which request opening the file read-only, write-only or read/write, respectively..PPThe open call is used to 'open' the device. Doing a first initialization according the to values in the /proc/sys/Can file system. Additional an ISR function is assigned to the IRQ..PPThe CLK OUT pin is configured for creating the same frequency like the chips input frequency fclk (XTAL)..PP\fBReturns: \fP.in +1copen return the new file descriptor, or -1 if an error occurred (in which case, errno is set appropriately)..PP\fBERRORS\fP.in +1cthe following errors can occur .TP \fCENXIO\fP the file is a device special file and no corresponding device exists. .TP \fCEINVAL\fP illegal \fBminor\fP device number .TP \fCEINVAL\fP wrong IO-model format in /proc/sys/Can/IOmodel .TP \fCEBUSY\fP IRQ for hardware is not available .TP \fCEBUSY\fP I/O region for hardware is not available .PP.SH "AUTHOR".PP Generated automatically by Doxygen for can4linux from the source code.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -