emflex / emflex-firmware

Firmware for Emflex prototypes
GNU Lesser General Public License v3.0
0 stars 2 forks source link

Use blocking read for USART #22

Open garyachy opened 7 years ago

garyachy commented 7 years ago

Try to avoid polling to save CPU cycles and battery power

rspolyak commented 7 years ago

@garyachy is this still valid?

garyachy commented 7 years ago

I just have a question why it is not possible to use synchronous read from USART. Why do we use polling?

rspolyak commented 7 years ago

for GSM driver? or in general? please add more description and propose solution