From fabc6d28eaf6e0227c68673d3c564c31f4c01a17 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Tue, 25 Jan 2022 20:03:52 +0000 Subject: deploy: b8de35658ffd78ad8b22f91ccbbd3d63663afda9 --- group__gpio.html | 332 ------------------------------------------------------- 1 file changed, 332 deletions(-) delete mode 100644 group__gpio.html (limited to 'group__gpio.html') diff --git a/group__gpio.html b/group__gpio.html deleted file mode 100644 index abce3977..00000000 --- a/group__gpio.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - -Sensor Watch: Digital Input and Output - - - - - - - - - -
-
- - - - - - -
-
Sensor Watch -  0.0.0 -
-
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
-
-
- - - - - - - -
- -
-
- - -
- -
- -
- -
-
Digital Input and Output
-
-
- -

This section covers functions related to general-purpose input and output signals. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

void watch_enable_digital_input (const uint8_t pin)
 Configures the selected pin for digital input. More...
 
void watch_disable_digital_input (const uint8_t pin)
 Disables any digital input, along with any pull-up or pull-down configuration. More...
 
void watch_enable_pull_up (const uint8_t pin)
 Enables a pull-up resistor on the selected pin. More...
 
void watch_enable_pull_down (const uint8_t pin)
 Enables a pull-down resistor on the selected pin. More...
 
bool watch_get_pin_level (const uint8_t pin)
 Gets the level of the selected pin. More...
 
void watch_enable_digital_output (const uint8_t pin)
 Configures the selected pin for digital output. More...
 
void watch_disable_digital_output (const uint8_t pin)
 Disables digital output on the selected pin. More...
 
void watch_set_pin_level (const uint8_t pin, const bool level)
 Sets the level of the selected pin. More...
 
-

Detailed Description

-

This section covers functions related to general-purpose input and output signals.

-

Function Documentation

- -

◆ watch_disable_digital_input()

- -
-
- - - - - - - - -
void watch_disable_digital_input (const uint8_t pin)
-
- -

Disables any digital input, along with any pull-up or pull-down configuration.

-
Parameters
- - -
pinThe pin that you wish to disable.
-
-
- -
-
- -

◆ watch_disable_digital_output()

- -
-
- - - - - - - - -
void watch_disable_digital_output (const uint8_t pin)
-
- -

Disables digital output on the selected pin.

-
Parameters
- - -
pinThe pin that you wish disable.
-
-
- -
-
- -

◆ watch_enable_digital_input()

- -
-
- - - - - - - - -
void watch_enable_digital_input (const uint8_t pin)
-
- -

Configures the selected pin for digital input.

-
Parameters
- - -
pinThe pin that you wish to act as an input.
-
-
- -
-
- -

◆ watch_enable_digital_output()

- -
-
- - - - - - - - -
void watch_enable_digital_output (const uint8_t pin)
-
- -

Configures the selected pin for digital output.

-
Parameters
- - -
pinThe pin that you wish to act as an output.
-
-
- -
-
- -

◆ watch_enable_pull_down()

- -
-
- - - - - - - - -
void watch_enable_pull_down (const uint8_t pin)
-
- -

Enables a pull-down resistor on the selected pin.

-
Parameters
- - -
pinThe pin that you wish to configure.
-
-
- -
-
- -

◆ watch_enable_pull_up()

- -
-
- - - - - - - - -
void watch_enable_pull_up (const uint8_t pin)
-
- -

Enables a pull-up resistor on the selected pin.

-
Parameters
- - -
pinThe pin that you wish to configure.
-
-
- -
-
- -

◆ watch_get_pin_level()

- -
-
- - - - - - - - -
bool watch_get_pin_level (const uint8_t pin)
-
- -

Gets the level of the selected pin.

-
Parameters
- - -
pinThe pin whose value you wish to read.
-
-
-
Returns
true if the pin was logic high; otherwise, false.
- -
-
- -

◆ watch_set_pin_level()

- -
-
- - - - - - - - - - - - - - - - - - -
void watch_set_pin_level (const uint8_t pin,
const bool level 
)
-
- -

Sets the level of the selected pin.

-
Parameters
- - - -
pinThe pin whose value you wish to set.
levelThe level you wish to set: true for high, false for low.
-
-
- -
-
-
- - - - -- cgit v1.2.3