Hi @krupan ,
Follows ASR, you just can switch to sleep mode from stop/sleep mode:

In the function Can_SetControllerMode(CAN_CS_SLEEP) just set the variable Can_eControllerState[Controller] = CAN_CS_SLEEP;

So, you can use the function Can_43_FLEXCAN_GetControllerMode() to get mode, but it is in SW aspect only.
As far as I know, to set Can to sleep mode in HW, you need to set Mcu to stop mode. After that you can't debug until CAN wakeup by receiving a frame with Pretended Networking enabled before sleep.
Best regards,
Nhi