hw_phase.h

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