Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 8 months ago.
life of serial buffer
hi what happens with buffer of serial when i do a reset of microcontroler with NVIC_SystemReset() ???
is it being reset or does it have old data on start?
im reading serial and copy to my new buffer 8 characters. if i get wrong characters ill discard it and wait for new one. but im trying to do a counter measure for my program that will reset (with NVIC_SystemReset()) uC if my timer counts to 1 hour. Will it work like that or do i have to flush data anyway?