Home
last modified time | relevance | path

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

/SCP-firmware-master/product/morello/module/morello_sensor/src/
A Dmod_morello_sensor.c76 t_dev_ctx->sensor_data_buffer[t_dev_ctx->buf_index++] = value; in morello_sensor_timer_callback()
78 if (t_dev_ctx->buf_index == PVT_HISTORY_LEN) { in morello_sensor_timer_callback()
79 t_dev_ctx->buf_index = 0; in morello_sensor_timer_callback()
95 v_dev_ctx->sensor_data_buffer[v_dev_ctx->buf_index++] = value; in morello_sensor_timer_callback()
97 if (v_dev_ctx->buf_index == PVT_HISTORY_LEN) { in morello_sensor_timer_callback()
98 v_dev_ctx->buf_index = 0; in morello_sensor_timer_callback()
135 [t_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()
136 t_dev_ctx->buf_index - 1]; in get_value()
145 [v_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()
211 t_dev_ctx->buf_index = 0; in morello_sensor_element_init()
[all …]
/SCP-firmware-master/product/n1sdp/module/n1sdp_sensor/src/
A Dmod_n1sdp_sensor.c59 t_dev_ctx->sensor_data_buffer[t_dev_ctx->buf_index++] = value; in n1sdp_sensor_timer_callback()
61 if (t_dev_ctx->buf_index == PVT_HISTORY_LEN) { in n1sdp_sensor_timer_callback()
62 t_dev_ctx->buf_index = 0; in n1sdp_sensor_timer_callback()
76 v_dev_ctx->sensor_data_buffer[v_dev_ctx->buf_index++] = value; in n1sdp_sensor_timer_callback()
78 if (v_dev_ctx->buf_index == PVT_HISTORY_LEN) { in n1sdp_sensor_timer_callback()
79 v_dev_ctx->buf_index = 0; in n1sdp_sensor_timer_callback()
116 [t_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()
117 t_dev_ctx->buf_index - 1]; in get_value()
125 [v_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()
239 t_dev_ctx->buf_index = 0; in n1sdp_sensor_element_init()
[all …]
A Dmod_n1sdp_sensor_driver.h24 uint8_t buf_index; member
36 uint8_t buf_index; member
/SCP-firmware-master/product/morello/module/morello_sensor/include/
A Dmod_morello_sensor.h130 uint8_t buf_index; member
142 uint8_t buf_index; member

Completed in 5 milliseconds