Searched refs:numOfFilters (Results 1 – 2 of 2) sorted by relevance
612 void FLEXCAN_EnableRxFifo(CAN_Type* base, uint8_t numOfFilters) in FLEXCAN_EnableRxFifo() argument616 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() argument668 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() local693 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 …]
478 void FLEXCAN_EnableRxFifo(CAN_Type* base, uint8_t numOfFilters);493 void FLEXCAN_SetRxFifoFilterNum(CAN_Type* base, uint32_t numOfFilters);