This register shows the status of the USART. The status can be read by using and operation. For example of checking parity error, 1 is and withBit 0. If the result is 1 then there are parity error. Otherwise, there are no parity error. ...
usart_init_sync_master(USART_PDI, &usart_pdid_settings, sysclk_get_main_hz());/* Turn on clock */gpio_configure_pin(PIN_PDIC_GPIO, PIN_PDIC_USART_FLAGS);/* Send two IDLEs of 12 bits each to enable PDI interface (need at least 16 idle bits) */XPROGTarget_SendIdle(); XPROGTarget...
The UART interface IC is connected to the processor's USART2 pins. I am unable to find a Line Coding descriptor. I did find the function: static int8_t CDC_Control_FS (uint8_t cmd, uint8_t* pbuf, uint16_t length) in file usbd_cdc_if.c. It does not do anything. There is...