摘要 |
PROBLEM TO BE SOLVED: To provide a highly portable control program without heavily depending on hardware. SOLUTION: A driver layer 31B dependent on hardware is provided with a handler 41 for converting interruption of USB hardware 1 to a pseudo-interruption 40, a periodic function 42A for periodically detecting a parameter where the interruption is not prepared and generating the pseudo-interruption 40, and a periodic function 42B for periodically detecting parameter variation of other hardware and generating the pseudo-interruption 40. The pseudo-interruption 40 is passed to a further upper application via the driver layer 31A independent from hardware. The interruption of the USB hardware 1, the parameter where the interruption is not prepared, and the parameter of other hardware are converted to the pseudo-interruption 40, then the USB driver body can be transferred to other USB hardware, by only modification of the driver layer 31B, and the portability is improved. COPYRIGHT: (C)2005,JPO&NCIPI
|