EasyManua.ls Logo

Acrosser Technology AR-V6002FL - Page 60

Default Icon
84 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Revision: 1.23
60
Description: This function sets up the speed ( Baud rate ) of sending and receiving CAN
packages.
Parameters: The parameter ‘Baud’ could be: ( the unit is Kbps )
10 , 20 , 50 , 100 , 125 , 250 , 500 , 800 , 1000
The default speed is 0 Kbps.
Return Value: This function returns 0 if it set the Baud rate successfully. If this function fails
not 0.
4. Syntax:
int CanGetBaudRate( unsigned long *Baud )
Description: This function get the speed ( Baud rate ) of sending and receiving CAN packages.
Parameters: The parameter pointer ‘Baud’ record: ( the unit is Kbps )
10 , 20 , 50 , 100 , 125 , 250 , 500 , 800 , 1000
`
Return Value: This function returns 0 if it set the Baud rate successfully. If this function fails
not 0.
5. Syntax:
int get_canFd(void)
Description: This function get the File Description number.
Parameters: None.
Return Value: File Description number.
6. Syntax:
int lib_init (void )
Description: This function is used the library call first.
Parameters: None.