GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-0-2

Constituent: vxw_extra     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

mk48T_private.h File Reference

Private definitions for MK48T driver. More...

#include "vxWorks.h"
#include "mv2600.h"

Include dependency graph for mk48T_private.h:


Time-of-Day Clock Register Addresses

#define MK48T_CONTROL_REG   (UINT16)(TOD_CLOCK + 0)
#define MK48T_SECOND_REG   (UINT16)(TOD_CLOCK + 1)
#define MK48T_MINUTE_REG   (UINT16)(TOD_CLOCK + 2)
#define MK48T_HOUR_REG   (UINT16)(TOD_CLOCK + 3)
#define MK48T_DAY_REG   (UINT16)(TOD_CLOCK + 5)
#define MK48T_MONTH_REG   (UINT16)(TOD_CLOCK + 6)
#define MK48T_YEAR_REG   (UINT16)(TOD_CLOCK + 7)

Time-of-Day Clock Control Register Bit Masks

#define MK48T_CONTROL_RUN   0x00
#define MK48T_CONTROL_READ   0x40
#define MK48T_CONTROL_WRITE   0x80

Watchdog Timer Definitions

#define MK48T_WDOG_REG   (UINT16)(WD_TIMER)
#define MK48T_WDOG_RES_1SEC   0x02
#define MK48T_WDOG_PERIOD_SHIFT   2
#define MK48T_WDOG_RESET   0x80

Status Register Definitions

#define MK48T_STATUS_REG   (UINT16)(MK48T_FLAGS)
#define MK48T_RAM_USER_MAX_ADRS   0x16f8

Detailed Description

Private definitions for MK48T driver.

Author:
D.L. Wood

Define Documentation

#define MK48T_CONTROL_READ   0x40
 

Time-of-day clock control register: Enable clock register reads.

#define MK48T_CONTROL_REG   (UINT16)(TOD_CLOCK + 0)
 

Time-of-day clock control register address.

#define MK48T_CONTROL_RUN   0x00
 

Time-of-day clock control register bit mask: Enable clock.

#define MK48T_CONTROL_WRITE   0x80
 

Time-of-day clock control register: Enable clock register writes.

#define MK48T_DAY_REG   (UINT16)(TOD_CLOCK + 5)
 

Time-of-day clock days register address.

#define MK48T_HOUR_REG   (UINT16)(TOD_CLOCK + 3)
 

Time-of-day clock hours register address.

#define MK48T_MINUTE_REG   (UINT16)(TOD_CLOCK + 2)
 

Time-of-day clock minutes register address.

#define MK48T_MONTH_REG   (UINT16)(TOD_CLOCK + 6)
 

Time-of-day clock months register address.

#define MK48T_RAM_USER_MAX_ADRS   0x16f8
 

Upper address limit on MK48T RAM user area.

#define MK48T_SECOND_REG   (UINT16)(TOD_CLOCK + 1)
 

Time-of-day clock seconds register address.

#define MK48T_STATUS_REG   (UINT16)(MK48T_FLAGS)
 

Device status register address.

#define MK48T_WDOG_PERIOD_SHIFT   2
 

Watchdog timer control register: Number of bits to shift period value.

#define MK48T_WDOG_REG   (UINT16)(WD_TIMER)
 

Watchdog timer control register address.

#define MK48T_WDOG_RES_1SEC   0x02
 

Watchdog timer control register: One second resolution bit mask.

#define MK48T_WDOG_RESET   0x80
 

Watchdog timer control register: Timer expiration resets the board in hardware.

#define MK48T_YEAR_REG   (UINT16)(TOD_CLOCK + 7)
 

Time-of-day clock years register address.


Generated on Wed Nov 28 01:34:30 2007 by  doxygen 1.4.4