Lines Matching refs:slaveConfig
2557 void I3C_SlaveGetDefaultConfig(i3c_slave_config_t *slaveConfig) in I3C_SlaveGetDefaultConfig() argument
2559 assert(NULL != slaveConfig); in I3C_SlaveGetDefaultConfig()
2561 (void)memset(slaveConfig, 0, sizeof(*slaveConfig)); in I3C_SlaveGetDefaultConfig()
2563 slaveConfig->enableSlave = true; in I3C_SlaveGetDefaultConfig()
2565 slaveConfig->isHotJoin = false; in I3C_SlaveGetDefaultConfig()
2567 slaveConfig->vendorID = 0x11BU; in I3C_SlaveGetDefaultConfig()
2569 slaveConfig->enableRandomPart = false; in I3C_SlaveGetDefaultConfig()
2571 slaveConfig->partNumber = 0; in I3C_SlaveGetDefaultConfig()
2572 slaveConfig->dcr = 0; /* Generic device. */ in I3C_SlaveGetDefaultConfig()
2573 slaveConfig->bcr = in I3C_SlaveGetDefaultConfig()
2578 slaveConfig->hdrMode = (uint8_t)kI3C_HDRModeDDR; in I3C_SlaveGetDefaultConfig()
2579 slaveConfig->nakAllRequest = false; in I3C_SlaveGetDefaultConfig()
2580 slaveConfig->ignoreS0S1Error = true; in I3C_SlaveGetDefaultConfig()
2581 slaveConfig->offline = false; in I3C_SlaveGetDefaultConfig()
2582 slaveConfig->matchSlaveStartStop = false; in I3C_SlaveGetDefaultConfig()
2583 slaveConfig->maxWriteLength = 256U; in I3C_SlaveGetDefaultConfig()
2584 slaveConfig->maxReadLength = 256U; in I3C_SlaveGetDefaultConfig()
2598 void I3C_SlaveInit(I3C_Type *base, const i3c_slave_config_t *slaveConfig, uint32_t slowClock_Hz) in I3C_SlaveInit() argument
2600 assert(NULL != slaveConfig); in I3C_SlaveInit()
2637 configValue |= I3C_SCONFIG_SADDR(slaveConfig->staticAddr) | in I3C_SlaveInit()
2641 I3C_SCONFIG_OFFLINE(slaveConfig->offline) | in I3C_SlaveInit()
2643 I3C_SCONFIG_IDRAND(slaveConfig->enableRandomPart) | in I3C_SlaveInit()
2646 … I3C_SCONFIG_HDROK((0U != (slaveConfig->hdrMode & (uint8_t)kI3C_HDRModeDDR)) ? 1U : 0U) | in I3C_SlaveInit()
2648 … I3C_SCONFIG_DDROK((0U != (slaveConfig->hdrMode & (uint8_t)kI3C_HDRModeDDR)) ? 1U : 0U) | in I3C_SlaveInit()
2650 I3C_SCONFIG_S0IGNORE(slaveConfig->ignoreS0S1Error) | in I3C_SlaveInit()
2651 I3C_SCONFIG_MATCHSS(slaveConfig->matchSlaveStartStop) | in I3C_SlaveInit()
2652 … I3C_SCONFIG_NACK(slaveConfig->nakAllRequest) | I3C_SCONFIG_SLVENA(slaveConfig->enableSlave); in I3C_SlaveInit()
2655 base->SVENDORID |= I3C_SVENDORID_VID(slaveConfig->vendorID); in I3C_SlaveInit()
2658 base->SIDPARTNO = slaveConfig->partNumber; in I3C_SlaveInit()
2660 if (!slaveConfig->enableRandomPart) in I3C_SlaveInit()
2662 base->SIDPARTNO = slaveConfig->partNumber; in I3C_SlaveInit()
2667 base->SIDEXT |= I3C_SIDEXT_BCR(slaveConfig->bcr) | I3C_SIDEXT_DCR(slaveConfig->dcr); in I3C_SlaveInit()
2671 …(I3C_SMAXLIMITS_MAXRD(slaveConfig->maxReadLength) | I3C_SMAXLIMITS_MAXWR(slaveConfig->maxWriteLeng… in I3C_SlaveInit()
2674 if (slaveConfig->isHotJoin) in I3C_SlaveInit()