Add DMA to I2C reading/writing

This commit is contained in:
Edward Emelianov
2023-01-08 18:37:08 +03:00
parent dd8d567464
commit c76d7aacb0
10 changed files with 251 additions and 101 deletions

View File

@@ -75,5 +75,6 @@ int main(void){
if(wasbo) usart3_sendstr("Buffer overflow occured @ last message\n");
if(rcv) rcv = parse_cmd(rcv);
if(rcv) usart3_sendstr(rcv);
i2c_have_DMA_Rx(); // check if there's DMA Rx complete
}
}