Skip to content

Commit f8aa819

Browse files
committed
doxy
1 parent 1a12145 commit f8aa819

File tree

4 files changed

+24
-14
lines changed

4 files changed

+24
-14
lines changed

src/components/i2c/drivers/drvOut7Seg.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@
2525
#include <Adafruit_LEDBackpack.h>
2626
#include <Arduino.h>
2727

28-
#define LED_BACKPACK_ALIGNMENT_UNSPECIFIED 0
29-
#define LED_BACKPACK_ALIGNMENT_LEFT 1
30-
#define LED_BACKPACK_ALIGNMENT_RIGHT 2
31-
#define LED_BACKPACK_ALIGNMENT_DEFAULT LED_BACKPACK_ALIGNMENT_LEFT
32-
#define LED_MAX_CHARS 4
28+
#define LED_BACKPACK_ALIGNMENT_UNSPECIFIED 0 ///< Unspecified alignment
29+
#define LED_BACKPACK_ALIGNMENT_LEFT 1 ///< Left alignment
30+
#define LED_BACKPACK_ALIGNMENT_RIGHT 2 ///< Right alignment
31+
#define LED_BACKPACK_ALIGNMENT_DEFAULT \
32+
LED_BACKPACK_ALIGNMENT_LEFT ///< Default alignment
33+
#define LED_MAX_CHARS \
34+
4 ///< Maximum number of characters to display on the 7-segment display
3335

3436
/*!
3537
@brief Class that provides a driver for an Adafruit 7-Segment LED matrix

src/components/i2c/drivers/drvOutCharLcd.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,12 @@ class drvOutCharLcd : public drvOutputBase {
6969
/*!
7070
@brief Writes a message to the LCD.
7171
@note MUST be called prior to begin() to configure the LCD's size
72-
@param message
73-
The message to be displayed.
72+
@param rows
73+
The number of rows in the LCD.
74+
@param cols
75+
The number of columns in the LCD.
76+
@param enable_backlight
77+
True if the backlight is enabled, False otherwise.
7478
*/
7579
void ConfigureCharLcd(uint8_t rows, uint8_t cols, bool enable_backlight) {
7680
_rows = rows;

src/components/i2c/drivers/drvOutQuadAlphaNum.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @file drvQuadAlphaNum.h
2+
* @file drvOutQuadAlphaNum.h
33
*
44
* Device driver for Quad Alphanumeric Displays w/I2C Backpack
55
*
@@ -20,11 +20,13 @@
2020
#include <Adafruit_LEDBackpack.h>
2121
#include <Arduino.h>
2222

23-
#define LED_BACKPACK_ALIGNMENT_UNSPECIFIED 0
24-
#define LED_BACKPACK_ALIGNMENT_LEFT 1
25-
#define LED_BACKPACK_ALIGNMENT_RIGHT 2
26-
#define LED_BACKPACK_ALIGNMENT_DEFAULT LED_BACKPACK_ALIGNMENT_LEFT
27-
#define LED_MAX_CHARS 4
23+
#define LED_BACKPACK_ALIGNMENT_UNSPECIFIED 0 ///< Unspecified alignment
24+
#define LED_BACKPACK_ALIGNMENT_LEFT 1 ///< Left alignment
25+
#define LED_BACKPACK_ALIGNMENT_RIGHT 2 ///< Right alignment
26+
#define LED_BACKPACK_ALIGNMENT_DEFAULT \
27+
LED_BACKPACK_ALIGNMENT_LEFT ///< Default alignment
28+
#define LED_MAX_CHARS \
29+
4 ///< Maximum number of characters to display on the alphanumeric display
2830

2931
/*!
3032
@brief Class that provides a driver interface for Quad Alphanumeric

src/components/i2c/drivers/drvOutputBase.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ class drvOutputBase : public drvBase {
5050

5151
/*!
5252
@brief Initializes the I2C output device and begins I2C.
53-
@returns True if initialized successfully, False otherwise.
53+
@param message
54+
The message to be displayed.
5455
*/
5556
virtual void WriteMessage(const char *message) {
5657
// noop
@@ -105,6 +106,7 @@ class drvOutputBase : public drvBase {
105106
@brief Writes a message to the LCD.
106107
@param write_char_lcd
107108
Pointer to a wippersnapper_i2c_output_CharLCDWrite message.
109+
@returns True if the message was written successfully, False otherwise.
108110
*/
109111
bool
110112
WriteMessageCharLCD(wippersnapper_i2c_output_CharLCDWrite *write_char_lcd) {

0 commit comments

Comments
 (0)