We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6d856 commit 2a37de9Copy full SHA for 2a37de9
cores/arduino/SERCOM.cpp
@@ -409,7 +409,7 @@ void SERCOM::initSlaveWIRE( uint8_t ucAddress )
409
sercom->I2CS.CTRLA.bit.MODE = I2C_SLAVE_OPERATION ;
410
411
sercom->I2CS.ADDR.reg = SERCOM_I2CS_ADDR_ADDR( ucAddress & 0x7Ful ) | // 0x7F, select only 7 bits
412
- SERCOM_I2CS_ADDR_ADDRMASK( 0x3FFul ) ; // 0x3FF all bits set
+ SERCOM_I2CS_ADDR_ADDRMASK( 0x00ul ) ; // 0x00, only match exact address
413
414
// Set the interrupt register
415
sercom->I2CS.INTENSET.reg = SERCOM_I2CS_INTENSET_PREC | // Stop
0 commit comments