OM6277,598 NXP Semiconductors, OM6277,598 Datasheet - Page 33
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
case 3 : if (ValueToBeChanged == 1)
case 4 : if (ValueToBeChanged == 1)
case 5 : if (ValueToBeChanged == 1)
case 6 : if (ValueToBeChanged == 1)
{
}
break;
{
}
break;
{
}
break;
{
if (DataByteLPC932_2 == 0)
{
}
else
{
}
Message1.nrBytes = 2;
Buffer1[0] = 0x15;
Buffer1[1] = LS0;
I2C_Write(&Message1);
if (DataByteLPC932_3 == 0)
{
}
else
{
}
Message1.nrBytes = 2;
Buffer1[0] = 0x15;
Buffer1[1] = LS0;
I2C_Write(&Message1);
if (DataByteLPC932_4 == 0)
{
}
else
{
}
Message1.nrBytes = 2;
Buffer1[0] = 0x16;
Buffer1[1] = LS1;
I2C_Write(&Message1);
if (DataByteLPC932_5 == 0)
{
}
else
{
LS0_4 = 0;
LS0_5 = 0;
DataByteLPC932_2 = 1;
ValueToBeChanged = 0;
LS0_4 = 1;
LS0_5 = 0;
DataByteLPC932_2 = 0;
ValueToBeChanged = 0;
LS0_6 = 0;
LS0_7 = 0;
DataByteLPC932_3 = 1;
ValueToBeChanged = 0;
LS0_6 = 1;
LS0_7 = 0;
DataByteLPC932_3 = 0;
ValueToBeChanged = 0;
LS1_0 = 0;
LS1_1 = 0;
DataByteLPC932_4 = 1;
ValueToBeChanged = 0;
LS1_0 = 1;
LS1_1 = 0;
DataByteLPC932_4 = 0;
ValueToBeChanged = 0;
LS1_2 = 0;
LS1_3 = 0;
DataByteLPC932_5 = 1;
ValueToBeChanged = 0;
LS1_2 = 1;
LS1_3 = 0;
DataByteLPC932_5 = 0;
33
// Bit 2
// subaddress = 0x05
// LED Selector programming
// Bit 3
// subaddress = 0x05
// LED Selector programming
// Bit 4
// subaddress = 0x06
// LED Selector programming
// Bit 5