STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
Can Driver More...
Go to the source code of this file.
Data Structures | |
struct | _Can_ControllerBaudrateConfig |
CAN Controller Baudrate Configuration More... | |
struct | _Can_Controller |
CAN Controller More... | |
struct | _Can_HwFilter |
CAN Hardware Filter More... | |
struct | _Can_HardwareObject |
CAN Hardware Object More... | |
struct | _Can_ConfigType |
Hardware unit configuration structure More... | |
struct | _Can_HwUnit |
Hardware control unit structure More... | |
Typedefs | |
typedef struct _Can_ControllerBaudrateConfig | Can_ControllerBaudrateConfig |
CAN Controller Baudrate Configuration | |
typedef struct _Can_Controller | Can_Controller |
CAN Controller | |
typedef struct _Can_HwFilter | Can_HwFilter |
CAN Hardware Filter | |
typedef struct _Can_HardwareObject | Can_HardwareObject |
CAN Hardware Object | |
typedef struct _Can_ConfigType | Can_ConfigType |
Hardware unit configuration structure | |
typedef struct _Can_HwUnit | Can_HwUnit |
Hardware control unit structure | |
Can Driver
The header contains the type definitions that are used by the Can module. The file is implemnted as a means of abstraction from the hardware, this way we can avoid to include Arch headers in the actual driver header, making the low level interfaces available for upper layers.
typedef struct _Can_ConfigType Can_ConfigType |
Hardware unit configuration structure
This structure contains the paramters to configure the hardware unit incuding the controllers and the hardware objects
typedef struct _Can_Controller Can_Controller |
CAN Controller
This container contains the configuration parameters of the CAN controller(s).
typedef struct _Can_ControllerBaudrateConfig Can_ControllerBaudrateConfig |
CAN Controller Baudrate Configuration
This container contains bit timing related configuration parameters of the CAN controller(s).
typedef struct _Can_HardwareObject Can_HardwareObject |
CAN Hardware Object
This container contains the configuration parameters of the CAN hardware objects.
typedef struct _Can_HwFilter Can_HwFilter |
CAN Hardware Filter
This container contains the configuration parameters of the CAN hardware filter.
typedef struct _Can_HwUnit Can_HwUnit |
Hardware control unit structure
This structure contains the hardware unit configuration and the state of the hardware unit pointers to controller extructure s