unsigned char CAN_BaudRateCalculate (AT91PS_CAN base_CAN, unsigned int baudrate) |
Name | Type | Default | Description |
base_CAN | AT91PS_CAN |
CAN base address |
|
baudrate | unsigned int |
Baudrate value (kB/s) allowed values: 1000, 800, 500, 250, 125, 50, 25, 10 |
|
Return value | unsigned char |
return 1 in success, otherwise return 0 |