#define INTERRUPT_CAP2 0x40
#define INTERRUPT_CAP3 0x80
+#define INTERRUPT_PWM0 0x01
+#define INTERRUPT_PWM1 0x02
+#define INTERRUPT_PWM2 0x04
+#define INTERRUPT_PWM3 0x08
+#define INTERRUPT_PWM4 0x10
+#define INTERRUPT_PWM5 0x20
+#define INTERRUPT_PWM6 0x40
+
#define INTERRUPT_SET 0x00
#define INTERRUPT_USED 0x01
#define INTERRUPT_PRIORITY_USED 0x02
void interrupt_tc_match_config(u8 tcnum,u8 mnum,u32 val,u8 mode);
void interrupt_tc_capt_config(u8 tcnum,u8 cnum,u8 mode);
void interrupt_tc_ir_set(u8 tcnum,u8 tcmc);
+void interrupt_tc_enable(u8 tcnum);
void interrupt_pwm_ir_set(u8 pwm_channel);