|
PixelKey
NeoPixel USB Key
|
#include <stdlib.h>#include <stdbool.h>#include <stdint.h>#include <string.h>#include <stdio.h>#include <ctype.h>#include "hal_data.h"#include "hal_device.h"#include "hal_tasks.h"#include "pixelkey.h"#include "neopixel.h"#include "serial.h"#include "config.h"#include "hal_npdata_transfer.h"Functions | |
| _Pragma ("GCC diagnostic ignored \"-W\" \"missing-prototypes\"") | |
| Input buffer for received command data over USB. | |
| void __NO_RETURN | pixelkey_reboot (void) |
| void | pixelkey_task_do_frame (void) |
| Renders and queues a frame to be transferred at the next frame interval. More... | |
| void | pixelkey_task_terminal_connected (void) |
| Sends initial strings for a connected terminal. | |
| void | pixelkey_task_command_prompt (void) |
| Sends the command prompt. | |
| void | pixelkey_task_command_rx (void) |
| Processes data from the USB input buffer and parses into a command. | |
| static void | echo_str (uint8_t *str, size_t length) |
| Echos a string back to the serial interface if echo is enabled or if a terminal is detected. More... | |