Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial PinDetect mbed
Fork of DTK-MEGAPACA_NUCLEO by
constantes.hpp
00001 /* 00002 * - Proyecto: Apagado Temporizado MEGAPACA 00003 * - Lenguaje: ANSI C/C++ (mbed) 00004 * - Tarjeta: NUCLEO F303K8 00005 * - Referencias: 00006 * - Fecha: 2017/Septiembre 00007 * - Autor(es): Felícito Manzano / 00008 Mario Vargas 00009 * - Compañia: V.S.R. de Centroamérica 00010 * - País: SV / CR 00011 */ 00012 00013 /* DEFINICIÓN DE CONSTANTES PARA GV300 */ 00014 extern const char CABECERA_TX[23]; 00015 extern const char CODIGO_INT[5]; 00016 extern const char FIN_CABECERA_TX[7]; 00017 extern const char ULTIMO_CARACTER[2]; 00018 extern const char SEPARADOR[2]; 00019 extern const char RESET_TXT[43]; 00020 extern const char ALIVE[38]; 00021 extern const char SHUTDOWN_TXT[47]; 00022 extern const char INIT_SHUTDOWN[44]; 00023 extern const char CANC_SHUTDOWN[41]; 00024 extern const char SHUTDOWN_DONE[41]; 00025 extern const char SHUTDOWN_ERRO[41]; 00026 extern const char GTOUT_TXT[10]; 00027 extern const char ABORT_TXT[8]; 00028 extern const char GV300_OK[3]; 00029 extern const int PULSOS_APAGAR; 00030 00031 // CONSTANTES DE PUERTO SERIAL 00032 extern const int BUFF_SIZE; 00033 extern const int TX_MULTIP; 00034 00035 // OTRAS CONSTANTES 00036 extern const int T_ESPERA_CP; // mili segundos 00037 extern const int T_TX; // mili segundos 00038 extern const int T_15; // minutos 00039 extern const float MINUTO; // segundo 00040 extern const float TIME_HEARTBEAT; // segundos 00041 extern const float TIME_SHUTDOWN; // segundos
Generated on Tue Jul 19 2022 21:23:56 by
1.7.2
