Home > other >  About 51 MCU used in PCA interrupt AUXR1 registers
About 51 MCU used in PCA interrupt AUXR1 registers

Time:09-30

Program is using PWM motor speed control, PCA in the AUXR1 initialization program,=0 * 20 what meaning be?

CodePudding user response:

AUXR1 IO port input/output as control mode register, 0 x20 estimation is make IO mouth PWM output

CodePudding user response:

refer to the original poster blithe_ response:
program is using PWM motor speed control, PCA in the AUXR1 initialization program,=0 * 20 what meaning be?


Error, should be expression on STC microcontroller AUXR1 main function is used to set the pins (serial port 2, PCA, the output of SPI pin) and the data register
Set 0 x20 can set PCA by P1.1, P1.0, P3.7 as CCP pin, it will not be a zero * 20
  • Related