摘要 |
PROBLEM TO BE SOLVED: To control a direct type power converter by a microcomputer without using a logic IC.SOLUTION: Interrupt processing by an interrupt instruction R1(k) is started, and an interrupt instruction R2 generated in parallel with the interrupt instruction R1(k) is cancelled. Subsequently, second data Data2(k) is written in a buffer register BuffReg. This is later than the transfer of first data Data1(k) from the buffer register BuffReg to a compare register CompReg, performed at the same timing as that of generation of the interrupt instruction R1(k). By shifting the timing of writing the first data Data1(k+1) and second data Data2(k+1) in the buffer register BuffReg, the timing for transferring them from the buffer register BuffReg to compare register CompReg is sifted.SELECTED DRAWING: Figure 7 |