FireBirdLib - Topfield TMS PVR TAP Programming Library
HDD_RECSlotDecode.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
#include "
FBLib_rec.h
"
3
4
bool
HDD_RecSlotDecode
(
byte
Slot,
tFlashTimer
*RecSlot)
5
{
6
TRACEENTER
();
7
8
dword RSA;
9
bool
ret;
10
11
//Sanity check of the parameters
12
if
(Slot >
HDD_NumberOfRECSlots
())
13
{
14
TRACEEXIT
();
15
return
FALSE;
16
}
17
18
RSA =
FIS_vRECSlotAddress
(Slot);
19
if
(RSA == 0)
20
{
21
TRACEEXIT
();
22
return
FALSE;
23
}
24
25
ret =
FlashTimerDecode
((
void
*)RSA, RecSlot);
26
27
TRACEEXIT
();
28
return
ret;
29
}
FBLib_rec.h
FIS_vRECSlotAddress
dword FIS_vRECSlotAddress(byte Slot)
Definition:
FIS_vRECSlotAddress.c:3
FlashTimerDecode
bool FlashTimerDecode(void *Data, tFlashTimer *TimerInfo)
Definition:
FlashTimerDecode.c:267
HDD_RecSlotDecode
bool HDD_RecSlotDecode(byte Slot, tFlashTimer *RecSlot)
Definition:
HDD_RECSlotDecode.c:4
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
HDD_NumberOfRECSlots
dword HDD_NumberOfRECSlots(void)
Definition:
HDD_NumberOfRECSlots.c:3
tFlashTimer
Definition:
libFireBird.h:1660
rec
HDD_RECSlotDecode.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3