摘要 |
PURPOSE:To readily switch between a carrier during the course of altering a carrier frequency and a PWM data pattern by completely synchronously switching between the carrier period and a data unit timer. CONSTITUTION:A system clock from a system clock unit 21 is inputted to a T0 timer frequency divider 22 and a T2 timer frequency divider 23, and a carrier period T0 and data unit T2 are outputted. These frequency divided values are designated by a control unit 26, and the start command of the divider 23 is designated by the unit 26. The T0, T2 are inputted to the unit 26 via an interrupt to sequentially access a ROM25 which stores PWM data through an address counter 24, and U-, V-, W-phase data are sequentially outputted through data latch 28 designated by the unit 26. |