forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
icjx: add support for multiple pin read/write
This commit implements functions icjx_multireadpin and icjx_multiwritepin. These functions can be used for multiple pin access (read/write) if CONFIG_IOEXPANDER_MULTIPIN is selected. This access is generally faster than one by one pin and may simplify user application. Changes to general functions icjx_read and icjx_write were also required to provide support for multiple data send/receive. Signed-off-by: Michal Lenc <[email protected]>
- Loading branch information
1 parent
2157286
commit bc2a5a6
Showing
1 changed file
with
160 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters