add Relazione falsa e inizio file
This commit is contained in:
parent
2775cc2108
commit
3de21f2577
33 changed files with 5944 additions and 2868 deletions
|
|
@ -0,0 +1,10 @@
|
|||
#include "myUSART.h"
|
||||
|
||||
|
||||
void myUSART3_init() {
|
||||
// abilita rx/tx su USART3
|
||||
USART3->CR1 |= USART_CR1_RE; // enable RX flag
|
||||
USART3->CR1 |= USART_CR1_TE; // enable TX flag
|
||||
// abilita rx/tx interrupts su USART3
|
||||
USART3->CR1 |= USART_CR1_RXNEIE;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue