mini board PCU9669 (and PCA9665) sample code
Dependencies: mbed PCU9669 utility PCA9665 I2C_slaves parallel_bus
Fork of mini_board_PCU9669_old by
Sample code for PCU9669 (PCU9661, PCA9663, PCA9661 and PCA9665) evaluation board.
PCU9669 evaluation board: Mini board PCU9669
User manual is available -> http://www.nxp.com/documents/user_manual/UM10580.pdf
config.h@5:57c345099873, 2012-03-26 (annotated)
- Committer:
- nxp_ip
- Date:
- Mon Mar 26 06:17:23 2012 +0000
- Revision:
- 5:57c345099873
- Parent:
- 4:c50d5596cb47
- Child:
- 6:1fc6a640d320
tempolary version for trouble shooting
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nxp_ip | 0:de9a15767563 | 1 | /** A sample code for "mini board PCU9669/PCA9665" |
nxp_ip | 0:de9a15767563 | 2 | * |
nxp_ip | 0:de9a15767563 | 3 | * @author Tedd OKANO, NXP Semiconductors |
nxp_ip | 0:de9a15767563 | 4 | * @version 0.9 |
nxp_ip | 0:de9a15767563 | 5 | * @date 14-Feb-2011 |
nxp_ip | 0:de9a15767563 | 6 | * |
nxp_ip | 0:de9a15767563 | 7 | * Released under the MIT License: http://mbed.org/license/mit |
nxp_ip | 0:de9a15767563 | 8 | * |
nxp_ip | 0:de9a15767563 | 9 | * An operation sample of PCU9669/PCA9665 I2C bus controller. |
nxp_ip | 0:de9a15767563 | 10 | * The mbed accesses the bus controller's parallel port (8/2 bit address and 8 bit data) by bit-banging. |
nxp_ip | 0:de9a15767563 | 11 | * The bit-banging is poerformed by PortInOut function of mbed library. |
nxp_ip | 0:de9a15767563 | 12 | * |
nxp_ip | 0:de9a15767563 | 13 | * To make the code porting easier, all codes are partitioned into layers to abstract other parts. |
nxp_ip | 0:de9a15767563 | 14 | * The mbed specific parts are concentrated in lowest layer: "hardware_abs.*". |
nxp_ip | 0:de9a15767563 | 15 | * This module may need to be modified for the porting. |
nxp_ip | 0:de9a15767563 | 16 | * |
nxp_ip | 0:de9a15767563 | 17 | * All other upper layers are writen in standard-C. |
nxp_ip | 0:de9a15767563 | 18 | * |
nxp_ip | 0:de9a15767563 | 19 | * base code is written from 05-Sep-2011 to 09-Sep-2011. |
nxp_ip | 0:de9a15767563 | 20 | * And demo code has been build on 11-Sep-2011. |
nxp_ip | 0:de9a15767563 | 21 | * Debug and code adjustment has been done on 08-Sep-2011. |
nxp_ip | 0:de9a15767563 | 22 | * Small sanitization for main.cpp. All mbed related codes are moved in to "hardware_abs.*". 13-Oct-2011 |
nxp_ip | 0:de9a15767563 | 23 | * hardware_abs are moved into parallel_bus library folder, 3 LED driver operation sample 13-Feb.-2012 |
nxp_ip | 0:de9a15767563 | 24 | * PCU9669 and PCA9665 codes are packed in a project 14-Feb-2012. |
nxp_ip | 0:de9a15767563 | 25 | * |
nxp_ip | 0:de9a15767563 | 26 | * Before builidng the code, please edit the file mini_board_PCU9669/config.h |
nxp_ip | 0:de9a15767563 | 27 | * Uncomment the target name what you want to target. |
nxp_ip | 0:de9a15767563 | 28 | */ |
nxp_ip | 0:de9a15767563 | 29 | |
nxp_ip | 5:57c345099873 | 30 | //#define CODE_FOR_PCU9669 |
nxp_ip | 0:de9a15767563 | 31 | //#define CODE_FOR_PCA9663 |
nxp_ip | 5:57c345099873 | 32 | #define CODE_FOR_PCA9665 |
nxp_ip | 0:de9a15767563 | 33 | |
nxp_ip | 0:de9a15767563 | 34 |