Lines Matching full:pclk1
495 uint32_t pclk1, freq, clkc; in i2c_gd32_configure() local
505 &pclk1); in i2c_gd32_configure()
508 freq = pclk1 / 1000000U; in i2c_gd32_configure()
526 * T_pclk1 is reciprocal of pclk1: in i2c_gd32_configure()
527 * T_pclk1 = 1 / pclk1 in i2c_gd32_configure()
534 * CLKC = pclk1 / (bitrate * 2) in i2c_gd32_configure()
536 * CLKC = pclk1 / (bitrate * 25) in i2c_gd32_configure()
541 * T_pclk1: duration of single pclk1 pulse in i2c_gd32_configure()
542 * pclk1: i2c device clock frequency in i2c_gd32_configure()
563 /* CLKC = pclk1 / (bitrate * 2) */ in i2c_gd32_configure()
564 clkc = pclk1 / (I2C_BITRATE_STANDARD * 2U); in i2c_gd32_configure()
583 /* CLKC = pclk1 / (bitrate * 25) */ in i2c_gd32_configure()
584 clkc = pclk1 / (I2C_BITRATE_FAST * 25U); in i2c_gd32_configure()
614 /* CLKC = pclk1 / (bitrate * 25) */ in i2c_gd32_configure()
615 clkc = pclk1 / (I2C_BITRATE_FAST_PLUS * 25U); in i2c_gd32_configure()