hw_phase.h
Go to the documentation of this file.00001
00039 #ifndef HW_PHASE_H
00040 #define HW_PHASE_H
00041
00042 #include "hw/phase_map.h"
00043
00044 #include <cfg/compiler.h>
00045
00046 #warning TODO:This is an example implementation, you must implement it!
00047
00048 #define PHASE_HW_INIT do { }while (0)
00049
00050 INLINE void TRIAC_OFF(TriacDev i)
00051 {
00052
00053
00054
00055 (void)i;
00056 }
00057
00058
00059 INLINE void TRIAC_ON(TriacDev i)
00060 {
00061
00062
00063
00064 (void)i;
00065 }
00066
00067 INLINE void SET_TRIAC_DDR(TriacDev i)
00068 {
00069
00070
00071
00072 (void)i;
00073 }
00074
00075 void zerocross_isr(void);
00076 #define DEFINE_ZEROCROSS_ISR() void zerocross_isr(void)
00077
00078
00079 #endif