more doc comments

This commit is contained in:
2018-01-25 08:11:27 +01:00
parent b2ead539bf
commit ceb658e246
12 changed files with 91 additions and 20 deletions
+16
View File
@@ -1,13 +1,29 @@
//
// Created by MightyPork on 2017/12/15.
//
// Setup and routines for debug printing.
// The actual printf-like functions used for debug printing are in debug.h
//
#ifndef GEX_DEBUG_UART_H
#define GEX_DEBUG_UART_H
/**
* Pre-init the debug uart
*
* Set up the peripheral for printing, do not claim resources yet because the
* registry is not initialized
*/
void DebugUart_PreInit(void);
/**
* Finalize the init (claim resources)
*/
void DebugUart_Init(void);
/**
* Write some bytes via the debug USART
*/
void debug_write(const char *buf, uint16_t len);
#endif //GEX_DEBUG_UART_H
+3 -2
View File
@@ -1,8 +1,9 @@
//
// Utilities for parsing pins from settings to LL and resources
//
// Created by MightyPork on 2017/12/08.
//
// Utilities for parsing pins from settings to LL and resources,
// GPIO init, AF config and some LL driver extensions
//
#ifndef GEX_PIN_UTILS_H
#define GEX_PIN_UTILS_H
+2
View File
@@ -1,6 +1,8 @@
//
// Created by MightyPork on 2018/01/14.
//
// Provides a trampoline system for redirecting IRQ calls to assigned callbacks.
//
#ifndef GEX_F072_IRQ_DISPATCHER_H
#define GEX_F072_IRQ_DISPATCHER_H
+2
View File
@@ -1,6 +1,8 @@
//
// Created by MightyPork on 2017/12/15.
//
// Handling the lock jumper or button (used to make the config filesystem visible to the PC OS)
//
#ifndef GEX_LOCK_JUMPER_H
#define GEX_LOCK_JUMPER_H
+2
View File
@@ -1,6 +1,8 @@
//
// Created by MightyPork on 2017/11/26.
//
// Initialize the platform. Belongs to platform.h
//
#include "platform.h"
#include "comm/messages.h"
-1
View File
@@ -2,7 +2,6 @@
// Created by MightyPork on 2017/11/26.
//
#include <stm32f072xb.h>
#include "platform.h"
#include "usbd_core.h"
#include "USB/usb_device.h"
+1 -1
View File
@@ -37,7 +37,7 @@
// ---
/**
* Init the platform
* Init the platform (run before FreeRTOS starts)
*/
void plat_init(void);
+2
View File
@@ -1,6 +1,8 @@
//
// Created by MightyPork on 2017/12/15.
//
// Status LED blinking
//
#ifndef GEX_INDICATORS_H
#define GEX_INDICATORS_H