Skip to content
Discussion options

You must be logged in to vote

Hi! This is the intent of the "iodriver" API. That is - it is a generic PSP API for device access, similar to ioctl(). Device actions are enumerated so they can be extended without actually adding new function calls, and also allows for transparently changing underlying devices with others that have more (or less) functionality. There are several general classes of device defined and an i2c bus (raw access) would be the datagram type. You can also implement a device access module for whatever is connected via i2c, such as an ADC or DAC.

Currently there is just one example of a device driver, which reads the CPU load on linux and is used by HS app for reporting the current system load.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@andy27182
Comment options

@9a3eedi
Comment options

Answer selected by 9a3eedi
Comment options

You must be logged in to vote
1 reply
@andy27182
Comment options

Comment options

You must be logged in to vote
1 reply
@andy27182
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants