5 years, 12 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?

Be the first to answer this question.