gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:USART_CR1 (0.00 seconds)
mtkernel_3
device/ser/sysdepend/stm32l4/ser_stm32l4.c - 7.2KB - 215 lines
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;