mirror of https://github.com/ARMmbed/mbed-os.git
[B96B_F446VE] Add more details about the timing_pts table
parent
3df28ea0b8
commit
4a4cb7fb07
|
@ -105,8 +105,10 @@ void can_free(can_t *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This table has the sampling points as close to 75% as possible. The first
|
// The following table is used to program bit_timing. It is an adjustment of the sample
|
||||||
// value is TSEG1, the second TSEG2.
|
// point by synchronizing on the start-bit edge and resynchronizing on the following edges.
|
||||||
|
// This table has the sampling points as close to 75% as possible (most commonly used).
|
||||||
|
// The first value is TSEG1, the second TSEG2.
|
||||||
static const int timing_pts[23][2] = {
|
static const int timing_pts[23][2] = {
|
||||||
{0x0, 0x0}, // 2, 50%
|
{0x0, 0x0}, // 2, 50%
|
||||||
{0x1, 0x0}, // 3, 67%
|
{0x1, 0x0}, // 3, 67%
|
||||||
|
|
Loading…
Reference in New Issue