![Symmetricom bc635PCI-V2 User Manual Download Page 134](http://html.mh-extra.com/html/symmetricom/bc635pci-v2/bc635pci-v2_user-manual_1419591134.webp)
3.4. Library definitions
bcSetTcIn
Prototype
int bcSetTcIn (UCHAR format, UCHAR type);
Packet
0x15, 0x16
Input Parameter
Unsigned char format = time code format.
Unsigned char type = modulation type of time code.
Note: The following are defined in the "Bc637pci.h" header file;
format
#define TCODE _IRIG _A 'A'
#define TCODE _IRIG _B 'B'
#define TCODE _IEEE 'I'
type
#define TCODE _MOD _AM 'M'
#define TCODE _MOD _DC 'D'
Returns
RC_OK On Success RC_ERROR On Failure
Description: Sets time code type and format for operating mode 0 (time code mode).
bcSetClkSrc
Prototype
int bcSetClkSrc (UCHAR which);
Packet
0x20
Input Parameter
Unsigned char which = which clock source (internal | external). Note: The fol-
lowing are defined in the "Bc637pci.h" header file;
#define CLK_INT 'I'/* Use on-board clock */
#define CLK_EXT 'E'/* Use external clock */
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Sets the 10MHz-clock source for the board.
Note: This command is not required for standard operation of the device. Be sure to understand the
effects of this operation before utilizing this command.
bcSetGenCode
Prototype
int bcSetGenCode (UCHAR format);
Packet
0x1B
Input Parameter
Unsigned char format = time code format.
Note: The following are defined in the "Bc637pci.h" header file; #define
TCODE_GEN_B 'B'
- 117 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com