Searched refs:i2cConfig (Results 1 – 11 of 11) sorted by relevance
88 if(i2cConfig->clockSpeed <= 100000) in I2C_Config()127 i2c->CTRL1 |= i2cConfig->mode; in I2C_Config()128 i2c->CTRL1_B.ACKEN = i2cConfig->ack; in I2C_Config()130 i2c->SADDR1 = i2cConfig->ackAddress | i2cConfig->ownAddress1; in I2C_Config()140 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig) in I2C_ConfigStructInit() argument142 i2cConfig->clockSpeed = 5000; in I2C_ConfigStructInit()143 i2cConfig->mode = I2C_MODE_I2C; in I2C_ConfigStructInit()144 i2cConfig->dutyCycle = I2C_DUTYCYCLE_2; in I2C_ConfigStructInit()145 i2cConfig->ownAddress1 = 0; in I2C_ConfigStructInit()146 i2cConfig->ack = I2C_ACK_DISABLE; in I2C_ConfigStructInit()[all …]
88 if (i2cConfig->clockSpeed <= 100000) in I2C_Config()127 i2c->CTRL1 |= i2cConfig->mode; in I2C_Config()128 i2c->CTRL1_B.ACKEN = i2cConfig->ack; in I2C_Config()130 i2c->SADDR1 = i2cConfig->ackAddress | i2cConfig->ownAddress1; in I2C_Config()140 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig) in I2C_ConfigStructInit() argument142 i2cConfig->clockSpeed = 5000; in I2C_ConfigStructInit()143 i2cConfig->mode = I2C_MODE_I2C; in I2C_ConfigStructInit()144 i2cConfig->dutyCycle = I2C_DUTYCYCLE_2; in I2C_ConfigStructInit()145 i2cConfig->ownAddress1 = 0; in I2C_ConfigStructInit()146 i2cConfig->ack = I2C_ACK_DISABLE; in I2C_ConfigStructInit()[all …]
91 if (i2cConfig->clockSpeed <= 100000) in I2C_Config()130 i2c->CTRL1 |= i2cConfig->mode; in I2C_Config()131 i2c->CTRL1_B.ACKEN = i2cConfig->ack; in I2C_Config()133 i2c->SADDR1 = i2cConfig->ackAddress | i2cConfig->ownAddress1; in I2C_Config()143 void I2C_ConfigStructInit(I2C_Config_T *i2cConfig) in I2C_ConfigStructInit() argument145 i2cConfig->clockSpeed = 5000; in I2C_ConfigStructInit()146 i2cConfig->mode = I2C_MODE_I2C; in I2C_ConfigStructInit()147 i2cConfig->dutyCycle = I2C_DUTYCYCLE_2; in I2C_ConfigStructInit()148 i2cConfig->ownAddress1 = 0; in I2C_ConfigStructInit()149 i2cConfig->ack = I2C_ACK_DISABLE; in I2C_ConfigStructInit()[all …]
97 void I2C_Config(I2C_T* i2c, I2C_Config_T* i2cConfig) in I2C_Config() argument107 i2c->CTRL1_B.DNFCFG = i2cConfig->digitalfilter; in I2C_Config()108 i2c->CTRL1_B.ANFD = i2cConfig->analogfilter; in I2C_Config()132 temp = i2cConfig->mode; in I2C_Config()136 i2c->CTRL2_B.NACKEN = i2cConfig->ack; in I2C_Config()146 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig) in I2C_ConfigStructInit() argument148 i2cConfig->timing = 0; in I2C_ConfigStructInit()149 i2cConfig->address1 = 0; in I2C_ConfigStructInit()150 i2cConfig->mode = I2C_MODE_I2C; in I2C_ConfigStructInit()154 i2cConfig->ack = I2C_ACK_DISABLE; in I2C_ConfigStructInit()[all …]
39 i2c_master_config_t i2cConfig = {0}; in BOARD_I2C_Init() local41 I2C_MasterGetDefaultConfig(&i2cConfig); in BOARD_I2C_Init()42 I2C_MasterInit(base, &i2cConfig, clkSrc_Hz); in BOARD_I2C_Init()
289 void I2C_Config(I2C_T* i2c, I2C_Config_T* i2cConfig);290 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig);
287 void I2C_Config(I2C_T* i2c, I2C_Config_T* i2cConfig);288 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig);
288 void I2C_Config(I2C_T* i2c, I2C_Config_T* i2cConfig);289 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig);
302 void I2C_Config(I2C_T* i2c, I2C_Config_T* i2cConfig);303 void I2C_ConfigStructInit(I2C_Config_T* i2cConfig);
Completed in 22 milliseconds