80: } else {
81: *(_UW*)( USART_CR1(unit)) &= ~USART_CR1_TXEIE; // Disable TXE interrupt
82: }
105: /* Set mode & Start communication */
106: out_w(USART_CR1(unit),
107: USART_CR1_RXNEIE | USART_CR1_PEIE // Unmask Receive & Parity error interrupt
118: if(unit != DEVCNF_SER_DBGUN) {
119: out_w(USART_CR1(unit), 0);
120: } else { /* Used by T-Monitor */
121: out_w(USART_CR1(unit), USART_CR1_DEBUG);
122: }
141: case LLD_SER_START: /* Start communication */
142: out_w(USART_CR1(unit), 0);
143: out_w(USART_ICR(unit), USART_ICR_ALL); // Clear interrupt
156: out_w(USART_TDR(unit), parm); // Set Transmission data
157: *(_UW*)( USART_CR1(unit)) |= USART_CR1_TXEIE; // Enable TXE interrupt
158: err = E_OK;