OM6277,598 NXP Semiconductors, OM6277,598 Datasheet - Page 36
![DEMO BOARD FOR PCA9564](/photos/9/8/90802/om6277_sml.jpg)
OM6277,598
Manufacturer Part Number
OM6277,598
Description
DEMO BOARD FOR PCA9564
Manufacturer
NXP Semiconductors
Datasheet
1.OM6277598.pdf
(52 pages)
Specifications of OM6277,598
Main Purpose
Interface, I2C Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PCA9564
Primary Attributes
I2C Bus Controller, 1 8-Bit GPIO, 1 8-Bit LED Dimmer
Secondary Attributes
8 Momentary Switches, 23 LEDs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
568-4001
935283226598
935283226598
I2CDRIVR.H
//*************************************************************************
//
//
//
//
//
//
// File Name:
// Created:
// Modified:
// Revision:
//
//*************************************************************************
#define ST_IDLE
#define ST_SENDING
#define ST_AWAIT_ACK 2
#define ST_RECEIVING 3
#define ST_RECV_LAST 4
//#define CR0_MASK
//#define CR1_MASK
//#define CR2_MASK
//#define SI_MASK
//#define STO_MASK
//#define STA_MASK
//#define ENSIO_MASK
//#define AA_MASK
extern BYTE master;
extern BYTE intMask;
void MainStateHandler(void);
I2CDRIVR.C
//*************************************************************************
//
//
//
//
//
//
// File Name:
// Created:
// Modified:
// Revision:
//
//*************************************************************************
#include "i2cexprt.h"
#include "i2cdrivr.h"
#include <REG51RX.H>
#include "PCA9564sys.h"
static void NoInitErrorProc(void);
void (*masterProc)(void) = NoInitErrorProc;
void (*slaveProc)(void)
BYTE master;
BYTE intMask;
COPYRIGHT (c)
COPYRIGHT (c)
i2cdriver.h
June 2, 2003
June 9, 2003
1.00
i2cdriver.c
June 2, 2003
June 10, 2003
1.00
P H I L I P S
P H I L I P S
1
0x80
0
0x01
0x02
0x04
0x08
0x10
0x20
0x40
--
--
= NoInitErrorProc;
ALL RIGHTS RESERVED
ALL RIGHTS RESERVED
2003 BY PHILIPS SEMICONDUCTORS
2003 BY PHILIPS SEMICONDUCTORS
P R O P R I E T A R Y
P R O P R I E T A R Y
--
--
36