summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/jz4740.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h
index 820b43f880..379c9f8aaa 100644
--- a/firmware/export/jz4740.h
+++ b/firmware/export/jz4740.h
@@ -3546,8 +3546,8 @@ static __inline__ void __cpm_select_msc_hs_clk(int sd)
3546#define __tcu_set_pwm_output_shutdown_graceful(n) ( REG_TCU_TCSR((n)) &= ~TCU_TCSR_PWM_SD ) 3546#define __tcu_set_pwm_output_shutdown_graceful(n) ( REG_TCU_TCSR((n)) &= ~TCU_TCSR_PWM_SD )
3547#define __tcu_set_pwm_output_shutdown_abrupt(n) ( REG_TCU_TCSR((n)) |= TCU_TCSR_PWM_SD ) 3547#define __tcu_set_pwm_output_shutdown_abrupt(n) ( REG_TCU_TCSR((n)) |= TCU_TCSR_PWM_SD )
3548 3548
3549#define __tcu_start_counter(n) ( REG_TCU_TESR |= (1 << (n)) ) 3549#define __tcu_start_counter(n) ( REG_TCU_TESR = (1 << (n)) )
3550#define __tcu_stop_counter(n) ( REG_TCU_TECR |= (1 << (n)) ) 3550#define __tcu_stop_counter(n) ( REG_TCU_TECR = (1 << (n)) )
3551 3551
3552#define __tcu_half_match_flag(n) ( REG_TCU_TFR & (1 << ((n) + 16)) ) 3552#define __tcu_half_match_flag(n) ( REG_TCU_TFR & (1 << ((n) + 16)) )
3553#define __tcu_full_match_flag(n) ( REG_TCU_TFR & (1 << (n)) ) 3553#define __tcu_full_match_flag(n) ( REG_TCU_TFR & (1 << (n)) )