CAN_Init
Default mainpageat91libperipheralscanCAN_Init
Description Source Call Graph
CAN_Init
Init of the CAN peripheral.
 
Syntax / parameters
unsigned char CAN_Init (unsigned int baudrate, CanTransfer *canTransferRead, CanTransfer *canTransferWrite)

Name Type Default Description
baudrate unsigned int
  Baudrate value (kB/s) allowed values: 1000, 800, 500, 250, 125, 50, 25, 10
canTransferRead CanTransfer *
   
canTransferWrite CanTransfer *
   
 
Return value unsigned char
  return 1 if CAN has good baudrate and CAN is synchronized, otherwise return 0
Description
Init of the CAN peripheral.

 
Source
The documentation for this Member was generated from the following files:
  • can.c