projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the bug related to the empty version list
[bertos.git]
/
bertos
/
hw
/
hw_phase.h
diff --git
a/bertos/hw/hw_phase.h
b/bertos/hw/hw_phase.h
index 2577dc887962f5374270dc758fdddbcd00fb1210..7649e7021bf89db94faaa0eddb3270b947bf1a57 100644
(file)
--- a/
bertos/hw/hw_phase.h
+++ b/
bertos/hw/hw_phase.h
@@
-33,31
+33,48
@@
* \brief Phase control hardware-specific definitions
*
* \version $Id$
* \brief Phase control hardware-specific definitions
*
* \version $Id$
- *
+ *
* \author Francesco Sacchi <batt@develer.com>
*/
#ifndef HW_PHASE_H
#define HW_PHASE_H
* \author Francesco Sacchi <batt@develer.com>
*/
#ifndef HW_PHASE_H
#define HW_PHASE_H
-#include "phase_map.h"
+#include "
hw/
phase_map.h"
#include <cfg/compiler.h>
#include <cfg/compiler.h>
-#warning TODO:This is
example implemetantion, you must implement it!
+#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! */
#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! */
}
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 */
#endif /* HW_PHASE_H */