ARM Integrator-CP Bare Bones: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 50:
#define SERIAL_BUFFER_FULL (1 << 5)
void putc
{
/* Wait until the serial buffer is empty */
while
& (SERIAL_BUFFER_FULL));
/* Put our character, c, into the serial buffer */
Line 59:
}
void puts
{
while
putc(*str++);
}
int main
{
puts
return 0;
}
|