![Symmetricom bc635PCI-V2 User Manual Download Page 128](http://html.mh-extra.com/html/symmetricom/bc635pci-v2/bc635pci-v2_user-manual_1419591128.webp)
3.4. Library definitions
bcSetDPReg
Description: Sets the contents of the requested register.
Note: This command operates on the Dual Port Memory (packet interface).
ReadBinTime
Prototype
int bcReadBinTime (ULONG *major, ULONG *min, UCHAR *
stat);
Packet
N/A
Input Parameter
major = unsigned long pointer to store major time (Unix format).
min = unsigned long pointer to store microseconds.
stat = unsigned char to store status bits.
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Latches and returns time captured from the time registers.
Note:The function uses the shared critical section object to synchronize the two 32 bit major and
minor register reads.
bcReadBinTimeEx
Prototype
int bcReadBinTimeEx (ULONG *major, ULONG *min, USHORT *nano,
UCHAR *stat);
Packet
N/A
Input Parameter
major = unsigned long pointer to store major time (Unix format).
min = unsigned long pointer to store microseconds.
nano = pointer to unsigned short to store 100 nano seconds count.
stat = unsigned char to store status bits.
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Latches and returns time captured from the time registers.
Note: The function uses the shared critical section object to synchronize the two 32 bit major and
minor register reads.
- 111 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com