X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_phase.h;h=7cae67cfc61805ad7a7f4c96fda0b284659b1af7;hb=121f4d98bd4d74629809697ab66001ebcbac76ce;hp=f1cf887e07f895848e9f878025144a2521336ea2;hpb=57cb450a644c0f31440ea69a81b17a298f2eb8d1;p=bertos.git diff --git a/bertos/hw/hw_phase.h b/bertos/hw/hw_phase.h index f1cf887e..7cae67cf 100644 --- a/bertos/hw/hw_phase.h +++ b/bertos/hw/hw_phase.h @@ -32,15 +32,14 @@ * * \brief Phase control hardware-specific definitions * - * \version $Id$ - * + * * \author Francesco Sacchi */ #ifndef HW_PHASE_H #define HW_PHASE_H -#include "phase_map.h" +#include "hw/phase_map.h" #include @@ -51,13 +50,30 @@ 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 */