Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc_spi.c16 static void parse_tmc_spi_status(const uint8_t status_byte) in parse_tmc_spi_status() argument
18 if ((status_byte & BIT_MASK(0)) != 0) { in parse_tmc_spi_status()
21 if ((status_byte & BIT_MASK(1)) != 0) { in parse_tmc_spi_status()
24 if ((status_byte & BIT_MASK(2)) != 0) { in parse_tmc_spi_status()
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/
Dcentral_test.c73 uint8_t status_byte = *(uint8_t *)data; in battery_critical_status_read_cb() local
77 (status_byte & BT_BAS_BCS_BATTERY_CRITICAL_STATE) ? "Critical" : "Normal"); in battery_critical_status_read_cb()
79 (status_byte & BT_BAS_BCS_IMMEDIATE_SERVICE_REQUIRED) ? "Required" in battery_critical_status_read_cb()
359 uint8_t status_byte = ((uint8_t *)data)[0]; in battery_critical_status_indicate_cb() local
363 (status_byte & BT_BAS_BCS_BATTERY_CRITICAL_STATE) ? "Critical" : "Normal"); in battery_critical_status_indicate_cb()
365 (status_byte & BT_BAS_BCS_IMMEDIATE_SERVICE_REQUIRED) ? "Required" in battery_critical_status_indicate_cb()