![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
I2C Own slave address setting structure. More...
#include "i2c_001.h"
Data Fields | |
uint8_t | SlaveAddrChannel |
uint8_t | SlaveAddr_7bit |
uint8_t | GeneralCallState |
uint8_t | SlaveAddrMaskValue |
uint8_t GeneralCallState |
uint8_t SlaveAddrChannel |
uint8_t SlaveAddrMaskValue |
Any bit in this 8-bit value (bit 7:1) which is set to '1' will cause an automatic compare on the corresponding bit of the received address when it is compared to the SlaveAddr_7bit value associated with this mask register. In other words, bits in SlaveAddr_7bit value which are masked are not taken into account in determining an address match