Searched refs:pnctrl (Results 1 – 1 of 1) sorted by relevance
1278 uint32_t pnctrl; in FLEXCAN_SetPNConfig() local1281 pnctrl = (pConfig->matchNum > 1U) ? CAN_CTRL1_PN_FCS(0x2U | (uint32_t)pConfig->matchSrc) : in FLEXCAN_SetPNConfig()1283 pnctrl |= (pConfig->enableMatch) ? (CAN_CTRL1_PN_WUMF_MSK_MASK) : 0U; in FLEXCAN_SetPNConfig()1284 pnctrl |= (pConfig->enableTimeout) ? (CAN_CTRL1_PN_WTOF_MSK_MASK) : 0U; in FLEXCAN_SetPNConfig()1285 pnctrl |= CAN_CTRL1_PN_NMATCH(pConfig->matchNum) | CAN_CTRL1_PN_IDFS(pConfig->idMatchMode) | in FLEXCAN_SetPNConfig()1287 base->CTRL1_PN = pnctrl; in FLEXCAN_SetPNConfig()