| 
    upm
    1.0.2
    
   Sensor/Actuator repository for libmraa (v1.1.1) 
   | 
 

Go to the source code of this file.
Data Structures | |
| struct | _ttp223_context | 
Functions | |
| ttp223_context | ttp223_init (int pin) | 
| void | ttp223_close (ttp223_context dev) | 
| upm_result_t | ttp223_is_pressed (ttp223_context dev, bool *value) | 
| upm_result_t | ttp223_install_isr (ttp223_context dev, mraa_gpio_edge_t edge_level, void(*isr)(void *), void *arg) | 
| upm_result_t | ttp223_uninstall_isr (ttp223_context) | 
Typedefs | |
| typedef struct _ttp223_context * | ttp223_context | 
| ttp223_context ttp223_init | ( | int | pin | ) | 
Sensor Init function
| pin | The pin number the sensor is attached to | 
| void ttp223_close | ( | ttp223_context | dev | ) | 
Sensor Module close function
| dev | pointer to the sensor struct | 
| upm_result_t ttp223_is_pressed | ( | ttp223_context | dev, | 
| bool * | value | ||
| ) | 
Function to tell if the sensor is pressed
| dev | pointer to the sensor struct | 
| value | pointer to store whether the sensor is pressed or not | 
| typedef struct _ttp223_context * ttp223_context | 
device context
 1.8.6