#include <__armlib.h>
unsigned long __ARMLIB_commRX(void);
__ARMLIB_commRX reads a word of data from the ARM's debug communications channel. This function will block until the operation is complete.
__ARMLIB_commRX is an ARM specific extension provided by CrossWorks C.