examples/triface/hw/hw_ser.h

Go to the documentation of this file.
00001 
00040 #ifndef HW_SER_H
00041 #define HW_SER_H
00042 
00043 #include "cfg/cfg_ser.h"
00044 
00045 #if CONFIG_SER_STROBE
00046 
00047     #define SER_STROBE_ON    do {PORTC |= BV(0);} while(0)
00048     #define SER_STROBE_OFF   do {PORTC &= ~BV(0);} while(0)
00049     #define SER_STROBE_INIT  do {DDRC  |= BV(0); } while(0)
00050 #endif
00051 
00052 #endif //HW_SER_H