Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/mscan/
Dfsl_mscan.c407 uint8_t ctl0Temp, ctl1Temp; in MSCAN_Init() local
429 ctl1Temp = base->CANCTL1; in MSCAN_Init()
435 ctl1Temp = (config->enableLoopBack) ? ctl1Temp | (uint8_t)MSCAN_CANCTL1_LOOPB_MASK : in MSCAN_Init()
436 ctl1Temp & ~((uint8_t)MSCAN_CANCTL1_LOOPB_MASK); in MSCAN_Init()
438 ctl1Temp = (config->enableListen) ? ctl1Temp | (uint8_t)MSCAN_CANCTL1_LISTEN_MASK : in MSCAN_Init()
439 ctl1Temp & ~((uint8_t)MSCAN_CANCTL1_LISTEN_MASK); in MSCAN_Init()
441ctl1Temp = (kMSCAN_ClkSrcBus == config->clkSrc) ? ctl1Temp | (uint8_t)MSCAN_CANCTL1_CLKSRC_MASK : in MSCAN_Init()
442ctl1Temp & ~((uint8_t)MSCAN_CANCTL1_CLKSRC_MASK); in MSCAN_Init()
446 base->CANCTL1 = ctl1Temp; in MSCAN_Init()