Graphical programming of custom device drivers
First Claim
Patent Images
1. A method comprising:
- providing information identifying blocks of a block diagram,the blocks representing functions associated with a plurality of device drivers,the functions including a function to read from or write to serial ports,the plurality of device drivers being used to control a plurality of devices,the providing being performed by a computing device;
receiving parameters to configure the blocks,the received parameters being received from a user associated with the computing device,the received parameters corresponding to values of the blocks,the receiving being performed by the computing device;
configuring the blocks, based on the received parameters, to generate another device driver,the received parameters, received in association with the other device driver, including information identifying one or more serial port numbers relating to the function to read from or write to serial ports,the other device driver including the information identifying the one or more serial port numbers,configuring the blocks including automatically changing the values of the blocks, based on the received parameters, to configure the blocks,the configuring being performed by the computing device; and
generating code for the other device driver based on configuring the blocks,a particular device being controlled, using the other device driver, based on the other device driver including the information identifying the one or more serial port numbers,the generating being performed by the computing device.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a set of blocks for creating device drivers. Since, for most computational devices, device driver code to configure and control an I/O interface may be decomposed into a small finite number of common software functions, by providing a block set comprising blocks representing the finite number of common software functions, custom device drivers can be created for any number of devices. Thus, by providing a set of generalized device driver blocks that can be parameterized by the user, specific instances of custom device drivers can be created as needed. Processor and device specific driver code can then be generated from the custom device driver.
31 Citations
20 Claims
-
1. A method comprising:
-
providing information identifying blocks of a block diagram, the blocks representing functions associated with a plurality of device drivers, the functions including a function to read from or write to serial ports, the plurality of device drivers being used to control a plurality of devices, the providing being performed by a computing device; receiving parameters to configure the blocks, the received parameters being received from a user associated with the computing device, the received parameters corresponding to values of the blocks, the receiving being performed by the computing device; configuring the blocks, based on the received parameters, to generate another device driver, the received parameters, received in association with the other device driver, including information identifying one or more serial port numbers relating to the function to read from or write to serial ports, the other device driver including the information identifying the one or more serial port numbers, configuring the blocks including automatically changing the values of the blocks, based on the received parameters, to configure the blocks, the configuring being performed by the computing device; and generating code for the other device driver based on configuring the blocks, a particular device being controlled, using the other device driver, based on the other device driver including the information identifying the one or more serial port numbers, the generating being performed by the computing device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable medium storing instructions, the instructions comprising:
-
one or more instructions which, when executed by one or more processors of a computing device, cause the one or more processors to provide information identifying blocks of a block diagram, the blocks representing functions associated with a plurality of device drivers, the functions including a function to read from or write to serial ports, a plurality of devices being controlled using the plurality of device drivers; one or more instructions which, when executed by the one or more processors, cause the one or more processors to receive parameters to configure the blocks, the received parameters being mapped to values of the blocks; one or more instructions which, when executed by the one or more processors, cause the one or more processors to configure the blocks, based on the received parameters, to generate another device driver, the received parameters, received in association with the other device driver, including information identifying one or more serial port numbers relating to the function to read from or write to serial ports, the other device driver including the information identifying the one or serial port numbers, the one or more instructions to configure the blocks including one or more instructions to automatically change the values of the blocks, based on the received parameters, to configure the blocks; and one or more instructions which, when executed by the one or more processors, cause the one or more processors to generate code for the other device driver based on configuring the blocks, a particular device being controlled, using the other device driver, based on the other device driver including the information identifying the one or more serial port numbers. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system comprising:
-
a computing device to; provide information identifying blocks of a block diagram, the blocks representing functions associated with a plurality of device drivers, the functions including a function to read from or write to serial ports, the plurality of device drivers being used to control a plurality of devices; receive parameters to configure the blocks, the received parameters being received from a user associated with the computing device, the received parameters being mapped to values of the blocks; configure the blocks, based on the received parameters, to generate another device driver, the received parameters, received in association with the other device driver, including information identifying one or more serial port numbers relating to the function to read from or write to serial ports, the other device driver including the information identifying the one or more serial port numbers, when configuring the blocks, the computing device is to automatically change the values of the blocks, based on the received parameters, to configure the blocks; and generate code for the other device driver based on configuring the blocks, a particular device being controlled, using the other device driver, based on the other device driver including the information identifying the one or more serial port numbers. - View Dependent Claims (18, 19, 20)
-
Specification