boop/betty_scart/trunk/cmd.h
2017-07-01 21:56:25 +02:00

43 lines
1.2 KiB
C

/*
cmd.h
Copyright (C) 2007
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/>.
*/
#ifndef cmd_H
#define cmd_H
#define redir_ACK 0
#define redir_SET 1
#define redir_START 2
#define redir_STOP 3
#define redir_PING 4
extern unsigned char redir_dest;
extern unsigned char redir_baud;
void transmit(unsigned char len);
void transmitRedir(unsigned char len, unsigned char dest);
void transmitB(void);
void print_cc1100confi(void);
void print_cc1100status(void);
void read_byteB(void);
void write_byteB(void);
void read_burst_byteB(void);
void write_burst_byteB(void);
void cmd_strobeB(void);
void send_WORb(void);
#endif