Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/touch_element/
Dtouch_button.c129 te_button->last_state = TE_STATE_IDLE; in touch_button_create()
378 if (button_handle->last_state == TE_STATE_IDLE) { //IDLE ---> Press = On_Press in button_proc_state()
384 } else if (button_handle->last_state == TE_STATE_PRESS) { //Press ---> Press = On_LongPress in button_proc_state()
395 if (button_handle->last_state == TE_STATE_PRESS) { //Press ---> Release = On_Release in button_proc_state()
401 …} else if (button_handle->last_state == TE_STATE_RELEASE) { // Release ---> Release = On_IDLE (Not… in button_proc_state()
405 … if (button_handle->last_state == TE_STATE_RELEASE) { //Release ---> IDLE = On_IDLE (Not dispatch) in button_proc_state()
407 …} else if (button_handle->last_state == TE_STATE_IDLE) { //IDLE ---> IDLE = Running IDLE (Not disp… in button_proc_state()
411 button_handle->last_state = button_handle->current_state; in button_proc_state()
Dtouch_matrix.c153 te_matrix->last_state = TE_STATE_IDLE; in touch_matrix_create()
457 te_matrix_state_t last_state = matrix_handle->current_state; in matrix_pre_fixed() local
462 if (last_state == TE_STATE_IDLE) { in matrix_pre_fixed()
474 } else if (last_state == TE_STATE_PRESS) { in matrix_pre_fixed()
576 if (matrix_handle->last_state == TE_STATE_IDLE) { //IDLE ---> Press = On_Press in matrix_proc_state()
583 } else if (matrix_handle->last_state == TE_STATE_PRESS) { //Press ---> Press = On_LongPress in matrix_proc_state()
594 if (matrix_handle->last_state == TE_STATE_PRESS) { //Press ---> Release = On_Release in matrix_proc_state()
600 …} else if (matrix_handle->last_state == TE_STATE_RELEASE) { // Release ---> Release = On_IDLE (No… in matrix_proc_state()
604 … if (matrix_handle->last_state == TE_STATE_RELEASE) { //Release ---> IDLE = On_IDLE (Not dispatch) in matrix_proc_state()
606 …} else if (matrix_handle->last_state == TE_STATE_IDLE) { //IDLE ---> IDLE = Running IDLE (Not disp… in matrix_proc_state()
[all …]
Dtouch_slider.c162 te_slider->last_state = TE_STATE_IDLE; in touch_slider_create()
438 if (slider_handle->last_state == TE_STATE_IDLE) { //IDLE ---> Press = On_Press in slider_proc_state()
444 … } else if (slider_handle->last_state == TE_STATE_PRESS) { //Press ---> Press = On_Calculation in slider_proc_state()
452 if (slider_handle->last_state == TE_STATE_PRESS) { //Press ---> Release = On_Release in slider_proc_state()
458 …} else if (slider_handle->last_state == TE_STATE_RELEASE) { // Release ---> Release = On_IDLE (No… in slider_proc_state()
462 … if (slider_handle->last_state == TE_STATE_RELEASE) { //Release ---> IDLE = On_IDLE (Not dispatch) in slider_proc_state()
464 …} else if (slider_handle->last_state == TE_STATE_IDLE) { //IDLE ---> IDLE = Running IDLE (Not dis… in slider_proc_state()
475 slider_handle->last_state = slider_handle->current_state; in slider_proc_state()
/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_element_private.h104 te_button_state_t last_state; //Button last state member
125 te_slider_state_t last_state; //Slider last state member
156 te_matrix_state_t last_state; //Matrix button current state member
/hal_espressif-3.6.0/components/soc/esp32/include/soc/
Dspi_struct.h206 …uint32_t last_state: 3; /*In the slave mode it is the state of spi state m… member