Main Page | File List | Globals

rtc_display_def.h File Reference

Go to the source code of this file.

Defines

#define CHAR_BIT   8
#define CHAR_MAX   UCHAR_MAX
#define CHAR_MIN   UCHAR_MIN
#define INT_MAX   32767
#define INT_MIN   -32768
#define SCHAR_MAX   127
#define SCHAR_MIN   -128
#define SHRT_MAX   INT_MAX
#define SHRT_MIN   INT_MIN
#define UCHAR_MAX   255
#define UCHAR_MIN   0
#define UINT_MAX   65535u
#define UINT_MIN   0
#define USHRT_MAX   UINT_MAX
#define USHRT_MIN   0
#define LONG_MAX   2147483647L
#define LONG_MIN   (-2147483647L-1)
#define ULONG_MAX   4294967295UL
#define ULONG_MIN   0
#define SI   1
#define YES   1
#define NO   0
#define BIT_MSB   0x80
#define BIT_LSB   0x01
#define BIT_RTC_LD   0x01
#define BIT_RTC_SCLK   0x02
#define BIT_RTC_DATA_OUT   0x04
#define ADDRESS_SEG_B   0x1000
#define _1_SEG   (int)512
#define _2_SEG   (int)1024
#define DCO_SET   (long)3000
#define RSEL_NOM   7
#define F_REF   32768
#define TCLK_DIV   1
#define MOD   32
#define FSTEP   7
#define PROP   MOD*FSTEP*65536/(2*F_SET*TCLK_DIV)
#define DCO_MIN   0x05
#define DCO_MAX   0xE2
#define F_OUT_ACTIVA   0x01
#define F_IRQ_CHGED   0x02
#define F_MODO_LOWPOW   0x04
#define F_FIX_SEG   0x08
#define COMMD_HORA   0xC3
#define DOMINGO   (int)0
#define LUNES   (int)1
#define MARTES   (int)2
#define MIERCOLES   (int)3
#define JUEVES   (int)4
#define VIERNES   (int)5
#define SABADO   (int)6
#define ENERO   (int)1
#define FEBRERO   (int)2
#define MARZO   (int)3
#define ABRIL   (int)4
#define MAYO   (int)5
#define JUNIO   (int)6
#define JULIO   (int)7
#define AGOSTO   (int)8
#define SEPTIEMBRE   (int)9
#define OCTUBRE   (int)10
#define NOVIEMBRE   (int)11
#define DICIEMBRE   (int)12

Typedefs

typedef unsigned char BOOL
typedef unsigned char BYTE
typedef unsigned int WORD
typedef signed int INT
typedef unsigned long DWORD
typedef signed long LONG


Define Documentation

#define _1_SEG   (int)512
 

Definition at line 69 of file rtc_display_def.h.

Referenced by main().

#define _2_SEG   (int)1024
 

Definition at line 70 of file rtc_display_def.h.

#define ABRIL   (int)4
 

Definition at line 111 of file rtc_display_def.h.

#define ADDRESS_SEG_B   0x1000
 

Definition at line 63 of file rtc_display_def.h.

Referenced by ReadInfo(), and WriteInfo().

#define AGOSTO   (int)8
 

Definition at line 115 of file rtc_display_def.h.

#define BIT_LSB   0x01
 

Definition at line 55 of file rtc_display_def.h.

#define BIT_MSB   0x80
 

Definition at line 54 of file rtc_display_def.h.

#define BIT_RTC_DATA_OUT   0x04
 

Definition at line 60 of file rtc_display_def.h.

Referenced by main().

#define BIT_RTC_LD   0x01
 

Definition at line 58 of file rtc_display_def.h.

Referenced by main().

#define BIT_RTC_SCLK   0x02
 

Definition at line 59 of file rtc_display_def.h.

#define CHAR_BIT   8
 

Definition at line 26 of file rtc_display_def.h.

#define CHAR_MAX   UCHAR_MAX
 

Definition at line 27 of file rtc_display_def.h.

#define CHAR_MIN   UCHAR_MIN
 

Definition at line 28 of file rtc_display_def.h.

#define COMMD_HORA   0xC3
 

Definition at line 96 of file rtc_display_def.h.

Referenced by main().

#define DCO_MAX   0xE2
 

Definition at line 84 of file rtc_display_def.h.

#define DCO_MIN   0x05
 

Definition at line 83 of file rtc_display_def.h.

#define DCO_SET   (long)3000
 

Definition at line 73 of file rtc_display_def.h.

#define DICIEMBRE   (int)12
 

Definition at line 119 of file rtc_display_def.h.

Referenced by Reloj().

#define DOMINGO   (int)0
 

Definition at line 100 of file rtc_display_def.h.

#define ENERO   (int)1
 

Definition at line 108 of file rtc_display_def.h.

Referenced by Reloj().

#define F_FIX_SEG   0x08
 

Definition at line 93 of file rtc_display_def.h.

Referenced by main().

#define F_IRQ_CHGED   0x02
 

Definition at line 90 of file rtc_display_def.h.

Referenced by main().

#define F_MODO_LOWPOW   0x04
 

Definition at line 92 of file rtc_display_def.h.

#define F_OUT_ACTIVA   0x01
 

Definition at line 89 of file rtc_display_def.h.

Referenced by main().

#define F_REF   32768
 

Definition at line 75 of file rtc_display_def.h.

#define FEBRERO   (int)2
 

Definition at line 109 of file rtc_display_def.h.

Referenced by CalculaDiaSemana().

#define FSTEP   7
 

Definition at line 80 of file rtc_display_def.h.

#define INT_MAX   32767
 

Definition at line 29 of file rtc_display_def.h.

Referenced by RevisaDesbordMiliseg().

#define INT_MIN   -32768
 

Definition at line 30 of file rtc_display_def.h.

#define JUEVES   (int)4
 

Definition at line 104 of file rtc_display_def.h.

#define JULIO   (int)7
 

Definition at line 114 of file rtc_display_def.h.

#define JUNIO   (int)6
 

Definition at line 113 of file rtc_display_def.h.

#define LONG_MAX   2147483647L
 

Definition at line 41 of file rtc_display_def.h.

#define LONG_MIN   (-2147483647L-1)
 

Definition at line 42 of file rtc_display_def.h.

#define LUNES   (int)1
 

Definition at line 101 of file rtc_display_def.h.

#define MARTES   (int)2
 

Definition at line 102 of file rtc_display_def.h.

#define MARZO   (int)3
 

Definition at line 110 of file rtc_display_def.h.

#define MAYO   (int)5
 

Definition at line 112 of file rtc_display_def.h.

#define MIERCOLES   (int)3
 

Definition at line 103 of file rtc_display_def.h.

#define MOD   32
 

Definition at line 79 of file rtc_display_def.h.

#define NO   0
 

Definition at line 52 of file rtc_display_def.h.

#define NOVIEMBRE   (int)11
 

Definition at line 118 of file rtc_display_def.h.

#define OCTUBRE   (int)10
 

Definition at line 117 of file rtc_display_def.h.

#define PROP   MOD*FSTEP*65536/(2*F_SET*TCLK_DIV)
 

Definition at line 81 of file rtc_display_def.h.

#define RSEL_NOM   7
 

Definition at line 74 of file rtc_display_def.h.

Referenced by __low_level_init().

#define SABADO   (int)6
 

Definition at line 106 of file rtc_display_def.h.

#define SCHAR_MAX   127
 

Definition at line 31 of file rtc_display_def.h.

#define SCHAR_MIN   -128
 

Definition at line 32 of file rtc_display_def.h.

#define SEPTIEMBRE   (int)9
 

Definition at line 116 of file rtc_display_def.h.

Referenced by CalculaDiaSemana().

#define SHRT_MAX   INT_MAX
 

Definition at line 33 of file rtc_display_def.h.

#define SHRT_MIN   INT_MIN
 

Definition at line 34 of file rtc_display_def.h.

#define SI   1
 

Definition at line 50 of file rtc_display_def.h.

#define TCLK_DIV   1
 

Definition at line 76 of file rtc_display_def.h.

#define UCHAR_MAX   255
 

Definition at line 35 of file rtc_display_def.h.

#define UCHAR_MIN   0
 

Definition at line 36 of file rtc_display_def.h.

#define UINT_MAX   65535u
 

Definition at line 37 of file rtc_display_def.h.

#define UINT_MIN   0
 

Definition at line 38 of file rtc_display_def.h.

#define ULONG_MAX   4294967295UL
 

Definition at line 43 of file rtc_display_def.h.

#define ULONG_MIN   0
 

Definition at line 44 of file rtc_display_def.h.

#define USHRT_MAX   UINT_MAX
 

Definition at line 39 of file rtc_display_def.h.

#define USHRT_MIN   0
 

Definition at line 40 of file rtc_display_def.h.

#define VIERNES   (int)5
 

Definition at line 105 of file rtc_display_def.h.

#define YES   1
 

Definition at line 51 of file rtc_display_def.h.


Typedef Documentation

typedef unsigned char BOOL
 

Definition at line 15 of file rtc_display_def.h.

typedef unsigned char BYTE
 

Definition at line 16 of file rtc_display_def.h.

typedef unsigned long DWORD
 

Definition at line 20 of file rtc_display_def.h.

typedef signed int INT
 

Definition at line 19 of file rtc_display_def.h.

typedef signed long LONG
 

Definition at line 21 of file rtc_display_def.h.

typedef unsigned int WORD
 

Definition at line 18 of file rtc_display_def.h.


Generated on Thu Nov 10 22:38:51 2005 for Reloj TEXAS by  doxygen 1.4.4        for