From 46c14a44e8e889bbdd317895492b70b179070441 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Tue, 14 Dec 2021 17:06:59 +0000 Subject: deploy: e8e9a0e2d86d37fa0354b3475c907eae1bf5a6dd --- group__debug.html | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 group__debug.html (limited to 'group__debug.html') diff --git a/group__debug.html b/group__debug.html new file mode 100644 index 00000000..fa063a4a --- /dev/null +++ b/group__debug.html @@ -0,0 +1,122 @@ + + + + + + + +Sensor Watch: Debug UART + + + + + + + + + +
+
+ + + + + + +
+
Sensor Watch +  0.0.0 +
+
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Debug UART
+
+
+ +

This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector. +More...

+ + + + + +

+Functions

 __attribute__ ((deprecated("Use printf to log debug messages over USB."))) void watch_enable_debug_uart(uint32_t baud)
 Initializes the debug UART. More...
 
+

Detailed Description

+

This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector.

+
Warning
These functions were used early on in development, before the TinyUSB CDC was implemented. You can now print debug messages to the USB console using printf, rendering this bit irrelevant. These methods will likely be refactored out in the future, in favor of a more full-featured UART on the nine-pin connector.
+

Function Documentation

+ +

◆ __attribute__()

+ +
+
+ + + + + + + + +
__attribute__ ((deprecated("Use printf to log debug messages over USB.")) )
+
+ +

Initializes the debug UART.

+

Outputs a string on the debug UART.

+

Outputs a single character on the debug UART.

+
Parameters
+ + + + +
baudThe baud rate
cThe character you wish to output.
sA null-terminated string.
+
+
+ +
+
+
+ + + + -- cgit v1.2.3