摘要 |
PURPOSE:To set externally the frequency and duty by setting the frequency to the 1st program counter and setting the duty to the 2nd program counter. CONSTITUTION:An output O1 of a program counter 4 is connected to a set signal input terminal S of an FF8, an output O2 of a program counter 5 is connected to a reset signal input terminal R of the FF8 and an output OUT2(Q') of the FF8 is taken as the reset signal input terminal R of the program counter 5, then a value being a variable data N is set to a frequency set buffer 2 and a variable data M is set to a duty setting buffer 3. Further, when the oscillating frequency of a reference signal oscillator 1 is taken as fO, an output of the program counter 4 becomes a frequency of fO/N and the FF8 is set in the frequency interval of fO/N. |