FireBirdLib - Topfield TMS PVR TAP Programming Library
SetEEPROMPin.c
Go to the documentation of this file.
1
#include "
FBLib_flash.h
"
2
3
bool
SetEEPROMPin
(word NewPin)
4
{
5
TRACEENTER
();
6
7
word *Pin = (word*)
FIS_vParentalInfo
();
8
9
if
(!Pin || (NewPin > 9999))
10
{
11
TRACEEXIT
();
12
return
FALSE;
13
}
14
15
*Pin = NewPin;
16
17
TRACEEXIT
();
18
return
TRUE;
19
}
FBLib_flash.h
FIS_vParentalInfo
dword FIS_vParentalInfo(void)
Definition:
FIS_vParentalInfo.c:3
SetEEPROMPin
bool SetEEPROMPin(word NewPin)
Definition:
SetEEPROMPin.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
flash
SetEEPROMPin.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3