PixelKey
NeoPixel USB Key
Loading...
Searching...
No Matches
hal_device.h
1
#ifndef HAL_DEVICE_H
2
#define HAL_DEVICE_H
3
4
#include "helper_macros.h"
5
#include "
log.h
"
6
#include <stdint.h>
7
#include <stdbool.h>
8
#include <assert.h>
9
16
#define PIXELKEY_NEOPIXEL_COUNT (4U)
17
19
#define NPDATA_GPT_BUFFER_LENGTH (8U)
20
22
#define NPDATA_GPT_B1 (30)
24
#define NPDATA_GPT_B0 (15)
25
27
#define PIXELKEY_KEYFRAME_QUEUE_LENGTH (4)
28
30
#define PIXELKEY_INPUT_COMMAND_BUFFER_LENGTH (256)
31
33
#define PIXELKEY_COMMAND_BUFFER_LENGTH (8)
34
35
#define PIXELKEY_DISABLE_GAMMA_CORRECTION (1)
36
37
#define PIXELKEY_DEFAULT_FRAMERATE (30)
38
39
#define PIXELKEY_DEFAULT_COM_ECHO (0)
40
41
#define PIXELKEY_DEFAULT_PHY_FREQUENCY (800)
42
43
#define PIXELKEY_DEFAULT_PHY_B0 (25)
44
45
#define PIXELKEY_DEFAULT_PHY_B1 (50)
46
47
void
hal_usb_idle
(
void
);
48
51
#endif
// HAL_DEVICE_H
hal_usb_idle
void hal_usb_idle(void)
Idle function to check the status of the USB comms and handle CDC specific messaging.
Definition:
hal_usb.c:80
log.h
src
src
hal_device.h
Generated by
1.9.5