Skip to content

Commit 8788d9b

Browse files
authored
Merge pull request #119 from RIT-EVT/tmb5932-updating-docs
Colin used the word 'state' to describe the parameter 'State'...
2 parents 7cdb746 + f298924 commit 8788d9b

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

include/core/io/GPIO.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class GPIO {
3333

3434
/**
3535
* Binary representation of the flow of information, either input or
36-
* output.
36+
* output
3737
*/
3838
enum class Direction {
3939
INPUT = 0u,
@@ -76,23 +76,23 @@ class GPIO {
7676
GPIO(Pin pin, Direction direction, Pull pull = Pull::PULL_DOWN);
7777

7878
/**
79-
* Set the direction of the pin.
79+
* Sets whether this pin is configured for input or output.
8080
*
81-
* @param[in] direction The direction of information.
81+
* @param[in] direction Pin direction: Direction::Input or Direction::Output.
8282
*/
8383
virtual void setDirection(Direction direction) = 0;
8484

8585
/**
86-
* Used for writing a state to a pin.
86+
* Set the output of this pin to the given logic state.
8787
*
88-
* @param[in] state The state to write to the pin
88+
* @param[in] state Logic level to set: State::LOW or State::HIGH.
8989
*/
9090
virtual void writePin(State state) = 0;
9191

9292
/**
93-
* Used for reading the state of a pin.
93+
* Read the current logic state of this pin.
9494
*
95-
* @return The state of the pin.
95+
* @return The pin's logic level: State::LOW or State::HIGH.
9696
*/
9797
virtual State readPin() = 0;
9898

include/core/utils/time.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* The functions defined in here are used for time based operations. All
33
* operations are platform independent.
4-
*
54
*/
65

76
#ifndef _EVT_TIME_

0 commit comments

Comments
 (0)