FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/uart/uart_txs.c @ 665:2795a11973b8
UART PS entity: added trace of line state changes
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 27 May 2020 22:46:55 +0000 |
| parents | 53929b40109c |
| children |
comparison
equal
deleted
inserted
replaced
| 664:afcb1115b9b3 | 665:2795a11973b8 |
|---|---|
| 532 * DCD and DTR are not supported on UART Irda on C & D-Sample. | 532 * DCD and DTR are not supported on UART Irda on C & D-Sample. |
| 533 */ | 533 */ |
| 534 if((uart_data->tx.lines != dlc->lines)) | 534 if((uart_data->tx.lines != dlc->lines)) |
| 535 { | 535 { |
| 536 /* | 536 /* |
| 537 * FreeCalypso addition: trace the dlc->lines value that is | |
| 538 * causing UF_SetLineState() calls to the physical UART driver. | |
| 539 */ | |
| 540 TRACE_USER_CLASS_P1(TC_EVENT|TC_USER1, | |
| 541 "sig_ker_tx_line_states_req: dlc->lines = %x", | |
| 542 dlc->lines); | |
| 543 | |
| 544 /* | |
| 537 * set new line states separatly because | 545 * set new line states separatly because |
| 538 * if one line is not supported by the driver | 546 * if one line is not supported by the driver |
| 539 * we can still set the other lines | 547 * we can still set the other lines |
| 540 */ | 548 */ |
| 541 if(dlc->lines & UART_SA_TX_MASK) | 549 if(dlc->lines & UART_SA_TX_MASK) |
