|
XWOS API
4.0
XWOS C/C++ API参考手册
|

模块 | |
| CAN | |
| 设备基类 | |
| I2C | |
| IO扩展芯片 | |
| LIN控制器 | |
| MISC设备 | |
| 玄武设备栈对象 | |
| SOC | |
| SPI | |
| 串口控制器 | |
结构体 | |
| struct | xwds |
| 设备栈 更多... | |
函数 | |
| void | xwds_init (struct xwds *ds) |
| XWDS API:初始化设备栈 | |
| xwer_t | xwds_pm_suspend (struct xwds *ds) |
| XWDS API:暂停设备栈 | |
| xwer_t | xwds_pm_resume (struct xwds *ds) |
| XWDS API:继续设备栈 | |
| #define | __xwds_code __xwcd_code |
| #define | __xwds_isr __xwcd_isr |
| #define | __xwds_api __xwcd_api |
| #define | __xwds_inline __xwcd_inline |
| #define | __xwds_inline_api __xwcd_inline_api |
| #define | __xwds_vop __xwcd_code |
| #define | __xwds_data __xwcd_data |
| #define | __xwds_rodata __xwcd_rodata |
| #define | xwds_cast(type, dev) ((type)(dev)) |
| #define | XWDS_BUG() XWOS_BUG() |
| #define | XWDS_BUG_ON(x) XWOS_BUG_ON(x) |
| #define | XWDS_VALIDATE(exp, errstr, ...) |
| #define | XWDS_LOG_TAG "xwds" |
| #define __xwds_api __xwcd_api |
在文件 standard.h 第 33 行定义.
| #define __xwds_code __xwcd_code |
在文件 standard.h 第 31 行定义.
| #define __xwds_data __xwcd_data |
在文件 standard.h 第 37 行定义.
| #define __xwds_inline __xwcd_inline |
在文件 standard.h 第 34 行定义.
| #define __xwds_inline_api __xwcd_inline_api |
在文件 standard.h 第 35 行定义.
| #define __xwds_isr __xwcd_isr |
在文件 standard.h 第 32 行定义.
| #define __xwds_rodata __xwcd_rodata |
在文件 standard.h 第 38 行定义.
| #define __xwds_vop __xwcd_code |
在文件 standard.h 第 36 行定义.
| #define XWDS_BUG | ( | ) | XWOS_BUG() |
在文件 standard.h 第 42 行定义.
| #define XWDS_BUG_ON | ( | x | ) | XWOS_BUG_ON(x) |
在文件 standard.h 第 43 行定义.
| #define xwds_cast | ( | type, | |
| dev | |||
| ) | ((type)(dev)) |
在文件 standard.h 第 40 行定义.
| #define XWDS_LOG_TAG "xwds" |
在文件 standard.h 第 54 行定义.
| #define XWDS_VALIDATE | ( | exp, | |
| errstr, | |||
| ... | |||
| ) |
在文件 standard.h 第 51 行定义.
| void xwds_init | ( | struct xwds * | ds | ) |
XWDS API:初始化设备栈
| [in] | ds | 设备栈指针 |

XWDS API:继续设备栈
| [in] | ds | 设备栈控制块指针 |

XWDS API:暂停设备栈
| [in] | ds | 设备栈控制块指针 |
