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
Diff: main_PCU9669.c
- Revision:
- 1:709e2c8e789a
- Parent:
- 0:de9a15767563
- Child:
- 2:401c24301f60
--- a/main_PCU9669.c Thu Mar 15 04:07:07 2012 +0000 +++ b/main_PCU9669.c Wed Mar 21 01:54:20 2012 +0000 @@ -90,7 +90,7 @@ char PCx9955_reg_read_start_address = 0x80; -char read_buffer[ 46 ]; +char read_buffer[ 41 ]; transaction ufm_transactions[] = { { PCx9955_ADDR0, PCx9955_reg_data, sizeof( PCx9955_reg_data ) } @@ -100,7 +100,7 @@ { PCx9955_ADDR0, PCx9955_reg_data, sizeof( PCx9955_reg_data ) }, { PCx9955_ADDR0, &PCx9955_reg_read_start_address, sizeof( PCx9955_reg_read_start_address ) }, { PCx9955_ADDR0 | 0x01, read_buffer, sizeof( read_buffer ) }, - { 0x4A, PCx9629_reg_data, sizeof( PCx9629_reg_data ) } +// { 0x4A, PCx9629_reg_data, sizeof( PCx9629_reg_data ) } }; char read_done = 0;