5.1.6.2.2. Functional requirements
System must set the USART_CR1_UE value to 0 before configuration. |
System must enable clock for USART. |
System must enable clock for USART by setting the USART1_CR1 register |
System must enable clock for pins PA9(TX) and PA10 (RX) |
System must set TX pin (PA9) as AF7 (Alternate Function 7) |
System must set RX pin (PA10) as AF7 (Alternate Function 7) |
System shall control Baud Rate by controlling BRR |
System shall control word length by controlling USART_CR1 |
System shall control the number of stop bit by controlling USART_CR1 |
System must have possibility to have cohice to enable transmission, receiver or both transmission and receiver mode for USART |
System must enable USART |
System must set the microcontroller to transmit and recieve mode |