Toggle the parent tree of Helper APIs. Learn Applications Solutions at Microchip Toggle the hierarchy tree under Learn Applications Solutions at Microchip. … Peripheral Touch Controller Library Toggle the hierarchy tree under Peripheral Touch Controller Library. Touch Application Programming Interface (API) Reference Toggle the hierarchy tree under Touch Application Programming Interface (API) Reference. Helper APIs Toggle the hierarchy tree under Helper APIs.
DO_NOT_REMOVE The Application Programming Interfaces (APIs) defined in this sections are not mandatory to use. These APIs can be used to get or set touch library specific state or data.
uint16_t get_sensor_node_signal(uint16_t sensor_node)
Description: Returns the signal value of the node.
void update_sensor_node_signal(uint16_t sensor_node, uint16_t new_signal)
Description: Updates the signal value of the node with the new_signal value.
uint16_t get_sensor_node_reference(uint16_t sensor_node)
Description: Returns the reference value of the node.
void update_sensor_node_reference(uint16_t sensor_node, uint16_t new_reference)
Description: Updates the reference value of the node with the new_reference value.
Back to Top
uint16_t get_sensor_cc_val(uint16_t sensor_node)
Description: Returns the CC value (a representation of sensor capacitance) of the node.
Back to Top
void update_sensor_cc_val(uint16_t sensor_node, uint16_t new_cc_value)
Description: Updates the CC value of the node with the new_cc_value value.
Back to Top
uint8_t get_sensor_state(uint16_t sensor_node)
Description: Returns the sensor state of the node.
Back to Top
void update_sensor_state(uint16_t sensor_node, uint8_t new_state)
Description: Updates the sensor state of the node with the new_state value.
Back to Top
void calibrate_node(uint16_t sensor_node)
Description: Configures the sensor_node for calibration. Actual calibration processes will start in the next measurement cycle.
Back to Top
uint8_t get_scroller_state(uint16_t scroller_num)
Description: Returns the scroller status of scroller number passed.
Back to Top
uint16_t get_scroller_position(uint16_t scroller_num)
Description: Returns the scroller position of scroller number passed.
Back to Top
uint8_t get_surface_state(uint16_t num)
Description: Returns the surface status of scroller number passed.
Back to Top
uint16_t get_surface_position(uint16_t ver_or_hor)
Description: Returns the surface's vertical or horizontal position based on input value.
Back to Top
uint16_t get_surface_position(uint16_t ver_or_hor, uint8_t contact)
Description: Returns the surface's vertical or horizontal position based on input value. The value contact determines whether it is first position or second position.
Back to Top
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.