|
发表于 2024-3-8 15:06:55
|
显示全部楼层
硬汉哥,目前勉强看出在usbx协议栈的初始化函数的最后一次参数这里要注册一系列回调函数,但是由于对usbx的理解不够深入,具体怎么加请问有参考例程吗?
status = _ux_device_stack_initialize(NULL,
0,
device_framework_full_speed,
device_framework_fs_length,
string_framework,
string_framework_length,
language_id_framework,
languge_id_framework_length, UX_NULL);
UINT _ux_device_stack_initialize(UCHAR * device_framework_high_speed, ULONG device_framework_length_high_speed,
UCHAR * device_framework_full_speed, ULONG device_framework_length_full_speed,
UCHAR * string_framework, ULONG string_framework_length,
UCHAR * language_id_framework, ULONG language_id_framework_length,
UINT (*ux_system_slave_change_function)(ULONG))
|
|