Searched refs:line_coding (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/cdc_acm_host/main/ |
D | usb-cdc.c | 93 cdc_acm_line_coding_t line_coding; in app_main() local 94 ESP_ERROR_CHECK(cdc_acm_host_line_coding_get(cdc_dev, &line_coding)); in app_main() 95 …ESP_LOGI(TAG, "Line Get: Rate: %d, Stop bits: %d, Parity: %d, Databits: %d", line_coding.dwDTERate, in app_main() 96 line_coding.bCharFormat, line_coding.bParityType, line_coding.bDataBits); in app_main() 98 line_coding.dwDTERate = 9600; in app_main() 99 line_coding.bDataBits = 7; in app_main() 100 line_coding.bParityType = 1; in app_main() 101 line_coding.bCharFormat = 1; in app_main() 102 ESP_ERROR_CHECK(cdc_acm_host_line_coding_set(cdc_dev, &line_coding)); in app_main() 103 …ESP_LOGI(TAG, "Line Set: Rate: %d, Stop bits: %d, Parity: %d, Databits: %d", line_coding.dwDTERate, in app_main() [all …]
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/include/usb/ |
D | cdc_acm_host.h | 184 … cdc_acm_host_line_coding_set(cdc_acm_dev_hdl_t cdc_hdl, const cdc_acm_line_coding_t *line_coding); 195 …_err_t cdc_acm_host_line_coding_get(cdc_acm_dev_hdl_t cdc_hdl, cdc_acm_line_coding_t *line_coding); 278 inline esp_err_t line_coding_get(cdc_acm_line_coding_t *line_coding) in line_coding_get() argument 280 return cdc_acm_host_line_coding_get(this->cdc_hdl, line_coding); in line_coding_get() 283 inline esp_err_t line_coding_set(cdc_acm_line_coding_t *line_coding) in line_coding_set() argument 285 return cdc_acm_host_line_coding_set(this->cdc_hdl, line_coding); in line_coding_set()
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/ |
D | cdc_acm_host.c | 1061 …p_err_t cdc_acm_host_line_coding_get(cdc_acm_dev_hdl_t cdc_hdl, cdc_acm_line_coding_t *line_coding) in cdc_acm_host_line_coding_get() argument 1063 CDC_ACM_CHECK(cdc_hdl && line_coding, ESP_ERR_INVALID_ARG); in cdc_acm_host_line_coding_get() 1066 …equest((cdc_dev_t *)cdc_hdl, true, CDC_REQ_GET_LINE_CODING, (uint8_t *)line_coding, sizeof(cdc_acm… in cdc_acm_host_line_coding_get() 1068 …ESP_LOGD(TAG, "Line Get: Rate: %d, Stop bits: %d, Parity: %d, Databits: %d", line_coding->dwDTERat… in cdc_acm_host_line_coding_get() 1069 line_coding->bCharFormat, line_coding->bParityType, line_coding->bDataBits); in cdc_acm_host_line_coding_get() 1073 …t cdc_acm_host_line_coding_set(cdc_acm_dev_hdl_t cdc_hdl, const cdc_acm_line_coding_t *line_coding) in cdc_acm_host_line_coding_set() argument 1075 CDC_ACM_CHECK(cdc_hdl && line_coding, ESP_ERR_INVALID_ARG); in cdc_acm_host_line_coding_set() 1078 …quest((cdc_dev_t *)cdc_hdl, false, CDC_REQ_SET_LINE_CODING, (uint8_t *)line_coding, sizeof(cdc_acm… in cdc_acm_host_line_coding_set() 1080 …ESP_LOGD(TAG, "Line Set: Rate: %d, Stop bits: %d, Parity: %d, Databits: %d", line_coding->dwDTERat… in cdc_acm_host_line_coding_set() 1081 line_coding->bCharFormat, line_coding->bParityType, line_coding->bDataBits); in cdc_acm_host_line_coding_set()
|