Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/imx/drivers/
Dflexcan.c612 void FLEXCAN_EnableRxFifo(CAN_Type* base, uint8_t numOfFilters) in FLEXCAN_EnableRxFifo() argument
616 assert(numOfFilters <= 0xF); in FLEXCAN_EnableRxFifo()
622 … CAN_CTRL2_REG(base) = (CAN_CTRL2_REG(base) & ~CAN_CTRL2_RFFN_MASK) | CAN_CTRL2_RFFN(numOfFilters); in FLEXCAN_EnableRxFifo()
666 void FLEXCAN_SetRxFifoFilterNum(CAN_Type* base, uint32_t numOfFilters) in FLEXCAN_SetRxFifoFilterNum() argument
668 assert(numOfFilters <= 0xF); in FLEXCAN_SetRxFifoFilterNum()
674 … CAN_CTRL2_REG(base) = (CAN_CTRL2_REG(base) & ~CAN_CTRL2_RFFN_MASK) | CAN_CTRL2_RFFN(numOfFilters); in FLEXCAN_SetRxFifoFilterNum()
689 uint32_t i, j, numOfFilters; in FLEXCAN_SetRxFifoFilter() local
693 numOfFilters = (CAN_CTRL2_REG(base) & CAN_CTRL2_RFFN_MASK) >> CAN_CTRL2_RFFN_SHIFT; in FLEXCAN_SetRxFifoFilter()
711 for (i = 0; i < RxFifoFilterElementNum(numOfFilters); i++) in FLEXCAN_SetRxFifoFilter()
740 for (i = 0; i < RxFifoFilterElementNum(numOfFilters); i++) in FLEXCAN_SetRxFifoFilter()
[all …]
Dflexcan.h478 void FLEXCAN_EnableRxFifo(CAN_Type* base, uint8_t numOfFilters);
493 void FLEXCAN_SetRxFifoFilterNum(CAN_Type* base, uint32_t numOfFilters);