Home
last modified time | relevance | path

Searched refs:errtype (Results 1 – 14 of 14) sorted by relevance

/bsp/n32/libraries/n32_drivers/
A Ddrv_can.c625 rt_uint32_t errtype; in control() local
626 errtype = drv_can->CANx->ESTS; in control()
983 uint32_t errtype; in CAN1_SCE_IRQHandler() local
988 errtype = drv_can1.CANx->ESTS; in CAN1_SCE_IRQHandler()
990 switch ((errtype & 0x70) >> 4) in CAN1_SCE_IRQHandler()
1082 uint32_t errtype; in CAN2_SCE_IRQHandler() local
1087 errtype = drv_can2.CANx->ESTS; in CAN2_SCE_IRQHandler()
1089 switch ((errtype & 0x70) >> 4) in CAN2_SCE_IRQHandler()
1182 uint32_t errtype; in CAN_SCE_IRQHandler() local
1187 errtype = drv_can.CANx->ESTS; in CAN_SCE_IRQHandler()
[all …]
/bsp/essemi/es32f0654/drivers/
A Ddrv_can.c334 rt_uint32_t errtype; in _can_control() local
335 errtype = drv_can->CanHandle.perh->ERRSTAT; in _can_control()
336 drv_can->device.status.rcverrcnt = errtype >> 24; in _can_control()
338 drv_can->device.status.lasterrtype = errtype & 0x70; in _can_control()
339 drv_can->device.status.errcode = errtype & 0x07; in _can_control()
577 rt_uint32_t errtype; in CAN0_Handler() local
635 errtype = h_can->perh->ERRSTAT; in CAN0_Handler()
636 switch ((errtype & 0x70) >> 4) in CAN0_Handler()
662 can.device.status.lasterrtype = errtype & 0x70; in CAN0_Handler()
663 can.device.status.rcverrcnt = errtype >> 24; in CAN0_Handler()
[all …]
/bsp/essemi/es32f369x/drivers/
A Ddrv_can.c328 rt_uint32_t errtype; in _can_control() local
329 errtype = drv_can->CanHandle.perh->ERRSTAT; in _can_control()
330 drv_can->device.status.rcverrcnt = errtype >> 24; in _can_control()
333 drv_can->device.status.errcode = errtype & 0x07; in _can_control()
645 rt_uint32_t errtype; in CAN0_EXCEPTION_Handler() local
649 errtype = h_can->perh->ERRSTAT; in CAN0_EXCEPTION_Handler()
651 switch ((errtype & 0x70) >> 4) in CAN0_EXCEPTION_Handler()
677 can.device.status.lasterrtype = errtype & 0x70; in CAN0_EXCEPTION_Handler()
678 can.device.status.rcverrcnt = errtype >> 24; in CAN0_EXCEPTION_Handler()
679 can.device.status.snderrcnt = (errtype >> 16 & 0xFF); in CAN0_EXCEPTION_Handler()
[all …]
/bsp/at32/libraries/rt_drivers/
A Ddrv_can.c593 rt_uint32_t errtype; in _can_control() local
594 errtype = can_instance->config.can_x->ests; in _can_control()
860 rt_uint32_t errtype; in CAN1_SE_IRQ_HANDLER() local
864 errtype = hcan->can_x->ests; in CAN1_SE_IRQ_HANDLER()
868 switch ((errtype & 0x70) >> 4) in CAN1_SE_IRQ_HANDLER()
895 can_instance1.device.status.rcverrcnt = errtype >> 24; in CAN1_SE_IRQ_HANDLER()
897 can_instance1.device.status.errcode = errtype & 0x07; in CAN1_SE_IRQ_HANDLER()
990 rt_uint32_t errtype; in CAN2_SE_IRQHandler() local
994 errtype = hcan->can_x->ests; in CAN2_SE_IRQHandler()
998 switch ((errtype & 0x70) >> 4) in CAN2_SE_IRQHandler()
[all …]
A Ddrv_can_v2.c287 rt_uint32_t errtype; in _can_control() local
448 errtype = can_instance->can_x->err; in _can_control()
449 can_instance->device.status.rcverrcnt = errtype >> 24; in _can_control()
450 can_instance->device.status.snderrcnt = ((errtype >> 16) & 0xFF); in _can_control()
451 can_instance->device.status.lasterrtype = ((errtype >> 13) & 0x7); in _can_control()
644 rt_uint32_t errtype; in _can_err_isr() local
647 errtype = can_instance->can_x->err; in _can_err_isr()
649 switch (((errtype >> 13) & 0x7)) in _can_err_isr()
669 can_instance->device.status.rcverrcnt = errtype >> 24; in _can_err_isr()
670 can_instance->device.status.snderrcnt = (errtype >> 16 & 0xFF); in _can_err_isr()
[all …]
/bsp/apm32/libraries/Drivers/
A Ddrv_can.c430 rt_uint32_t errtype; in apm32_can_control() local
431 errtype = drv_can->CANx->ERRSTS; in apm32_can_control()
432 drv_can->device.status.rcverrcnt = errtype >> 24; in apm32_can_control()
434 drv_can->device.status.lasterrtype = errtype & 0x70; in apm32_can_control()
435 drv_can->device.status.errcode = errtype & 0x07; in apm32_can_control()
678 rt_uint32_t errtype = drv_can->CANx->ERRSTS; in _can_sce_isr() local
680 switch ((errtype & 0x70) >> 4) in _can_sce_isr()
712 can->status.lasterrtype = errtype & 0x70; in _can_sce_isr()
713 can->status.rcverrcnt = errtype >> 24; in _can_sce_isr()
714 can->status.snderrcnt = (errtype >> 16 & 0xFF); in _can_sce_isr()
[all …]
/bsp/loongson/ls1cdev/drivers/
A Ddrv_can.c332 rt_uint32_t errtype; in control() local
334 errtype = pbxcan->reg->RXERR; in control()
335 can->status.rcverrcnt = errtype ; in control()
336 errtype = pbxcan->reg->TXERR; in control()
337 can->status.snderrcnt = errtype ; in control()
338 errtype = pbxcan->reg->ECC; in control()
339 can->status.errcode = errtype ; in control()
/bsp/gd32/arm/libraries/gd32_drivers/
A Ddrv_can.c503 rt_uint32_t errtype; in _can_control() local
504 errtype = CAN_STAT(can_dev->can_x); in _can_control()
505 can_dev->device.status.rcverrcnt = errtype >> 24; in _can_control()
507 can_dev->device.status.lasterrtype = errtype & 0x70; in _can_control()
508 can_dev->device.status.errcode = errtype & 0x07; in _can_control()
724 rt_uint32_t errtype = CAN_ERR(can_x); in _can_ewmc_isr() local
726 switch ((errtype & 0x70) >> 4) in _can_ewmc_isr()
785 can->status.lasterrtype = errtype & 0x70; in _can_ewmc_isr()
786 can->status.rcverrcnt = errtype >> 24; in _can_ewmc_isr()
787 can->status.snderrcnt = (errtype >> 16 & 0xFF); in _can_ewmc_isr()
[all …]
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_can.c460 rt_uint32_t errtype; in _can_control() local
461 errtype = drv_can->CanHandle.Instance->ESR; in _can_control()
462 drv_can->device.status.rcverrcnt = errtype >> 24; in _can_control()
464 drv_can->device.status.lasterrtype = errtype & 0x70; in _can_control()
465 drv_can->device.status.errcode = errtype & 0x07; in _can_control()
761 rt_uint32_t errtype = hcan->Instance->ESR; in _can_sce_isr() local
763 switch ((errtype & 0x70) >> 4) in _can_sce_isr()
784 can->status.lasterrtype = errtype & 0x70; in _can_sce_isr()
785 can->status.rcverrcnt = errtype >> 24; in _can_sce_isr()
786 can->status.snderrcnt = (errtype >> 16 & 0xFF); in _can_sce_isr()
[all …]
/bsp/ht32/libraries/ht32_drivers/
A Ddrv_can.c424 rt_uint32_t errtype; in ht32_can_control() local
426 errtype = can_instance->can_x->ECR; in ht32_can_control()
427 can_instance->device.status.rcverrcnt = ((errtype >> 8) & 0x7f); in ht32_can_control()
428 can_instance->device.status.snderrcnt = (errtype & 0xff); in ht32_can_control()
430 errtype = can_instance->can_x->SR; in ht32_can_control()
431 can_instance->device.status.lasterrtype = (errtype & 0x07); in ht32_can_control()
432 can_instance->device.status.errcode = ((errtype >> 5) & 0x07); in ht32_can_control()
/bsp/nuvoton/libraries/m2354/rtt_port/
A Ddrv_can.c387 rt_uint32_t errtype = psNuCAN->base->ERR; in nu_can_control() local
392 can->status.rcverrcnt = (errtype >> 8); in nu_can_control()
395 can->status.snderrcnt = (errtype & 0xFF); in nu_can_control()
/bsp/nuvoton/libraries/n9h30/rtt_port/
A Ddrv_can.c387 rt_uint32_t errtype = psNuCAN->base->ERR; in nu_can_control() local
392 can->status.rcverrcnt = (errtype >> 8); in nu_can_control()
395 can->status.snderrcnt = (errtype & 0xFF); in nu_can_control()
/bsp/nuvoton/libraries/m480/rtt_port/
A Ddrv_can.c438 rt_uint32_t errtype = psNuCAN->base->ERR; in nu_can_control() local
443 can->status.rcverrcnt = (errtype >> 8); in nu_can_control()
446 can->status.snderrcnt = (errtype & 0xFF); in nu_can_control()
/bsp/nuvoton/libraries/nuc980/rtt_port/
A Ddrv_can.c411 rt_uint32_t errtype = psNuCAN->base->ERR; in nu_can_control() local
416 can->status.rcverrcnt = (errtype >> 8); in nu_can_control()
419 can->status.snderrcnt = (errtype & 0xFF); in nu_can_control()

Completed in 22 milliseconds