mini board PCU9669 (and PCA9665) sample code

Dependencies:   mbed PCU9669 utility PCA9665 I2C_slaves parallel_bus

Fork of mini_board_PCU9669_old by InetrfaceProducts NXP

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config.h Source File

config.h

00001 /** A sample code for "mini board PCU9669/PCA9665"
00002  *
00003  *  @author  Akifumi (Tedd) OKANO, NXP Semiconductors
00004  *  @version 1.0
00005  *  @date    26-Mar-2012
00006  *
00007  *  Released under the MIT License: http://mbed.org/license/mit
00008  *
00009  *  An operation sample of PCU9669/PCA9665 I2C bus controller.
00010  *  The mbed accesses the bus controller's parallel port (8/2 bit address and 8 bit data) by bit-banging.
00011  *  The bit-banging is poerformed by PortInOut function of mbed library.
00012  *
00013  *    To make the code porting easier, all codes are partitioned into layers to abstract other parts.
00014  *    The mbed specific parts are concentrated in lowest layer: "hardware_abs.*".
00015  *    This module may need to be modified for the porting.
00016  *
00017  *    All other upper layers are writen in standard-C.
00018  *
00019  *    base code is written from 05-Sep-2011 to 09-Sep-2011.
00020  *    And demo code has been build on 11-Sep-2011.
00021  *    Debug and code adjustment has been done on 08-Sep-2011.
00022  *    Small sanitization for main.cpp. All mbed related codes are moved in to "hardware_abs.*". 13-Oct-2011
00023  *    hardware_abs are moved into parallel_bus library folder, 3 LED driver operation sample 13-Feb.-2012
00024  *    PCU9669 and PCA9665 codes are packed in a project 14-Feb-2012. 
00025  *    
00026  *    Before builidng the code, please edit the file mini_board_PCU9669/config.h
00027  *    Un-comment the target name what you want to target. 
00028  */
00029 
00030 #define     CODE_FOR_PCU9669
00031 //#define     CODE_FOR_PCA9663
00032 //#define     CODE_FOR_PCA9665
00033 
00034