摘要 |
Systems and methods for interfacing with hardware components using object oriented programming are disclosed. In some examples, system includes processing hardware unit. System includes multiple first level hardware components, each first level hardware component being coupled with processing hardware unit. System includes multiple second level hardware components, each second level hardware component being coupled with at least one first level hardware component. System includes memory, accessible to processing hardware unit. Memory includes compiler for object oriented programming language. Memory includes first and multiple second objects in object oriented programming language. Each of first or second objects mirrors first or second level hardware component, respectively. Each of first or second objects includes representation of feature or functionality of first or second level hardware component and code for communicating with first or second level hardware component. |
主权项 |
1. A system for interfacing with hardware components, the system comprising:
a processing hardware unit; a plurality of first level hardware components, each first level hardware component being coupled with the processing hardware unit; a plurality of second level hardware components, each second level hardware component being coupled with at least one first level hardware component; and a memory, accessible to the processing hardware unit, the memory comprising:
a compiler for an object oriented programming language;a first plurality of objects in the object oriented programming language, each of the first plurality of objects mirroring a first level hardware component, each of the first plurality of objects comprising a representation of a feature or a functionality of the first level hardware component and code for communicating with the first level hardware component; anda second plurality of objects in the object oriented programming language, each of the second plurality of objects mirroring a second level hardware component, each of the second plurality of objects comprising a representation of a feature or a functionality of the second level hardware component and code for communicating with the second level hardware component. |