We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在看到这一段:
void cdc_line_coding_change(tusb_cdc_device_t *cdc) { // TODO, handle the line coding change //cdc->line_coding.bitrate; //cdc->line_coding.databits; //cdc->line_coding.stopbits; //cdc->line_coding.parity; } 这一段是用来改串口的波特率的吗,现在发现这个函数好像没用,我想更改波特率的时候,STM32端能够收到并且重新初始化串口用来做USB转串口
void cdc_line_coding_change(tusb_cdc_device_t *cdc) { // TODO, handle the line coding change //cdc->line_coding.bitrate; //cdc->line_coding.databits; //cdc->line_coding.stopbits; //cdc->line_coding.parity; }
The text was updated successfully, but these errors were encountered:
cdc_line_coding_change这个函数就是用来配置硬件串口参数的,新的参数会存放在cdc->line_coding这个结构中
Sorry, something went wrong.
No branches or pull requests
现在看到这一段:
void cdc_line_coding_change(tusb_cdc_device_t *cdc) { // TODO, handle the line coding change //cdc->line_coding.bitrate; //cdc->line_coding.databits; //cdc->line_coding.stopbits; //cdc->line_coding.parity; }
这一段是用来改串口的波特率的吗,现在发现这个函数好像没用,我想更改波特率的时候,STM32端能够收到并且重新初始化串口用来做USB转串口
The text was updated successfully, but these errors were encountered: