Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ams/ens210/
Dens210.c195 const struct ens210_sys_ctrl sys_ctrl = { in ens210_sys_reset() local
201 ret = i2c_reg_write_byte_dt(&config->i2c, ENS210_REG_SYS_CTRL, *(uint8_t *)&sys_ctrl); in ens210_sys_reset()
203 LOG_ERR("Failed to set SYS_CTRL to 0x%x", *(uint8_t *)&sys_ctrl); in ens210_sys_reset()
212 const struct ens210_sys_ctrl sys_ctrl = { in ens210_sys_enable() local
218 ret = i2c_reg_write_byte_dt(&config->i2c, ENS210_REG_SYS_CTRL, *(uint8_t *)&sys_ctrl); in ens210_sys_enable()
220 LOG_ERR("Failed to set SYS_CTRL to 0x%x", *(uint8_t *)&sys_ctrl); in ens210_sys_enable()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000.c365 uint16_t sys_ctrl = DWT_SYS_CTRL_RXENAB; in dwt_enable_rx() local
378 dwt_reg_write_u16(dev, DWT_SYS_CTRL_ID, DWT_SYS_CTRL_OFFSET, sys_ctrl); in dwt_enable_rx()
789 uint8_t sys_ctrl = DWT_SYS_CTRL_TXSTRT; in dwt_tx() local
811 sys_ctrl |= DWT_SYS_CTRL_TXDLYS; in dwt_tx()
848 dwt_reg_write_u8(dev, DWT_SYS_CTRL_ID, DWT_SYS_CTRL_OFFSET, sys_ctrl); in dwt_tx()
850 if (sys_ctrl & DWT_SYS_CTRL_TXDLYS) { in dwt_tx()