
Designer Reference Manual USB08 Evaluation Board
96 Source Code Files MOTOROLA
Source Code Files
U08232.H//===================== ======================== ======================= ========
// File: U08_232.H
// Func: Header File fo r RS232 Module of USB08 Demo App
// Ver.: 1.00
// Auth: (C)2000,2001 b y Oliver Thamm
// MCT Elektronik laden GbR
// http://hc08web .de/usb08
// Rem.: View/Edit this File with TAB-Size=4
//===================== ======================== ======================= ========
//-- Function Prototype s ---------------------- ----------------------- --------
void initSSCI();
void putSSCI(char c);
char getSSCI();
//===================== ======================== ======================= ========
U08LED.H//===================== ======================== ======================= ========
// File: U08LED.H
// Func: LED Functions for USB08
// Auth: (C)2000 by MCT Elektronikladen GbR, Ol iver Thamm
// http://www.ele ktronikladen.de/mct
//===================== ======================== ======================= ========
// No code in this Module - just Macros!
#define initLED() (DDRD |= 0x07)
#define toggleLED(x) (PTD ^= (1 << (x-1)))
#define offLED(x) (PTD |= (1 << (x-1)))
#define onLED(x) (PTD &= ~(1 << (x-1)))
//===================== ======================== ======================= ========