OM6279,598 NXP Semiconductors, OM6279,598 Datasheet - Page 23

DEMO BOARD LED DIMMER

OM6279,598

Manufacturer Part Number
OM6279,598
Description
DEMO BOARD LED DIMMER
Manufacturer
NXP Semiconductors
Datasheet

Specifications of OM6279,598

Main Purpose
Lighting, RGB LED Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PCA9564PW, PCA9555PW, PCA9531PW, PCA9533DP/01
Primary Attributes
I2C Bus Controller, 1 8-Bit GPIO, 1 8-Bit LED Dimmer
Secondary Attributes
Different Demonstration Programs Through MCU
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
568-4003
935283363598
Philips Semiconductors
//****************************************************************************
// Main program
//****************************************************************************
void main(void)
{
}
//*************************************************************************
//
//
//
//
//
// File Name: I2C_Routines.c
// Created:
// Modified: November 07, 2003
// Revision: 1.00
//*************************************************************************
#include <REG51RX.H>
#include "i2cexprt.h"
#include "PCA9564sys.h"
unsigned char Data_Received;
extern unsigned char CRX;
extern idata BYTE Buffer1[32];
extern idata BYTE Buffer2[32];
extern idata BYTE Buffer3[16];
extern idata BYTE Buffer4[16];
extern idata I2C_MESSAGE Message1;
extern idata I2C_MESSAGE Message2;
extern idata I2C_MESSAGE Message3;
extern idata I2C_MESSAGE Message4;
idata BYTE Snapshot_1_1st_Byte
idata BYTE Snapshot_1_2nd_Byte
idata BYTE Snapshot_2_1st_Byte
idata BYTE Snapshot_2_2nd_Byte
int Trigger_GPIO_Polling;
int GPIO_Polling_On = 0;
9397 750 14062
Application note
Init_PCA9564();
Init_White();
Init_RGB();
Init_Misc();
Init_GPIO();
Intro_Patterns();
while (1)
{
}
GPIO_Interrupt_Handler();
Function_Select();
COPYRIGHT (c)
June 2, 2003
5.3 I2C_Routines.c
P H I L I P S
-- ALL RIGHTS RESERVED --
// Initialization PCA9564
// Initialization White LED's
// Initialization RGB LED's
// Initialization Misc LED's
// Initialization GPIO
// Patterns displayed at power up
// Enter a specific mode (programming, dial a number ...)
2003 BY PHILIPS SEMICONDUCTORS
// Enable (1) or disable (0) the PCA9555 polling option - default = off
= 0x0F;
= 0x0F;
= 0x00;
= 0x00;
P R O P R I E T A R Y
Rev. 01 — 7 January 2005
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
LED dimmer demoboard
AN10315
23 of 45

Related parts for OM6279,598