18.6.3.2.2 Function i2c_slave_get_config_defaults()
Gets the I2C slave default configurations.
void i2c_slave_get_config_defaults( struct i2c_slave_config *const config)
This will initialize the configuration structure to known default values.
Disable SCL low timeout
300ns - 600ns SDA hold time
Buffer timeout = 65535
Address with mask
Address = 0
Address mask = 0 (one single address)
General call address disabled
Address nack disabled if the interrupt driver is used
GCLK generator 0
Do not run in standby
PINMUX_DEFAULT for SERCOM pads
Not using 10-bit addressing
Standard-mode and Fast-mode transfer speed
SCL stretch disabled
Slave SCL low extend time-out disabled
Data direction | Parameter name | Description |
---|---|---|
[out] | config |
Pointer to configuration structure to be initialized |