iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE void | IfxMultican_Can_deinit (IfxMultican_Can *mcan) |
Reset the CAN module. Reset and disable the CAN module, inclusive message object and node registers. More... | |
IFX_EXTERN void | IfxMultican_Can_getConfig (IfxMultican_Can *mcan, IfxMultican_Can_Config *config) |
Return the actual CAN module configuration. More... | |
IFX_EXTERN float32 | IfxMultican_Can_getModuleFrequency (IfxMultican_Can *mcan) |
Get the module frequency. More... | |
IFX_EXTERN IfxMultican_Status | IfxMultican_Can_initModule (IfxMultican_Can *mcan, const IfxMultican_Can_Config *config) |
Initialize the CAN module The following configuration is used: . More... | |
IFX_EXTERN void | IfxMultican_Can_initModuleConfig (IfxMultican_Can_Config *config, Ifx_CAN *mcan) |
Return the default MULTICAN configuration. More... | |
IFX_INLINE void IfxMultican_Can_deinit | ( | IfxMultican_Can * | mcan) |
Reset the CAN module.
Reset and disable the CAN module, inclusive message object and node registers.
mcan | pointer to the CAN handle |
Definition at line 1288 of file IfxMultican_Can.h.
IFX_EXTERN void IfxMultican_Can_getConfig | ( | IfxMultican_Can * | mcan, |
IfxMultican_Can_Config * | config | ||
) |
Return the actual CAN module configuration.
mcan | pointer to the CAN handle |
config | Pointer to the configuration structure, will be filled by this function |
Definition at line 897 of file IfxMultican_Can.c.
Referenced by IfxMultican_Can_getModuleFrequency().
IFX_EXTERN float32 IfxMultican_Can_getModuleFrequency | ( | IfxMultican_Can * | mcan) |
Get the module frequency.
mcan | pointer to the CAN handle |
Definition at line 936 of file IfxMultican_Can.c.
Referenced by IfxMultican_Can_Node_getConfig(), and IfxMultican_Can_Node_init().
IFX_EXTERN IfxMultican_Status IfxMultican_Can_initModule | ( | IfxMultican_Can * | mcan, |
const IfxMultican_Can_Config * | config | ||
) |
Initialize the CAN module
The following configuration is used:
.
mcan | pointer to the CAN handle |
config | Specifies pointer to the CAN module configuration |
Definition at line 946 of file IfxMultican_Can.c.
IFX_EXTERN void IfxMultican_Can_initModuleConfig | ( | IfxMultican_Can_Config * | config, |
Ifx_CAN * | mcan | ||
) |
Return the default MULTICAN configuration.
config | Default configuration filled by this function |
mcan | base address of the MULTICAN register space |
A coding example can be found in How to use the CAN Interface driver?
Definition at line 1055 of file IfxMultican_Can.c.