#include "msp430x12x2.h"
#include <stdlib.h>
#include "rtc_display_def.h"
Go to the source code of this file.
Functions | |
void | InicializaVariables (void) |
void | GrabaE2Prom (void) |
void | LeeE2Prom (void) |
void | ReadInfo (char offset, char *variable_byte, char nro_bytes) |
void | WriteInfo (char offset, char *variable_byte, char nro_bytes) |
void | RevisaDesbordMiliseg (void) |
void | SetRefTime (int *var_ref) |
void | SetRefTimeValue (int *var_ref, int offset) |
BYTE | CheckTimeout (int delay_value, int var_ref) |
int | CheckTimeoutValue (int delay_value, int var_ref) |
void | Reloj (void) |
int | CalculaDiaSemana (int anyo, int mes, int dia) |
int | Enero1 (int yr) |
void | FormatFechaHora (void) |
void | CambiaReloj (void) |
interrupt[PORT2_VECTOR] void | RegistroDesplazamiento (void) |
interrupt[WDT_VECTOR] void | BaseTiempos (void) |
void | main (void) |
Variables | |
__no_init char address_byte | x02FA |
BYTE | timeout |
int | tics_1mseg |
int | tics_1seg |
int | t_ref_segundos |
int | anyo |
int | mes |
int | dia |
int | dia_semana |
int | num_dias_mes [13] |
char | min |
char | hora |
BYTE | byte_rtc_01 |
BYTE | byte_rtc_02 |
BYTE | byte_rtc_03 |
BYTE | byte_rtc_04 |
BYTE | byte_rtc_05 |
BYTE | byte_cmm_rtc_01 |
BYTE | byte_cmm_rtc_02 |
BYTE | byte_cmm_rtc_03 |
BYTE | byte_cmm_rtc_04 |
BYTE | byte_cmm_rtc_05 |
BYTE | byte_cmm_rtc_00 |
char | inx_byte_out |
BYTE | byte_in_rtc |
BYTE | inx_bit |
char | f_stat |
char | f_test |
|
|
|
Definition at line 384 of file main.c. References Enero1(), FEBRERO, num_dias_mes, and SEPTIEMBRE. Referenced by CambiaReloj(), and Reloj(). |
|
Definition at line 478 of file main.c. References anyo, byte_cmm_rtc_00, byte_cmm_rtc_01, byte_cmm_rtc_02, byte_cmm_rtc_03, byte_cmm_rtc_04, byte_cmm_rtc_05, CalculaDiaSemana(), dia, dia_semana, hora, mes, min, and tics_1seg. Referenced by main(). |
|
Definition at line 311 of file main.c. References tics_1mseg. |
|
Definition at line 319 of file main.c. References tics_1mseg. Referenced by main(). |
|
Definition at line 416 of file main.c. Referenced by CalculaDiaSemana(). |
|
Definition at line 448 of file main.c. References anyo, byte_rtc_01, byte_rtc_02, byte_rtc_03, byte_rtc_04, byte_rtc_05, dia, dia_semana, hora, mes, min, and tics_1seg. Referenced by main(). |
|
Definition at line 227 of file main.c. References WriteInfo(). |
|
Definition at line 180 of file main.c. References byte_cmm_rtc_00, byte_cmm_rtc_01, byte_cmm_rtc_02, byte_cmm_rtc_03, byte_cmm_rtc_04, byte_cmm_rtc_05, f_stat, f_test, and num_dias_mes. Referenced by main(). |
|
Definition at line 232 of file main.c. References ReadInfo(). |
|
Definition at line 118 of file main.c. References _1_SEG, BIT_RTC_DATA_OUT, BIT_RTC_LD, byte_cmm_rtc_00, CambiaReloj(), CheckTimeoutValue(), COMMD_HORA, F_FIX_SEG, F_IRQ_CHGED, F_OUT_ACTIVA, f_stat, FormatFechaHora(), InicializaVariables(), Reloj(), RevisaDesbordMiliseg(), SetRefTimeValue(), t_ref_segundos, and tics_1seg. |
|
Definition at line 261 of file main.c. References ADDRESS_SEG_B. Referenced by LeeE2Prom(). |
|
|
|
Definition at line 330 of file main.c. References anyo, CalculaDiaSemana(), dia, dia_semana, DICIEMBRE, ENERO, hora, mes, min, num_dias_mes, and tics_1seg. Referenced by main(). |
|
Definition at line 276 of file main.c. References INT_MAX, t_ref_segundos, and tics_1mseg. Referenced by main(). |
|
Definition at line 295 of file main.c. References tics_1mseg. |
|
Definition at line 299 of file main.c. References tics_1mseg. Referenced by main(). |
|
Definition at line 235 of file main.c. References ADDRESS_SEG_B. Referenced by GrabaE2Prom(). |
|
Definition at line 95 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), and Reloj(). |
|
Definition at line 105 of file main.c. Referenced by CambiaReloj(), InicializaVariables(), and main(). |
|
Definition at line 103 of file main.c. Referenced by CambiaReloj(), and InicializaVariables(). |
|
Definition at line 103 of file main.c. Referenced by CambiaReloj(), and InicializaVariables(). |
|
Definition at line 103 of file main.c. Referenced by CambiaReloj(), and InicializaVariables(). |
|
Definition at line 104 of file main.c. Referenced by CambiaReloj(), and InicializaVariables(). |
|
Definition at line 104 of file main.c. Referenced by CambiaReloj(), and InicializaVariables(). |
|
|
|
Definition at line 101 of file main.c. Referenced by FormatFechaHora(). |
|
Definition at line 101 of file main.c. Referenced by FormatFechaHora(). |
|
Definition at line 101 of file main.c. Referenced by FormatFechaHora(). |
|
Definition at line 102 of file main.c. Referenced by FormatFechaHora(). |
|
Definition at line 102 of file main.c. Referenced by FormatFechaHora(). |
|
Definition at line 96 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), and Reloj(). |
|
Definition at line 96 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), and Reloj(). |
|
Definition at line 111 of file main.c. Referenced by InicializaVariables(), and main(). |
|
Definition at line 113 of file main.c. Referenced by InicializaVariables(). |
|
Definition at line 98 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), and Reloj(). |
|
|
|
|
|
Definition at line 96 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), and Reloj(). |
|
Definition at line 98 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), and Reloj(). |
|
Definition at line 97 of file main.c. Referenced by CalculaDiaSemana(), InicializaVariables(), and Reloj(). |
|
Definition at line 91 of file main.c. Referenced by main(), and RevisaDesbordMiliseg(). |
|
Definition at line 88 of file main.c. Referenced by CheckTimeout(), CheckTimeoutValue(), RevisaDesbordMiliseg(), SetRefTime(), and SetRefTimeValue(). |
|
Definition at line 89 of file main.c. Referenced by CambiaReloj(), FormatFechaHora(), main(), and Reloj(). |
|
|
|
|