/** * \file * * * \brief Phase control hardware-specific definitions * * * \author Francesco Sacchi */ #ifndef HW_PHASE_H #define HW_PHASE_H #include "hw/phase_map.h" #include #warning TODO:This is an example implementation, you must implement it! #define PHASE_HW_INIT do { /* Implement me! */ }while (0) INLINE void TRIAC_OFF(TriacDev i) { /* Implement me! */ //Only for test remove when implement this function (void)i; } INLINE void TRIAC_ON(TriacDev i) { /* Implement me! */ //Only for test remove when implement this function (void)i; } INLINE void SET_TRIAC_DDR(TriacDev i) { /* Implement me! */ //Only for test remove when implement this function (void)i; } void zerocross_isr(void); #define DEFINE_ZEROCROSS_ISR() void zerocross_isr(void) #endif /* HW_PHASE_H */