|
XWOS API
4.0
XWOS C/C++ API参考手册
|
CAN总线控制器波特率配置 更多...
#include <controller.h>
成员变量 | ||
| xwid_t | id | |
| xwu32_t | bdkb | |
| struct { | ||
| xwu8_t ss | ||
| xwu8_t pts | ||
| xwu8_t ps1 | ||
| xwu8_t ps2 | ||
| xwu8_t sjw | ||
| } | time_seg | |
CAN总线控制器波特率配置
在文件 controller.h 第 73 行定义.
| xwu32_t xwds_canc_bd_cfg::bdkb |
波特率(单位:Kb)
在文件 controller.h 第 75 行定义.
| xwid_t xwds_canc_bd_cfg::id |
配置ID
在文件 controller.h 第 74 行定义.
| xwu8_t xwds_canc_bd_cfg::ps1 |
相位缓冲段1(phase buffer segment 1):1 ~ 8 tq
在文件 controller.h 第 79 行定义.
| xwu8_t xwds_canc_bd_cfg::ps2 |
相位缓冲段2(phase buffer segment 2):1 ~ 8 tq
在文件 controller.h 第 80 行定义.
| xwu8_t xwds_canc_bd_cfg::pts |
传播段(propagation time segment):1 ~ 8 tq
在文件 controller.h 第 78 行定义.
| xwu8_t xwds_canc_bd_cfg::sjw |
重新同步跳转宽度(resynchronization jump width):1 ~ min(4, ps1) tq
在文件 controller.h 第 81 行定义.
| xwu8_t xwds_canc_bd_cfg::ss |
同步段(sync seg):始终设置为1 tq
在文件 controller.h 第 77 行定义.
| struct { ... } xwds_canc_bd_cfg::time_seg |