JADEKU project defines and dependency headers. More...
#include <pic.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "pgrl.h"#include "sci.h"#include "delay.h"#include "onewire.h"#include "spi.h"#include "at45xx.h"#include "time.h"#include "fs.h"

Go to the source code of this file.
Macros | |
| #define | VERSION 0x05 |
| required for the ffs More... | |
| #define | LB1 RB1 |
| O. More... | |
| #define | LB2 RB2 |
| O. More... | |
| #define | TOUCH RB0 |
| I. More... | |
| #define | TAMP RB5 |
| I. More... | |
| #define | WAKE RB4 |
| I. More... | |
| #define | F_TAMP 0x01 |
| Tamper (case open) More... | |
| #define | F_VSENS 0x02 |
| Low Battery. More... | |
| #define | F_INTR 0x04 |
| Touch present. More... | |
| #define | F_PCMD 0x08 |
| Command to process. More... | |
| #define | F_WAITACK 0x10 |
| Waiting ACK. More... | |
| #define | F_DOWN 0x20 |
| Download REGIS Db. More... | |
| #define | F_SPACE 0x40 |
| Available space warn. More... | |
| #define | F_NEXT 0x80 |
| Send next reg. More... | |
| #define | FN_TAMP 0 |
| #define | FN_VSENS 1 |
| #define | FN_INTR 2 |
| #define | FN_PCMD 3 |
| #define | FN_WAITACK 4 |
| #define | FN_DOWN 5 |
| #define | FN_SPACE 6 |
| #define | FN_NEXT 7 |
| #define | GE_FILE 0 |
| Error on file operation. More... | |
| #define | GE_LTA 1 |
| Error on comm. More... | |
| #define | GE_NOSPACE 2 |
| No enogh disk space. More... | |
| #define | CR_STX 0x02 |
| #define | CR_ETX 0x03 |
| #define | CR_ACK 0x06 |
| #define | CR_NAK 0x15 |
| #define | FM_IDLE 0x00 |
| #define | FM_INIT 0x01 |
| #define | FM_END 0x02 |
| #define | CR_START 'E' |
| #define | CR_DEV '1' |
| #define | CR_INIT0 'A' |
| #define | CR_INIT1 'B' |
| #define | CR_ENABLE '4' |
| #define | CR_DISABLE '5' |
| #define | CR_NUM 'R' |
| #define | CR_DOWN '0' |
| #define | CR_DELETE '2' |
| #define | CR_RESET 137 |
| #define | CR_DATETIME '1' |
| #define | CR_FORMAT 'F' |
| -> STX|E|1|F|x|x|x|ETX|XOR <- ACK More... | |
| #define | CR_INFO 'I' |
| -> STX|E|1|I|ETX|XOR <- ACK > STX|I|n|x|x|x|e|e|e|ETX|XOR More... | |
| #define | CR_FF 'D' |
| -> STX|E|1|D|ETX|XOR <- ACK > STX|nnnnnnn|ETX|XOR More... | |
Variables | |
| volatile BYTE | gFlags |
Detailed Description
JADEKU project defines and dependency headers.
This file is part of JADEKU Portable ADQ device for Routines Control.
Copyright (C) 2006-2009, Hernan Monserrat hemonserrat<at>gmail<dot>com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file app.h.
Macro Definition Documentation
◆ CR_ACK
◆ CR_DATETIME
◆ CR_DELETE
◆ CR_DEV
◆ CR_DISABLE
◆ CR_DOWN
◆ CR_ENABLE
◆ CR_ETX
◆ CR_FF
| #define CR_FF 'D' |
◆ CR_FORMAT
| #define CR_FORMAT 'F' |
◆ CR_INFO
| #define CR_INFO 'I' |

1.8.14