Merge branch 'bugfix/coverity_scan_fix_driver' into 'master'
ADC: Fixed potential multiply overflow in the calibration code See merge request espressif/esp-idf!24073
This commit is contained in:
@@ -50,7 +50,7 @@ TWAI Messages are split into Data Frames and Remote Frames. Data Frames are used
|
||||
Error States and Counters
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
The TWAI protocol implements a feature known as "fault confinement" where a persistently erroneous node will eventually eliminate itself form the bus. This is implemented by requiring every node to maintain two internal error counters known as the **Transmit Error Counter (TEC)** and the **Receive Error Counter (REC)**. The two error counters are incremented and decremented according to a set of rules (where the counters increase on an error, and decrease on a successful message transmission/reception). The values of the counters are used to determine a node's **error state**, namely **Error Active**, **Error Passive**, and **Bus-Off**.
|
||||
The TWAI protocol implements a feature known as "fault confinement" where a persistently erroneous node will eventually eliminate itself from the bus. This is implemented by requiring every node to maintain two internal error counters known as the **Transmit Error Counter (TEC)** and the **Receive Error Counter (REC)**. The two error counters are incremented and decremented according to a set of rules (where the counters increase on an error, and decrease on a successful message transmission/reception). The values of the counters are used to determine a node's **error state**, namely **Error Active**, **Error Passive**, and **Bus-Off**.
|
||||
|
||||
**Error Active:** A node is Error Active when **both TEC and REC are less than 128** and indicates that the node is operating normally. Error Active nodes are allowed to participate in bus communications, and will actively signal the detection of any errors by automatically transmitting an **Active Error Flag** over the bus.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user