Mini board PCU9669 evaluation kit library
Dependents: mini_board_PCU9669
utility.h@3:67eb582418f8, 2012-07-11 (annotated)
- Committer:
- nxp_ip
- Date:
- Wed Jul 11 11:19:13 2012 +0000
- Revision:
- 3:67eb582418f8
- Parent:
- 2:e09dc00c3600
for mini_board_PCU9669 v1.1 release
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nxp_ip | 0:a84695551cc4 | 1 | /** A sample code for "mini board PCU9669/PCA9665" |
nxp_ip | 0:a84695551cc4 | 2 | * |
nxp_ip | 1:61a130635bd0 | 3 | * @author Akifumi (Tedd) OKANO, NXP Semiconductors |
nxp_ip | 3:67eb582418f8 | 4 | * @version 1.1 |
nxp_ip | 3:67eb582418f8 | 5 | * @date 11-Jul-2012 |
nxp_ip | 0:a84695551cc4 | 6 | * |
nxp_ip | 0:a84695551cc4 | 7 | * Released under the MIT License: http://mbed.org/license/mit |
nxp_ip | 0:a84695551cc4 | 8 | * |
nxp_ip | 0:a84695551cc4 | 9 | * An operation sample of PCU9669/PCA9665 I2C bus controller. |
nxp_ip | 0:a84695551cc4 | 10 | * The mbed accesses the bus controller's parallel port (8/2 bit address and 8 bit data) by bit-banging. |
nxp_ip | 0:a84695551cc4 | 11 | * The bit-banging is poerformed by PortInOut function of mbed library. |
nxp_ip | 0:a84695551cc4 | 12 | * |
nxp_ip | 0:a84695551cc4 | 13 | * To make the code porting easier, all codes are partitioned into layers to abstract other parts. |
nxp_ip | 0:a84695551cc4 | 14 | * The mbed specific parts are concentrated in lowest layer: "hardware_abs.*". |
nxp_ip | 0:a84695551cc4 | 15 | * This module may need to be modified for the porting. |
nxp_ip | 0:a84695551cc4 | 16 | * |
nxp_ip | 0:a84695551cc4 | 17 | * All other upper layers are writen in standard-C. |
nxp_ip | 0:a84695551cc4 | 18 | * |
nxp_ip | 0:a84695551cc4 | 19 | * base code is written from 05-Sep-2011 to 09-Sep-2011. |
nxp_ip | 0:a84695551cc4 | 20 | * And demo code has been build on 11-Sep-2011. |
nxp_ip | 0:a84695551cc4 | 21 | * Debug and code adjustment has been done on 08-Sep-2011. |
nxp_ip | 0:a84695551cc4 | 22 | * Small sanitization for main.cpp. All mbed related codes are moved in to "hardware_abs.*". 13-Oct-2011 |
nxp_ip | 0:a84695551cc4 | 23 | * hardware_abs are moved into parallel_bus library folder, 3 LED driver operation sample 13-Feb.-2012 |
nxp_ip | 0:a84695551cc4 | 24 | * PCU9669 and PCA9665 codes are packed in a project 14-Feb-2012. |
nxp_ip | 0:a84695551cc4 | 25 | * |
nxp_ip | 0:a84695551cc4 | 26 | * Before builidng the code, please edit the file mini_board_PCU9669/config.h |
nxp_ip | 1:61a130635bd0 | 27 | * Un-comment the target name what you want to target. |
nxp_ip | 0:a84695551cc4 | 28 | */ |
nxp_ip | 0:a84695551cc4 | 29 | |
nxp_ip | 0:a84695551cc4 | 30 | |
nxp_ip | 0:a84695551cc4 | 31 | #ifndef MINIBOARD_UTILITY__ |
nxp_ip | 0:a84695551cc4 | 32 | #define MINIBOARD_UTILITY__ |
nxp_ip | 0:a84695551cc4 | 33 | |
nxp_ip | 0:a84695551cc4 | 34 | void dump_read_data( char *data, char length ); |
nxp_ip | 0:a84695551cc4 | 35 | |
nxp_ip | 0:a84695551cc4 | 36 | #endif // MINIBOARD_UTILITY__ |