mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Added PD-LED board functions.
This commit is contained in:
@@ -344,6 +344,13 @@ int32_t CreateJTAGShiftTDODataBurst ( uint32_t * burst, uint16_t numBits, bool_t
|
||||
return kPRSuccess;
|
||||
}
|
||||
|
||||
void FillLEDWriteCommand(uint8_t boardAddr, PRLEDRegisterType reg, uint8_t value, uint32_t * pData)
|
||||
{
|
||||
pData[0] = (0x1 << 24) | (boardAddr << 16) | (reg << 8) | value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This is where all FTDI driver-specific code should go.
|
||||
* As we add support for other drivers (such as D2xx on Windows), we will add more implementations of the PRHardware*() functions here.
|
||||
|
||||
Reference in New Issue
Block a user