Home
last modified time | relevance | path

Searched refs:cmdr_reg (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_sam4l_twim.c239 uint32_t *cmdr_reg, in i2c_prepare_xfer_cmd() argument
246 *cmdr_reg &= ~(TWIM_CMDR_NBYTES_Msk | in i2c_prepare_xfer_cmd()
255 *cmdr_reg |= TWIM_CMDR_READ; in i2c_prepare_xfer_cmd()
262 *cmdr_reg |= TWIM_CMDR_START; in i2c_prepare_xfer_cmd()
269 *cmdr_reg |= TWIM_CMDR_ACKLAST; in i2c_prepare_xfer_cmd()
276 *cmdr_reg |= TWIM_CMDR_STOP; in i2c_prepare_xfer_cmd()
289 uint32_t cmdr_reg; in i2c_start_xfer() local
313 cmdr_reg = TWIM_CMDR_SADR(daddr) | in i2c_start_xfer()
317 cmdr_reg |= TWIM_CMDR_HS | in i2c_start_xfer()
322 cmdr_reg |= TWIM_CMDR_TENBIT; in i2c_start_xfer()
[all …]