Lines Matching full:can

39 /* According to CiA doc 1301 v1.0.0, specified data/nominal phase sample point postion for CAN FD a…
100 /* Define maximum CAN and CAN FD bit rate supported by FLEXCAN. */
123 /* If no define such MACRO, it mean that the CAN in current device have no clock affect issue. */
206 * will set all the registers to reset state so the FlexCAN module can not work
214 * @brief Calculates the segment values for a single bit time for classical CAN.
216 …* This function use to calculates the Classical CAN segment values which will be set in CTRL1/CBT/…
244 * @brief Calculates the segment values for a single bit time for CAN FD data phase.
246 …* This function use to calculates the CAN FD data phase segment values which will be set in CFDCBT…
256 * @brief Calculates the improved timing values by specific bit rate for CAN FD nominal phase.
258 …* This function use to calculates the CAN FD nominal phase timing values according to the given no…
262 …* @param bitRate The CAN FD nominal phase speed in bps defined by user, should be less than or eq…
367 * brief Determine whether the FlexCAN instance support CAN FD mode at run time.
370 …* name can be used to determine at compile time whether the FlexCAN instance supports CAN FD …
371 …* If need use this API to determine if CAN FD mode is supported, the FLEXCAN_Init function ne…
372 …rst, and then call this API and use the return to value determines whether to supports CAN FD mode,
373 * if return true, continue calling FLEXCAN_FDInit to enable CAN FD mode.
376 …* return return TRUE if instance support CAN FD mode, FALSE if instance only support classic CAN (…
382 /* Enable CAN FD operation. */ in FLEXCAN_IsInstanceHasFDMode()
385 /* There are some SoC parts that don't support CAN FD. in FLEXCAN_IsInstanceHasFDMode()
386 * Checking if FDEN bit is really set to 1 is a way to ensure that CAN FD is supported. in FLEXCAN_IsInstanceHasFDMode()
387 * When SoC parts don't support CAN FD, FDEN bit stuck at 0 and can't be set to 1. */ in FLEXCAN_IsInstanceHasFDMode()
396 /* Clear CAN FD operation. */ in FLEXCAN_IsInstanceHasFDMode()
470 * CAN bit length, so 20 multiply timeout is enough. */ in FLEXCAN_EnterFreezeMode()
490 * CAN bit length, so 20 multiply timeout is enough. */ in FLEXCAN_EnterFreezeMode()
716 * will set all the registers to reset state so the FlexCAN module can not work
724 * mode, and then soft reset can be applied. in FLEXCAN_Reset()
799 * brief Set bit rate of FlexCAN classical CAN frame or CAN FD frame nominal phase.
801 * This function set the bit rate of classical CAN frame or CAN FD frame nominal phase base on
809 * return kStatus_Success - Set CAN baud rate (only Nominal phase) successfully.
836 * @return kStatus_Success - Set CAN FD bit rate (include Nominal and Data phase) successfully.
891 /* FlexCAN classical CAN frame or CAN FD frame nominal phase timing setting formula: in FLEXCAN_Init()
927 * Check the CAN clock in this device whether affected by Other clock gate in FLEXCAN_Init()
1078 …* param dataSize FlexCAN Message Buffer payload size. The actual transmitted or received CAN FD fr…
1108 /* Initialization of classical CAN. */ in FLEXCAN_FDInit()
1151 /* Enable CAN FD operation. */ in FLEXCAN_FDInit()
1153 …/* Clear SMP bit when CAN FD is enabled (CAN FD only can use one regular sample point plus one opt… in FLEXCAN_FDInit()
1199 /* Enable CAN FD ISO mode by default. */ in FLEXCAN_FDInit()
1365 …* This function reads a CAN message from the FlexCAN Wake up Message Buffers. There are four Wake …
1370 * param pRxFrame Pointer to CAN message frame structure for reception.
1426 * This function gives user settings to classical CAN or CAN FD nominal phase timing characteristic.
1505 * This function gives user settings to CAN FD data phase timing characteristic.
1605 * individual masks can be used as the Rx FIFO filter mask.
1662 * brief Calculates the segment values for a single bit time for classical CAN.
1664 …* This function use to calculates the Classical CAN segment values which will be set in CTRL1/CBT/…
1666 * param bitRate The classical CAN bit rate in bps.
1782 * brief Calculates the improved timing values by specific bit Rates for classical CAN.
1784 …* This function use to calculates the Classical CAN timing values according to the given bit rate.…
1789 …* param bitRate The classical CAN speed in bps defined by user, should be less than or equal to 1…
1859 … /* Determine whether the calculated timing configuration can get the optimal sampling point. */ in FLEXCAN_CalculateImprovedTimingValues()
1916 * brief Calculates the segment values for a single bit time for CAN FD data phase.
1918 …* This function use to calculates the CAN FD data phase segment values which will be set in CFDCBT…
1921 * param bitRateFD CAN FD data phase bit rate.
1942 …/* According to CiA doc 1301 v1.0.0, which specified data phase sample point postion for CAN FD at… in FLEXCAN_FDGetSegments()
2011 * brief Calculates the improved timing values by specific bit rate for CAN FD nominal phase.
2013 …* This function use to calculates the CAN FD nominal phase timing values according to the given no…
2017 …* param bitRate The CAN FD nominal phase speed in bps defined by user, should be less than or equ…
2121 * brief Calculates the improved timing values by specific bit rates for CAN FD.
2123 …* This function use to calculates the CAN FD timing values according to the given nominal phase bi…
2127 * param bitRate The CAN FD nominal phase speed in bps defined by user.
2128 …* param bitRateFD The CAN FD data phase speed in bps defined by user. Equal to bitRate means disa…
2414 * note Legacy Rx FIFO only can receive classic CAN message.
2417 …* param pRxFifoConfig Pointer to the FlexCAN Legacy Rx FIFO configuration structure. Can be NULL w…
2541 …* note Enhanced Rx FIFO support receive classic CAN or CAN FD messages, Legacy Rx FIFO and Enhanc…
2545 …* param pConfig Pointer to the FlexCAN Enhanced Rx FIFO configuration structure. Can be NULL when …
2561 …/* Each pair of filter elements occupies 2 words and can consist of one extended ID filter element… in FLEXCAN_SetEnhancedRxFifoConfig()
2719 * the CAN bus when the Message Buffer under transmission is
2720 * either aborted or deactivated while the CAN bus is in the Bus Idle state
2782 * This function writes a CAN Message to the specified Transmit Message Buffer
2783 * and changes the Message Buffer state to start CAN Message transmit. After
2788 * param pTxFrame Pointer to CAN message frame to be sent.
2859 * This function writes a CAN FD Message to the specified Transmit Message Buffer
2860 * and changes the Message Buffer state to start CAN FD Message transmit. After
2865 * param pTxFrame Pointer to CAN FD message frame to be sent.
2952 * This function reads a CAN message from a specified Receive Message Buffer.
2953 * The function fills a receive CAN message frame structure with
2959 * param pRxFrame Pointer to CAN message frame structure for reception.
3033 * This function reads a CAN FD message from a specified Receive Message Buffer.
3034 * The function fills a receive CAN FD message frame structure with
3040 * param pRxFrame Pointer to CAN FD message frame structure for reception.
3138 * This function reads a CAN message from the FlexCAN Legacy Rx FIFO.
3141 * param pRxFrame Pointer to CAN message frame structure for reception.
3201 * This function reads a CAN or CAN FD message from the FlexCAN Enhanced Rx FIFO.
3204 * param pRxFrame Pointer to CAN FD message frame structure for reception.
3221 …/* Copy CAN FD Message from Enhanced Rx FIFO, should use the DLC value to identify the bytes that … in FLEXCAN_ReadEnhancedRxFifo()
3245 * brief Performs a polling send transaction on the CAN bus.
3251 * param pTxFrame Pointer to CAN message frame to be sent.
3262 /* Wait until CAN Message send out. */ in FLEXCAN_TransferSendBlocking()
3304 * brief Performs a polling receive transaction on the CAN bus.
3310 * param pRxFrame Pointer to CAN message frame structure for reception.
3345 /* Read Received CAN Message. */ in FLEXCAN_TransferReceiveBlocking()
3351 * brief Performs a polling send transaction on the CAN bus.
3357 * param pTxFrame Pointer to CAN FD message frame to be sent.
3368 /* Wait until CAN Message send out. */ in FLEXCAN_TransferFDSendBlocking()
3395 …/*After TX MB tranfered success, update the Timestamp from base->MB[offset for CAN FD].CS register… in FLEXCAN_TransferFDSendBlocking()
3411 * brief Performs a polling receive transaction on the CAN bus.
3417 * param pRxFrame Pointer to CAN FD message frame structure for reception.
3452 /* Read Received CAN Message. */ in FLEXCAN_TransferFDReceiveBlocking()
3458 * brief Performs a polling receive transaction from Legacy Rx FIFO on the CAN bus.
3463 * param pRxFrame Pointer to CAN message frame structure for reception.
3487 * brief Performs a polling receive transaction from Enhanced Rx FIFO on the CAN bus.
3492 * param pRxFrame Pointer to CAN FD message frame structure for reception.
3515 * This function initializes the FlexCAN handle, which can be used for other FlexCAN
3932 * param count Number of CAN messages receive so far by the non-blocking transaction.
4099 /* Update the TX frame 's time stamp by base->MB[offset for CAN FD].CS. */ in FLEXCAN_TransferFDAbortSend()
4257 * Then function can only be used when calling non-blocking Data transfer (TX/RX) API,
4258 * After TX/RX data transfer done (User can get the status by handler's callback function),
4259 * we can get the detail index of Mailbox's timestamp by handle,
4403 /* Whether still has CAN messages remaining to be received. */ in FLEXCAN_SubHandlerForLegacyRxFIFO()
4685 … /* Whether the number of CAN messages remaining to be received is greater than the watermark. */ in FLEXCAN_SubHandlerForEhancedRxFifo()
4725 /* Data available status, check Whether still has CAN messages remaining to be received. */ in FLEXCAN_SubHandlerForEhancedRxFifo()