FireBirdLib - Topfield TMS PVR TAP Programming Library
FrontPanelComm.c File Reference
#include <pthread.h>
#include "FBLib_main.h"

Go to the source code of this file.

Functions

void Front_TxPacket_hooked (byte *Data)
 
int PutMsgQ_hooked (dword *MsgQ, dword *Data)
 
void UnhookFrontTxPacket (void)
 
bool HookFrontTxPacket (void)
 
bool FP_Initialize (void)
 

Variables

byte FPPatchVersion = 0
 
byte FPPatchType = 0
 
byte FPPatchAntiFreezeOption = 0
 
byte FPPatchPowerRestoreOption = 0
 
bool FPPatchInitialized = FALSE
 
byte FPWaitResponse = 0
 
byte FPResponse [12]
 

Function Documentation

◆ FP_Initialize()

◆ Front_TxPacket_hooked()

void Front_TxPacket_hooked ( byte *  Data)

Definition at line 18 of file FrontPanelComm.c.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and FrontPanelEEPROMWrite().

◆ HookFrontTxPacket()

bool HookFrontTxPacket ( void  )

Definition at line 92 of file FrontPanelComm.c.

References TRACEENTER.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and FrontPanelEEPROMWrite().

◆ PutMsgQ_hooked()

int PutMsgQ_hooked ( dword *  MsgQ,
dword *  Data 
)

Definition at line 25 of file FrontPanelComm.c.

References FPResponse, FPWaitResponse, and TryResolve().

◆ UnhookFrontTxPacket()

void UnhookFrontTxPacket ( void  )

Definition at line 73 of file FrontPanelComm.c.

References TRACEENTER.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and FrontPanelEEPROMWrite().

Variable Documentation

◆ FPPatchAntiFreezeOption

byte FPPatchAntiFreezeOption = 0

Definition at line 6 of file FrontPanelComm.c.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and FrontPanelEEPROMWrite().

◆ FPPatchInitialized

bool FPPatchInitialized = FALSE

Definition at line 8 of file FrontPanelComm.c.

Referenced by FP_Initialize().

◆ FPPatchPowerRestoreOption

byte FPPatchPowerRestoreOption = 0

Definition at line 7 of file FrontPanelComm.c.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and FrontPanelEEPROMWrite().

◆ FPPatchType

byte FPPatchType = 0

Definition at line 5 of file FrontPanelComm.c.

Referenced by FP_Initialize(), and FrontPanelGetPatch().

◆ FPPatchVersion

byte FPPatchVersion = 0

Definition at line 4 of file FrontPanelComm.c.

Referenced by FP_Initialize(), and FrontPanelGetPatch().

◆ FPResponse

byte FPResponse[12]

Definition at line 10 of file FrontPanelComm.c.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and PutMsgQ_hooked().

◆ FPWaitResponse

byte FPWaitResponse = 0

Definition at line 9 of file FrontPanelComm.c.

Referenced by FP_Initialize(), FrontPanelEEPROMRead(), and PutMsgQ_hooked().