PixelKey
NeoPixel USB Key
Loading...
Searching...
No Matches
PixelKey HAL

Modules

 Flash NVMem Internals
 
 NeoPixel Data Transfer
 
 Real-Time Clock Internals
 
 Task Manager
 
 USB Comms Internals
 
 Version
 

Macros

#define PIXELKEY_NEOPIXEL_COUNT   (4U)
 Number of NeoPixels present on the PCB.
 
#define NPDATA_GPT_BUFFER_LENGTH   (8U)
 Length of the GPT waveform buffer.
 
#define NPDATA_GPT_B1   (30)
 Count for the high period of a 1-bit.
 
#define NPDATA_GPT_B0   (15)
 Count for the high period of a 0-bit.
 
#define PIXELKEY_KEYFRAME_QUEUE_LENGTH   (4)
 Number of keyframes allowed to be queued.
 
#define PIXELKEY_INPUT_COMMAND_BUFFER_LENGTH   (256)
 Command input buffer length.
 
#define PIXELKEY_COMMAND_BUFFER_LENGTH   (8)
 Total number of commands that can be queued.
 
#define PIXELKEY_DISABLE_GAMMA_CORRECTION   (1)
 
#define PIXELKEY_DEFAULT_FRAMERATE   (30)
 
#define PIXELKEY_DEFAULT_COM_ECHO   (0)
 
#define PIXELKEY_DEFAULT_PHY_FREQUENCY   (800)
 
#define PIXELKEY_DEFAULT_PHY_B0   (25)
 
#define PIXELKEY_DEFAULT_PHY_B1   (50)
 

Functions

void hal_usb_idle (void)
 Idle function to check the status of the USB comms and handle CDC specific messaging.
 

Detailed Description