摘要 |
<p>A stepping motor, print head, magnetic read/write head or other drive mechanism (5) is driven with high precision without using a high speed CPU or dedicated hardware. Timing data (10) controlling the timing at which drive mechanism operation changes, and plural control data controlling drive mechanism operation at each change timing, are stored in memory (11-13). After a drive command from the CPU is received, timing data is read from memory by a DMA unit (14), and sent to a timer (4). Based on a time-up signal from the timer (4), the drive control data is read sequentially from memory (11-13) by a DMA unit (15) for each of the plural control data types and sent to a drive controller (6) of the drive mechanism (5). After all control data types have been sent once, the next timing data is sent to the timer (4) and the operation is repeated. The drive controller (6) drives the driver (7) (stepping motor, print head etc.) based on the control data. <IMAGE></p> |