#include "AT91SAM7S256.h" #include "lib_AT91SAM7S256.h" #include "OK7S256ads.h" unsigned int DBGU_RX_char_nowait(void) /* receive a character by DBGU */ { if(*AT91C_DBGU_CSR & 0x0001) // if RXRDY=1, return a character return *AT91C_DBGU_RHR; else //
oid main void { DBGU output configuration TRACE CONFIGURE DBGU STANDARD 115200 BOARD MCK ; printf " Getting Started Project %s n r" SOFTPACK VERSION ; printf " %s n r" BOARD NAME ; printf " Compiled: %s %s n r" DATE TIM