Test program done
This commit is contained in:
@@ -63,7 +63,8 @@ static SHAL_UART_Control_Register_1 getUARTControlRegister1(const UART_Pair_Key
|
||||
USART_CR1_TE,
|
||||
USART_CR1_RE,
|
||||
USART_CR1_M0,
|
||||
USART_CR1_M1
|
||||
USART_CR1_M1,
|
||||
USART_CR1_RXNEIE
|
||||
};
|
||||
|
||||
res.reg = &getUARTPair(key).USARTReg->CR1;
|
||||
@@ -90,7 +91,7 @@ static SHAL_UART_ISR getUARTISR(const UART_Pair_Key key) { //TODO Support for mu
|
||||
}
|
||||
|
||||
static SHAL_UART_Transmit_Data_Register getUARTTransmitDataRegister(const UART_Pair_Key key) {
|
||||
return {&getUARTPair(key).USARTReg->CR1};
|
||||
return {&getUARTPair(key).USARTReg->TDR};
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user