From 330ccb5c4779b9b6022b8471c6b9312166ee22d7 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 6 Nov 2019 14:07:59 -0700 Subject: [PATCH] Fix ZTIER register --- src/ec/it8587e/include/ec/pwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ec/it8587e/include/ec/pwm.h b/src/ec/it8587e/include/ec/pwm.h index e8de656..90e7a88 100644 --- a/src/ec/it8587e/include/ec/pwm.h +++ b/src/ec/it8587e/include/ec/pwm.h @@ -43,6 +43,8 @@ volatile uint8_t __xdata __at(0x1820) F2TLRR; // Fan two tachometer most significant byte reading register volatile uint8_t __xdata __at(0x1821) F2TMRR; +// PWM polarity register +volatile uint8_t __xdata __at(0x180A) PWMPOL; // Prescaler clock frequency select register volatile uint8_t __xdata __at(0x180B) PCFSR; // Prescaler clock source select group low @@ -52,7 +54,7 @@ volatile uint8_t __xdata __at(0x180D) PCSSGH; // Prescaler clock source gating register volatile uint8_t __xdata __at(0x180F) PCSGR; // PWM clock control register with weird name -volatile uint8_t __xdata __at(0x1821) ZTIER; +volatile uint8_t __xdata __at(0x1823) ZTIER; // Tachometer switch control register volatile uint8_t __xdata __at(0x1848) TSWCTLR;