Lines Matching refs:CTRLA
554 uint32_t CTRLA = i2c->CTRLA.reg; in i2c_sam0_set_apply_bitrate() local
557 CTRLA &= ~SERCOM_I2CM_CTRLA_SPEED_Msk; in i2c_sam0_set_apply_bitrate()
559 CTRLA &= ~SERCOM_I2CM_CTRLA_SDAHOLD_Msk; in i2c_sam0_set_apply_bitrate()
564 CTRLA |= SERCOM_I2CM_CTRLA_SPEED(0); in i2c_sam0_set_apply_bitrate()
566 CTRLA |= SERCOM_I2CM_CTRLA_SDAHOLD(0x0); in i2c_sam0_set_apply_bitrate()
567 i2c->CTRLA.reg = CTRLA; in i2c_sam0_set_apply_bitrate()
583 CTRLA |= SERCOM_I2CM_CTRLA_SDAHOLD(0x0); in i2c_sam0_set_apply_bitrate()
584 i2c->CTRLA.reg = CTRLA; in i2c_sam0_set_apply_bitrate()
601 CTRLA |= SERCOM_I2CM_CTRLA_SPEED(1); in i2c_sam0_set_apply_bitrate()
603 CTRLA |= SERCOM_I2CM_CTRLA_SDAHOLD(0x2); in i2c_sam0_set_apply_bitrate()
604 i2c->CTRLA.reg = CTRLA; in i2c_sam0_set_apply_bitrate()
633 CTRLA |= SERCOM_I2CM_CTRLA_SPEED(2); in i2c_sam0_set_apply_bitrate()
635 CTRLA |= SERCOM_I2CM_CTRLA_SDAHOLD(0x2); in i2c_sam0_set_apply_bitrate()
636 i2c->CTRLA.reg = CTRLA; in i2c_sam0_set_apply_bitrate()
691 i2c->CTRLA.bit.ENABLE = 0; in i2c_sam0_configure()
696 i2c->CTRLA.bit.ENABLE = 1; in i2c_sam0_configure()
737 i2c->CTRLA.reg = SERCOM_I2CM_CTRLA_MODE_I2C_MASTER | in i2c_sam0_initialize()
765 i2c->CTRLA.bit.ENABLE = 1; in i2c_sam0_initialize()