iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE void | IfxMultican_clearMessagePendingSeletor (Ifx_CAN *mcan) |
clears the message pending interrupt notification of a given list More... | |
IFX_INLINE void | IfxMultican_clearPendingMessageNotification (Ifx_CAN *mcan, uint16 list) |
clears the message pending interrupt notification of a given list More... | |
IFX_INLINE void | IfxMultican_disableModule (Ifx_CAN *mcan) |
Disables the module (sets the disable request) More... | |
IFX_INLINE void | IfxMultican_disableSleepMode (Ifx_CAN *mcan) |
Disregards the sleep mode of the module. More... | |
IFX_INLINE void | IfxMultican_enableModule (Ifx_CAN *mcan) |
Enables the module (clears the disable request) More... | |
IFX_INLINE void | IfxMultican_enableSleepMode (Ifx_CAN *mcan) |
Enables the sleep mode of the module. More... | |
IFX_INLINE uint16 | IfxMultican_getFractionalDividerMode (Ifx_CAN *mcan) |
Returns the selected fractional divider mode. More... | |
IFX_INLINE uint16 | IfxMultican_getFractionalDividerStepValue (Ifx_CAN *mcan) |
Returns the reload or addition value for the result. More... | |
IFX_INLINE IfxMultican_ClockSelect | IfxMultican_getInputClock (Ifx_CAN *mcan) |
Returns the selected input clock source. More... | |
IFX_INLINE boolean | IfxMultican_isModuleEnabled (Ifx_CAN *mcan) |
Returns the status of module enabled or disabled. More... | |
IFX_INLINE void | IfxMultican_setFractionalDividerMode (Ifx_CAN *mcan, uint16 mode) |
sets the fractional divider mode More... | |
IFX_INLINE void | IfxMultican_setFractionalDividerStepValue (Ifx_CAN *mcan, uint16 stepValue) |
sets reload or addition value for the result. More... | |
IFX_INLINE void | IfxMultican_setInputClock (Ifx_CAN *mcan, IfxMultican_ClockSelect clockSelect) |
Sets the input clock source. More... | |
IFX_INLINE void | IfxMultican_setMessageIndexMask (Ifx_CAN *mcan, uint32 mask) |
clears the message pending interrupt notification of a given list More... | |
IFX_INLINE void | IfxMultican_setSleepMode (Ifx_CAN *can, IfxMultican_SleepMode mode) |
Sets the sensitivity of the module to sleep signal. More... | |
IFX_INLINE void | IfxMultican_waitListReady (Ifx_CAN *mcan) |
Wait until the list panel is ready. More... | |
IFX_EXTERN void | IfxMultican_Node_setFastBitTiming (Ifx_CAN_N *hwNode, float32 moduleFreq, uint32 baudrate, uint16 samplePoint, uint16 synchJumpWidth) |
Calculates the best posible values and configures FBTR register. More... | |
IFX_EXTERN void | IfxMultican_Node_setNominalBitTiming (Ifx_CAN_N *hwNode, float32 moduleFreq, uint32 baudrate, uint16 samplePoint, uint16 synchJumpWidth) |
Calculates the best posible values and configures BTEVR register. More... | |
IFX_EXTERN void | IfxMultican_deinit (Ifx_CAN *mcan) |
Reset the CAN module Reset and disable the CAN module, inclusive message object and node registers. More... | |
IFX_EXTERN void | IfxMultican_resetModule (Ifx_CAN *can) |
resets Multican kernel More... | |
IFX_EXTERN void | IfxMultican_setListCommand (Ifx_CAN *mcan, uint32 cmd, uint32 arg2, uint32 arg1) |
Execute a command from the command panel. More... | |
IFX_INLINE void IfxMultican_clearMessagePendingSeletor | ( | Ifx_CAN * | mcan) |
clears the message pending interrupt notification of a given list
mcan | mcan Specifies the CAN module |
Definition at line 1479 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_INLINE void IfxMultican_clearPendingMessageNotification | ( | Ifx_CAN * | mcan, |
uint16 | list | ||
) |
clears the message pending interrupt notification of a given list
mcan | mcan Specifies the CAN module |
list | List number |
Definition at line 1485 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_EXTERN void IfxMultican_deinit | ( | Ifx_CAN * | mcan) |
Reset the CAN module
Reset and disable the CAN module, inclusive message object and node registers.
mcan | Specifies the CAN module |
Definition at line 921 of file IfxMultican.c.
Referenced by IfxMultican_Can_deinit().
IFX_INLINE void IfxMultican_disableModule | ( | Ifx_CAN * | mcan) |
Disables the module (sets the disable request)
mcan | mcan Specifies the CAN module |
Definition at line 1491 of file IfxMultican.h.
IFX_INLINE void IfxMultican_disableSleepMode | ( | Ifx_CAN * | mcan) |
Disregards the sleep mode of the module.
mcan | mcan Specifies the CAN module |
Definition at line 1497 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_INLINE void IfxMultican_enableModule | ( | Ifx_CAN * | mcan) |
Enables the module (clears the disable request)
mcan | mcan Specifies the CAN module |
Definition at line 1503 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_INLINE void IfxMultican_enableSleepMode | ( | Ifx_CAN * | mcan) |
Enables the sleep mode of the module.
mcan | mcan Specifies the CAN module |
Definition at line 1509 of file IfxMultican.h.
IFX_INLINE uint16 IfxMultican_getFractionalDividerMode | ( | Ifx_CAN * | mcan) |
Returns the selected fractional divider mode.
mcan | mcan Specifies the CAN module |
Definition at line 1515 of file IfxMultican.h.
Referenced by IfxMultican_Can_getConfig().
IFX_INLINE uint16 IfxMultican_getFractionalDividerStepValue | ( | Ifx_CAN * | mcan) |
Returns the reload or addition value for the result.
mcan | mcan Specifies the CAN module |
Definition at line 1521 of file IfxMultican.h.
Referenced by IfxMultican_Can_getConfig().
IFX_INLINE IfxMultican_ClockSelect IfxMultican_getInputClock | ( | Ifx_CAN * | mcan) |
Returns the selected input clock source.
mcan | mcan Specifies the CAN module |
Definition at line 1527 of file IfxMultican.h.
Referenced by IfxMultican_Can_getConfig().
IFX_INLINE boolean IfxMultican_isModuleEnabled | ( | Ifx_CAN * | mcan) |
Returns the status of module enabled or disabled.
mcan | mcan Specifies the CAN module |
Definition at line 1533 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_EXTERN void IfxMultican_Node_setFastBitTiming | ( | Ifx_CAN_N * | hwNode, |
float32 | moduleFreq, | ||
uint32 | baudrate, | ||
uint16 | samplePoint, | ||
uint16 | synchJumpWidth | ||
) |
Calculates the best posible values and configures FBTR register.
hwNode | Pointer to CAN Node registers |
moduleFreq | Specifies the CAN module frequency |
baudrate | Specifies the node baud rate. Unit: baud |
samplePoint | Specifies the sample point. Range = [0, 10000] resp. [0%, 100%] of the total bit time. |
synchJumpWidth | synchJumpWidth Specifies the re-synchronization jump width. Range = [0, 10000] resp. [0%, 100%] of the total bit time. |
Definition at line 712 of file IfxMultican.c.
Referenced by IfxMultican_Can_Node_init().
IFX_EXTERN void IfxMultican_Node_setNominalBitTiming | ( | Ifx_CAN_N * | hwNode, |
float32 | moduleFreq, | ||
uint32 | baudrate, | ||
uint16 | samplePoint, | ||
uint16 | synchJumpWidth | ||
) |
Calculates the best posible values and configures BTEVR register.
hwNode | Pointer to CAN Node registers |
moduleFreq | Specifies the CAN module frequency |
baudrate | Specifies the node baud rate. Unit: baud |
samplePoint | Specifies the sample point. Range = [0, 10000] resp. [0%, 100%] of the total bit time. |
synchJumpWidth | synchJumpWidth Specifies the re-synchronization jump width. Range = [0, 10000] resp. [0%, 100%] of the total bit time. |
Definition at line 807 of file IfxMultican.c.
Referenced by IfxMultican_Can_Node_init().
IFX_EXTERN void IfxMultican_resetModule | ( | Ifx_CAN * | can) |
resets Multican kernel
can | pointer to CAN registers |
Definition at line 969 of file IfxMultican.c.
IFX_INLINE void IfxMultican_setFractionalDividerMode | ( | Ifx_CAN * | mcan, |
uint16 | mode | ||
) |
sets the fractional divider mode
mcan | mcan Specifies the CAN module |
mode | Divider mode |
Definition at line 1539 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_INLINE void IfxMultican_setFractionalDividerStepValue | ( | Ifx_CAN * | mcan, |
uint16 | stepValue | ||
) |
sets reload or addition value for the result.
mcan | mcan Specifies the CAN module |
stepValue | Step Value |
Definition at line 1545 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_INLINE void IfxMultican_setInputClock | ( | Ifx_CAN * | mcan, |
IfxMultican_ClockSelect | clockSelect | ||
) |
Sets the input clock source.
mcan | mcan Specifies the CAN module |
clockSelect | Clock selection |
Definition at line 1551 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_EXTERN void IfxMultican_setListCommand | ( | Ifx_CAN * | mcan, |
uint32 | cmd, | ||
uint32 | arg2, | ||
uint32 | arg1 | ||
) |
Execute a command from the command panel.
mcan | Specifies the CAN module |
cmd | Specifies the command |
arg2 | Specifies the second argument |
arg1 | Specifies the first argument |
Definition at line 988 of file IfxMultican.c.
Referenced by IfxMultican_Can_MsgObj_init(), and IfxMultican_MsgObj_deinit().
IFX_INLINE void IfxMultican_setMessageIndexMask | ( | Ifx_CAN * | mcan, |
uint32 | mask | ||
) |
clears the message pending interrupt notification of a given list
mcan | mcan Specifies the CAN module |
mask | Message Index mask |
Definition at line 1557 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule().
IFX_INLINE void IfxMultican_setSleepMode | ( | Ifx_CAN * | can, |
IfxMultican_SleepMode | mode | ||
) |
Sets the sensitivity of the module to sleep signal.
can | pointer to CAN registers |
mode | mode selection (enable / disable) |
Definition at line 1563 of file IfxMultican.h.
IFX_INLINE void IfxMultican_waitListReady | ( | Ifx_CAN * | mcan) |
Wait until the list panel is ready.
mcan | mcan Specifies the CAN module |
Definition at line 1572 of file IfxMultican.h.
Referenced by IfxMultican_Can_initModule(), and IfxMultican_setListCommand().