PER Контроллер ШИМ: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 5PWM4_EN Bit 4R/W 0x0 When enable PWM, the 16-bit up-counter starts working and PWM channel4 is permitted to output PWM waveform. PWM3_EN Bit 3R/W 0x0 When enable PWM, the 16-bit up-counter starts working and PWM channel3 is permitted to output PWM waveform. PWM2_EN Bit 2R/W 0x0 When enable PWM, the 16-bit up-counter starts working and PWM channel2 is permitted to output PWM waveform. PWM1_EN Bit 1R/W 0x0 When enable PWM, the 16-bit up-counter starts working and PWM channel1 is permitted to output PWM waveform. Unused Bit 0Команда U-Boot для чтения регистра md 300a040 1Bit fields structuretypedef union per { struct { unsigned unused0 : 1; unsigned pwm1_en : 1; unsigned pwm2_en : 1; unsigned pwm3_en : 1; unsigned pwm4_en : 1; unsigned unused1 : 27; } b; unsigned long w; } PER |