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