/* param base The I2C peripheral base address. param addressRegister The module supports multiple address registers. The parameter determines which one shall be changed. param address The slave address to be stored to the address register for matching. param addressDisable Disable matching of the specified address register.  */
void I2C_SlaveSetAddress(I2C_Type *base, i2c_slave_address_register_t addressRegister, uint8_t address, bool addressDisable)
/* param base The I2C peripheral base address. param addressRegister The module supports multiple address registers. The parameter determines which one shall be changed. param address The slave address to be stored to the address register for matching. param addressDisable Disable matching of the specified address register.  */
void I2C_SlaveSetAddress(I2C_Type *base, i2c_slave_address_register_t addressRegister, uint8_t address, bool addressDisable)
{
    base->SLVADR[addressRegister] = I2C_SLVADR_SLVADR(address) | I2C_SLVADR_SADISABLE(addressDisable);
}