EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #122 background imageLoading...
Page #122 background image
Controller area network (bxCAN)
UM1581
122/584
DocID023800 Rev 1
 CAN_ERRORCODE_StuffErr: Stuff Error
 CAN_ERRORCODE_FormErr: Form Error
 CAN_ERRORCODE_ACKErr : Acknowledgment Error
 CAN_ERRORCODE_BitRecessiveErr: Bit Recessive
Error
 CAN_ERRORCODE_BitDominantErr: Bit Dominant
Error
 CAN_ERRORCODE_CRCErr: CRC Error
 CAN_ERRORCODE_SoftwareSetErr: Software Set
Error
Notes
ï‚· None.
4.2.12.2 CAN_GetReceiveErrorCounter
Function Name
uint8_t CAN_GetReceiveErrorCounter ( CAN_TypeDef *
CANx)
Function Description
Returns the CANx Receive Error Counter (REC).
Parameters
ï‚· CANx : where x can be 1 or 2 to to select the CAN
peripheral.
Return values
ï‚· CAN Receive Error Counter.
Notes
ï‚· In case of an error during reception, this counter is
incremented by 1 or by 8 depending on the error condition as
defined by the CAN standard. After every successful
reception, the counter is decremented by 1 or reset to 120 if
its value was higher than 128. When the counter value
exceeds 127, the CAN controller enters the error passive
state.
4.2.12.3 CAN_GetLSBTransmitErrorCounter
Function Name
uint8_t CAN_GetLSBTransmitErrorCounter ( CAN_TypeDef *
CANx)
Function Description
Returns the LSB of the 9-bit CANx Transmit Error Counter(TEC).
Parameters
ï‚· CANx : where x can be 1 or 2 to to select the CAN
peripheral.
Return values
ï‚· LSB of the 9-bit CAN Transmit Error Counter.
Notes
ï‚· None.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals