Home
last modified time | relevance | path

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

/bsp/nuvoton/libraries/nu_packages/TPC/
A Dst1663i.c132 static S_ST_REGMAP sStRegMap; variable
147 error = st1663i_read_reg(&st1663i_client, 0x10, (rt_uint8_t *)&sStRegMap, sizeof(sStRegMap)); in st1663i_read_point()
154 if (sStRegMap.u8Fingers > ST_MAX_TOUCH) in st1663i_read_point()
160 if (pre_touch > sStRegMap.u8Fingers) /* point up */ in st1663i_read_point()
165 for (j = 0; j < sStRegMap.u8Fingers; j++) /* this time touch num */ in st1663i_read_point()
182 for (i = 0; i < sStRegMap.u8Fingers; i++) in st1663i_read_point()
184 touch_event = sStRegMap.m_sTP[i].u8Valid; in st1663i_read_point()
195 x = ((uint16_t)sStRegMap.m_sTP[i].u8X0_H << 8) | sStRegMap.m_sTP[i].m_u8X0_L; in st1663i_read_point()
196 y = ((uint16_t)sStRegMap.m_sTP[i].u8Y0_H << 8) | sStRegMap.m_sTP[i].m_u8Y0_L; in st1663i_read_point()
197 w = sStRegMap.m_sTP[i].m_u8Z; in st1663i_read_point()
[all …]

Completed in 3 milliseconds