Michael Spahlinger
3d5e690977
Shadow-Mode: The output- and configuration registers of the IO-Expander
...
are held in the microcontrollers memory and only written to the IO-Expander.
This reduces bus traffic and is more error-proof than the normal read-
modify-write operation.
Retry Mode: If enabled and an error occurs while writing to the IO-Expander the
current transmission is automatically repeated once.
2016-06-27 08:11:54 -06:00
Gregory Nutt
b16fdaf155
Some small improvements to GPIO driver
2016-06-26 11:24:35 -06:00
Gregory Nutt
db50f13511
Correct some typos in DEBUGASSERT statements
2016-06-24 14:34:21 -06:00
Gregory Nutt
20708c7c5e
GPIO driver: Fix inconsistency in naming; beef up a debug assertion.
2016-06-24 11:32:24 -06:00
Gregory Nutt
ae19ca45e0
drivrs/ioexpander: Add support for a very simple GPIO drivers. It supports only pre-conrigured input and output pins and only basic input and output operations.
2016-06-24 09:43:49 -06:00
Sebastien Lorquet
9fd3db6293
PCA9555: Fix condition where GPIO interrupt is not re-enabled.
2016-04-20 09:59:16 -06:00
Frank Benkert
35df528f69
PCA9555: Remove duplicate variable declaration
2016-02-23 07:33:52 -06:00
Gregory Nutt
cea3854dea
PCA5555: Add logic to make the driver thread safe. Problem noted by Stefan Kolb.
2016-02-03 12:39:11 -06:00
Gregory Nutt
e5d86dd3fc
Oops. Apparently a copy'n'paste was accidentally a cut'n'paste
2016-02-02 12:53:32 -06:00
Gregory Nutt
009e9f76cb
I2C: Fixes/improvements from last massive I2C commits
2016-02-02 07:13:03 -06:00
Gregory Nutt
69ce24c70c
I2C: Remove the setfrequency method from the interface
2016-02-01 16:31:13 -06:00
Gregory Nutt
f9053182d3
I2C: Remove setaddress method
2016-02-01 12:14:31 -06:00
Gregory Nutt
8c9bddf998
I2C: Eliminate the I2C_WRITE and I2C_READ macros
2016-02-01 08:57:22 -06:00
Gregory Nutt
10000841a8
The I2C_TRANSFER method is no longer optional
2016-01-31 14:16:05 -06:00
Gregory Nutt
3a781a2d3f
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:16 -06:00
Gregory Nutt
efb5674742
drivers/ioexpander/pca9555: Now uses i2c_read and i2c_write instead of I2C_READ and I2C_WERITE
2016-01-26 11:07:47 -06:00
Gregory Nutt
d4a53ee131
I2C: Eliminate the I2C_WRITEREAD method
2016-01-26 10:26:16 -06:00
Gregory Nutt
67f38169b2
drivers/i2c: Move wrapper that implements I2C_WRITEREAD using I2C_transfer from pc9555.c to a new, comon i2c directory
2016-01-26 09:58:18 -06:00
Gregory Nutt
f74fbecf52
PCA9555 I/O expander: Fix an error in addressing noted by Stefan Kolb; convert to use I2C_TRANSFER instead of I2C_WRITEREAD which is not thread safe
2016-01-26 07:59:36 -06:00
Stefan Kolb
2b05f3e830
I/O Expander: Fix some bad macros, make naming consisted
2016-01-22 07:08:59 -06:00
Gregory Nutt
8ab93fdf98
Change name of drivers/discrete back to drivers/ioexpander
2015-12-15 08:40:34 -06:00
Gregory Nutt
cbb78071b3
Rename ioexpander/ directories to discrete/
2015-11-01 13:14:48 -06:00
Gregory Nutt
cf14f8d1b5
drivers/: Fixes to spacing and alignement
2015-10-10 10:41:00 -06:00
Sebastien Lorquet
9c9b6162d8
PCA9555: Extend interface to include methods for reading more than one bit at a time. From Sébastien Lorquet.
2015-07-10 10:33:07 -06:00
Gregory Nutt
3971d97332
Update ChangeLog
2015-07-09 08:27:08 -06:00
Sebastien Lorquet
b947002d6a
This commit adds:
...
-headers in nuttx/ioexpander to define the "generic" ioexpander framework
-files in drivers/ioexpander for the implementation of the NXP PCA9555 framework
-bindings in drivers/Kconfig and drivers/Makefile
From Sebastien Lorquet
2015-07-09 08:27:07 -06:00