## Input/Output Device Driver Reference

[prev][next][parent][TOC]

### RTREAD

The Realtime Clock Read routine returns six bytes of date and time information in the form Date(word), Min, Hrs, Sec/100, Sec.

DevHlp_PhysToVirt converts the real address of the data buffer in the Device Driver Request Block (PktData) to a virtual address. DevHlp_ UnPhysToVirt later restores the physical memory address.

RTREAD does not actually read the clock, but instead retrieves the data from the Global InfoSeg date/time data area.