From 595c3cb881c14a28d37a8a9a3e4aadc79285a673 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Sat, 5 Feb 2022 18:37:05 +0000 Subject: deploy: c74cacd34f68f2897fbd63e2ba90831f87cbad49 --- group__adc.html | 61 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) (limited to 'group__adc.html') diff --git a/group__adc.html b/group__adc.html index 7c24bf66..453b046c 100644 --- a/group__adc.html +++ b/group__adc.html @@ -2,8 +2,8 @@ - - + + Sensor Watch: Analog Input @@ -19,10 +19,9 @@
- - + @@ -31,21 +30,22 @@
-
Sensor Watch -  0.0.0 +
+
Sensor Watch 0.0.0
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
- + +/* @license-end */ + @@ -66,27 +66,26 @@ $(function() {
Enumerations | Functions
-
-
Analog Input
+
Analog Input

This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector. More...

- -

+

Enumerations

enum  watch_adc_reference_voltage { ADC_REFERENCE_INTREF = 0 +
enum  watch_adc_reference_voltage { ADC_REFERENCE_INTREF = 0 , ADC_REFERENCE_VCC_DIV1POINT6 , ADC_REFERENCE_VCC_DIV2 , ADC_REFERENCE_VCC }
 
- - + @@ -115,9 +114,9 @@ void 

+

Functions

-void watch_enable_adc (void)
+void watch_enable_adc (void)
 Enables the ADC peripheral. You must call this before attempting to read a value from an analog pin.
 
void watch_enable_analog_input (const uint8_t pin)
 

Detailed Description

-

This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector.

+

This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector.

Function Documentation

- +

◆ watch_disable_adc()

@@ -138,7 +137,7 @@ void  +

◆ watch_disable_analog_input()

@@ -164,7 +163,7 @@ void  +

◆ watch_enable_analog_input()

@@ -190,7 +189,7 @@ void  +

◆ watch_get_analog_pin_level()

- +

◆ watch_set_analog_num_samples()

@@ -272,7 +271,7 @@ void  +

◆ watch_set_analog_reference_voltage()

@@ -296,12 +295,12 @@ void  +

◆ watch_set_analog_sampling_length()

@@ -332,7 +331,7 @@ void  -- cgit v1.2.3