forked from DediProgSW/SF100Linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboard.h
More file actions
25 lines (20 loc) · 776 Bytes
/
board.h
File metadata and controls
25 lines (20 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#ifndef _BOARD_H
#define _BOARD_H
void QueryBoard(int Index);
unsigned char GetFPGAVersion(int Index);
bool SetIO(unsigned char ioState, int Index);
bool SetTargetFlash(unsigned char StartupMode,int Index);
bool SetLEDProgBoard(size_t Clolor,int Index);
bool SetGreenLEDOn(bool boOn,int Index);
bool SetOrangeLEDOn(bool boOn, int Index);
bool SetRedLEDOn(bool boOn, int Index);
bool SetLEDOnOff(size_t Color,int Index);
bool SetCS(size_t value,int Index);
bool SetIOModeToSF600(size_t value,int Index);
bool BlinkProgBoard(bool boIsV5,int Index);
bool ReadOnBoardFlash(unsigned char* Data,bool ReadUID,int Index);
bool LeaveSF600Standalone(bool Enable,int USBIndex);
bool SetSPIClockValue(unsigned short v,int Index);
unsigned int ReadUID(int Index);
#endif