摘要 |
PROBLEM TO BE SOLVED: To achieve the on/off control method of a switch capable of reducing a processing load in the case of performing ON/OFF control over a switch whose various operations are controlled on the basis of control data and a switch circuit.SOLUTION: All commands in a command table 131 included in an RAM 13 are DMA transferred to an SPI controller 17, and the DMA transferred commands are transmitted to an IPD(Intelligent Power Device) 18 by SPI communication for performing ON/OFF control, and DIAG commands irrelevant to the ON/OFF control of the IPD 18 are preliminarily written in the whole area of the command table 131, and the transfer source address of the command to be DMA transferred to the IPD 18 is calculated at a phase with which the IPD 18 is subjected to ON/OFF control, and an ON command and OFF command for performing ON/OFF control over the IPD 18 are overwritten with a diagnostic command preliminarily written in each calculated transfer source address. |