mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 21:19:03 +00:00
drivers/eeprom: add 24CW160 support
Add support for the Microchip 24CW160 (2048B, 32-byte pages, 2-byte data address) Signed-off-by: raiden00pl <raiden00@railab.me> Assisted-by: Claude Code
This commit is contained in:
parent
a3e7e995e5
commit
88ecbc2682
2 changed files with 9 additions and 0 deletions
|
|
@ -41,6 +41,11 @@
|
|||
* 24xx1025 131072 128 2 1010PAA Special case: address
|
||||
* bit is shifted.
|
||||
* 24xx1026 131072 128 2 1010AAP
|
||||
* 24CM02 262144 256 2 1010APP
|
||||
* 24CW160 2048 32 2 1010AAA Not a 24xx16
|
||||
* variant: 24CW uses
|
||||
* 2-byte addressing
|
||||
* and 32-byte pages.
|
||||
*
|
||||
* Atmel
|
||||
* AT24C01 128 8 1 1010AAA
|
||||
|
|
@ -214,6 +219,9 @@ static const struct ee24xx_geom_s g_ee24xx_devices[] =
|
|||
{
|
||||
11, 5, 2, 2, 0
|
||||
}, /* AT24CM02 262144 256 2 */
|
||||
{
|
||||
4, 2, 2, 0, 0
|
||||
}, /* 24CW160 2048 32 2 */
|
||||
|
||||
/* STM devices */
|
||||
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ enum eeprom_24xx_e
|
|||
EEPROM_24XX1025,
|
||||
EEPROM_24XX1026,
|
||||
EEPROM_24CM02,
|
||||
EEPROM_24CW160,
|
||||
|
||||
/* Atmel geometries - none... */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue