AnsweredAssumed Answered

How can I test if GETCHAR() will block?

Question asked by Robert Poor on Dec 19, 2016
Latest reply on Dec 26, 2016 by xiangjun.rong

We are developing a device around the MKL27Z64xxx, and will be using its UART for calibration and testing.  The processor will be running a real-time process until the user types a character, at which point it will drop out of real time and do calls to GETCHAR() to process the user input.

 

Is there a function call that will tell me if GETCHAR() has a character available, i.e., will not block when I call it?

 

Outcomes