Skip to content

ResetController : To reset CAN controller

void ResetController ( BOOL bResetType)
```### Description
This function will reset the controller. If the parameter passed is TRUE, a hardware reset will be given to controller. In case of hardware reset, the buffer of controller will be flushed off and error counter value will be set to zero. If the parameter passed is FALSE, a software reset will be given to controller. Only driver buffer will be cleared. The status of controller error counter will not be effected.### Inputs
bResetType - 1 for Hardware reset of CAN controller 0 for Software reset of CAN controller### Returns
-
---
**Authoritative source**: BUSMASTER DITA help source `ResetController.dita`, compiled into `BUSMASTER.CHM` with the application.