41#include "component/samd21_ptc_component.h"
48typedef enum tag_oversample_level_t {
59typedef enum tag_series_resistor_t {
64} ptc_series_resistor_t;
66typedef enum tag_freq_mode_t {
70 FREQ_MODE_SPREAD_MEDIAN
73typedef enum tag_freq_hop_t {
void ptc_init(void)
Initialize the peripheral touch controller.
Definition ptc.c:38
bool ptc_is_enabled(void)
Checks if the PTC is currently enabled.
Definition ptc.c:91
uint16_t ptc_get_value(uint8_t channel)
Get a value from the given channel.
Definition ptc.c:95
void ptc_enable(uint8_t channel)
Enable the given PTC channel.
Definition ptc.c:77