Patent ID: 7791907

Claim:
A high voltage generating apparatus comprising: a switching unit for controlling a voltage induced at a secondary coil of a power transformer by an interrupt operation, wherein the interrupt operation comprises interrupting a current flowing through a primary coil of the power transformer; a digital controller for controlling the interrupt operation of the switching unit according to digital control data; and a digital interface for providing the digital control data to the digital controller, the digital control data being extracted from a control code transferred via at least a communication protocol; wherein the digital controller receives a feedback signal corresponding to an output voltage of the secondary coil, and a period of the interrupt operation of the switching unit is adjusted according to a result of a comparison between the feedback signal and the digital control data; wherein the digital interface comprises: an I2C interface for extracting the control data from the control code transferred via an I2C communication protocol and outputting the control data; an SPI unit for extracting the control data from the control code transferred via an SPI (Serial Peripheral Interface) communication protocol and outputting the control data; a memory for storing and outputting the control data outputted from at least one of the I2C interface and the SPI unit; and a demultiplexer for transferring the control code as an input to at least one of the I2C interface and the SPI unit.