PCCR01 Контроллер ШИМ: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 9PWM01_CLK_SRC Bits 8 : 7R/W 0x0 Select PWM01 clock source PWM01_CLK_SRC_BYPASS_TO_PWM1 Bit 6R/W 0x0 Bypass PWM01 clock source to PWM1 output Unused Bit 5PWM01_CLK_GATING Bit 4R/W 0x0 Gating clock for PWM01 PWM01_CLK_DIV_M Bits 3 : 0R/W 0x0 PWM01 clock divide M Команда U-Boot для чтения регистра md 300a020 1Bit fields structuretypedef union pccr01 { struct { unsigned pwm01_clk_div_m : 4; unsigned pwm01_clk_gating : 1; unsigned unused0 : 1; unsigned pwm01_clk_src_bypass_to_pwm1 : 1; unsigned pwm01_clk_src : 2; unsigned unused1 : 23; } b; unsigned long w; } PCCR01 |