39 const uint8_t hex[16]={
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
40 '8',
'9',
'a',
'b',
'c',
'd',
'e',
'f'};
43 while(*UART1_UTXCON == 31);
49 void putstr(
char *s) {
55 void put_hex(uint8_t x)
61 void put_hex16(uint16_t x)
63 put_hex((x >> 8) & 0xFF);
67 void put_hex32(uint32_t x)
69 put_hex((x >> 24) & 0xFF);
70 put_hex((x >> 16) & 0xFF);
71 put_hex((x >> 8) & 0xFF);