Lines Matching refs:timeout
299 uint32_t timeout = CAN_TIMEOUT; in can_init() local
310 while((CAN_STAT_IWS != (CAN_STAT(can_periph) & CAN_STAT_IWS)) && (0U != timeout)){ in can_init()
311 timeout--; in can_init()
386 timeout = CAN_TIMEOUT; in can_init()
388 while((CAN_STAT_IWS == (CAN_STAT(can_periph) & CAN_STAT_IWS)) && (0U != timeout)){ in can_init()
389 timeout--; in can_init()
392 if(0U != timeout){ in can_init()
589 uint32_t timeout = CAN_TIMEOUT; in can_monitor_mode_set() local
597 timeout = CAN_TIMEOUT; in can_monitor_mode_set()
598 while((CAN_STAT_IWS != (CAN_STAT(can_periph) & CAN_STAT_IWS)) && (0U != timeout)){ in can_monitor_mode_set()
599 timeout--; in can_monitor_mode_set()
608 timeout = CAN_TIMEOUT; in can_monitor_mode_set()
612 … while((0U != (CAN_STAT(can_periph) & (CAN_STAT_IWS | CAN_STAT_SLPWS))) && (0U != timeout)){ in can_monitor_mode_set()
613 timeout--; in can_monitor_mode_set()
651 uint32_t timeout = CAN_TIMEOUT; in can_fd_init() local
663 while((CAN_STAT_IWS != (CAN_STAT(can_periph) & CAN_STAT_IWS)) && (0U != timeout)){ in can_fd_init()
664 timeout--; in can_fd_init()
710 timeout = CAN_TIMEOUT; in can_fd_init()
712 while((CAN_STAT_IWS == (CAN_STAT(can_periph) & CAN_STAT_IWS)) && (0U != timeout)){ in can_fd_init()
713 timeout--; in can_fd_init()
716 if(0U == timeout){ in can_fd_init()
1389 uint32_t timeout = CAN_TIMEOUT; local
1397 while((CAN_STAT_IWS != (CAN_STAT(can_periph) & CAN_STAT_IWS)) && (0U != timeout)){
1398 timeout--;
1409 while((0U != (CAN_STAT(can_periph) & (CAN_STAT_IWS | CAN_STAT_SLPWS))) && (0U != timeout)){
1410 timeout--;
1423 while((CAN_STAT_SLPWS != (CAN_STAT(can_periph) & CAN_STAT_SLPWS)) && (0U != timeout)){
1424 timeout--;
1447 uint32_t timeout = CAN_TIMEOUT; local
1452 while((0U != (CAN_STAT(can_periph) & CAN_STAT_SLPWS)) && (0x00U != timeout)){
1453 timeout--;