Searched refs:slave_config (Results 1 – 3 of 3) sorted by relevance
87 struct i2c_target_config *slave_config; member392 if (data->slave_xfer.slave_config) { in i2c_numaker_transfer()407 struct i2c_target_config *slave_config) in i2c_numaker_slave_register() argument409 if (!slave_config || !slave_config->callbacks) { in i2c_numaker_slave_register()413 if (slave_config->flags & I2C_ADDR_10_BITS) { in i2c_numaker_slave_register()426 if (data->slave_xfer.slave_config) { in i2c_numaker_slave_register()431 data->slave_xfer.slave_config = slave_config; in i2c_numaker_slave_register()435 slave_config->address, in i2c_numaker_slave_register()453 struct i2c_target_config *slave_config) in i2c_numaker_slave_unregister() argument460 if (!slave_config) { in i2c_numaker_slave_unregister()[all …]
416 lpi2c_slave_config_t slave_config; in mcux_lpi2c_target_register() local439 LPI2C_SlaveGetDefaultConfig(&slave_config); in mcux_lpi2c_target_register()440 slave_config.address0 = target_config->address; in mcux_lpi2c_target_register()445 slave_config.sclStall.enableAck = true; in mcux_lpi2c_target_register()446 LPI2C_SlaveInit(base, &slave_config, clock_freq); in mcux_lpi2c_target_register()
264 spi_slave_config_t slave_config; in spi_mcux_configure() local266 SPI_SlaveGetDefaultConfig(&slave_config); in spi_mcux_configure()268 slave_config.polarity = in spi_mcux_configure()273 slave_config.phase = in spi_mcux_configure()278 slave_config.direction = in spi_mcux_configure()284 slave_config.sselPol = kSPI_SpolActiveAllLow; in spi_mcux_configure()285 slave_config.dataWidth = word_size - 1; in spi_mcux_configure()287 SPI_SlaveInit(base, &slave_config); in spi_mcux_configure()