We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df28ea commit 4a4cb7fCopy full SHA for 4a4cb7f
libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/can_api.c
@@ -105,8 +105,10 @@ void can_free(can_t *obj)
105
}
106
107
108
-// This table has the sampling points as close to 75% as possible. The first
109
-// value is TSEG1, the second TSEG2.
+// The following table is used to program bit_timing. It is an adjustment of the sample
+// point by synchronizing on the start-bit edge and resynchronizing on the following edges.
110
+// This table has the sampling points as close to 75% as possible (most commonly used).
111
+// The first value is TSEG1, the second TSEG2.
112
static const int timing_pts[23][2] = {
113
{0x0, 0x0}, // 2, 50%
114
{0x1, 0x0}, // 3, 67%
0 commit comments