EZR
Dependencies: CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04
Fork of smartRamalKW by
settings.h@9:e501499af4ef, 2015-07-22 (annotated)
- Committer:
- tpadovani
- Date:
- Wed Jul 22 15:09:01 2015 +0000
- Revision:
- 9:e501499af4ef
- Parent:
- 8:e8d86c66283c
- Child:
- 10:7a1d1abb5172
Funcionando leitura de tens?es de linha e carga e detec??o autom?tica de linha/carga.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tpadovani | 0:999112ad27f0 | 1 | #ifndef SETTINGS_H |
tpadovani | 0:999112ad27f0 | 2 | #define SETTINGS_H |
tpadovani | 0:999112ad27f0 | 3 | |
tpadovani | 1:6ac7168763b6 | 4 | //#define TEST_MODE 1 // Usado para testar na placa de desenvolvimento |
tpadovani | 0:999112ad27f0 | 5 | |
tpadovani | 1:6ac7168763b6 | 6 | #define WATCHDOG_INTERVAL 0.1 // intervalo de alimentacao do watchdog, em segundos (float) |
tpadovani | 5:1bc98277c257 | 7 | #define RELE_ON 1 |
tpadovani | 5:1bc98277c257 | 8 | #define RELE_OFF 0 |
tpadovani | 5:1bc98277c257 | 9 | #define ESTADO_RELE_INDEFINIDO 3 // Sem estado anterior |
tpadovani | 5:1bc98277c257 | 10 | #define ESTADO_RELE_ABERTO 2 // Significa que ultimo comando foi de corte |
tpadovani | 5:1bc98277c257 | 11 | #define ESTADO_RELE_FECHADO 1 // Significa que ultimo comando foi de religacao |
tpadovani | 5:1bc98277c257 | 12 | #define SENSOR_COM_FORNECIMENTO true |
tpadovani | 5:1bc98277c257 | 13 | #define SENSOR_SEM_FORNECIMENTO false |
tpadovani | 5:1bc98277c257 | 14 | #define DEFAULT_RELIGAR_LARGURA_PULSO_MS 150 |
tpadovani | 5:1bc98277c257 | 15 | #define DEFAULT_CORTAR_LARGURA_PULSO_MS 150 |
tpadovani | 5:1bc98277c257 | 16 | #define DEFAULT_DELAY_SENSOR_MS 500 |
tpadovani | 5:1bc98277c257 | 17 | #define DEFAULT_INTERVALO_SILENCIO_S 2 |
tpadovani | 5:1bc98277c257 | 18 | #define DEFAULT_INTERVALO_WD_NETWORK_S 1800 |
tpadovani | 8:e8d86c66283c | 19 | #define DEFAULT_LIMITE_TENSAO_SENSOR_V 40 |
tpadovani | 8:e8d86c66283c | 20 | #define DEFAULT_SAMPLES 500 |
tpadovani | 8:e8d86c66283c | 21 | #define DEFAULT_SAMPLES_DELAY_US 2000 |
tpadovani | 9:e501499af4ef | 22 | #define DEFAULT_SAMPLES_ANG_COEF 2937.9035f |
tpadovani | 9:e501499af4ef | 23 | #define DEFAULT_SAMPLES_LIN_COEF -1466.6749f |
tpadovani | 9:e501499af4ef | 24 | #define DEFAULT_LOAD_CHANNEL 0 // Canal onde esta ligada a carga |
tpadovani | 0:999112ad27f0 | 25 | |
tpadovani | 0:999112ad27f0 | 26 | #endif |