PCCR23 Контроллер ШИМ: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 9PWM23_CLK_SRC_SEL Bits 8 : 7R/W 0x0 Select PWM23 clock source PWM23_CLK_SRC_BYPASS_TO_PWM3 Bit 6R/W 0x0 Bypass PWM23 clock source to PWM3 output PWM23_CLK_SRC_BYPASS_TO_PWM2 Bit 5R/W 0x0 Bypass PWM23 clock source to PWM2 output PWM23_CLK_GATING Bit 4R/W 0x0 Gating clock for PWM23 PWM23_CLK_DIV_M Bits 3 : 0R/W 0x0 PWM23 clock divide M Команда U-Boot для чтения регистра md 300a024 1Bit fields structuretypedef union pccr23 { struct { unsigned pwm23_clk_div_m : 4; unsigned pwm23_clk_gating : 1; unsigned pwm23_clk_src_bypass_to_pwm2 : 1; unsigned pwm23_clk_src_bypass_to_pwm3 : 1; unsigned pwm23_clk_src_sel : 2; unsigned unused0 : 23; } b; unsigned long w; } PCCR23 |