/*-----------------------------------------------------------------------
**
**	Radio.h
**	
**---------------------------------------------------------------------*/

#ifndef RADIO_H
#define RADIO_H
           
void InitialiseRadio(void);


//
// These are the MC13111 register addresses
//

enum 
{
    TX_COUNTER = 1,         // Radio address 1.
    RX_COUNTER,             // Radio address 2.
    REFERENCE_COUNTER,      // Radio address 3.
    MODE_CONTROL,           // Radio address 4.
    GAIN_CONTROL,           // Radio address 5.
    SCF_CLOCK_DIVIDERS,     // Radio address 6.
    AUXILIARY               // Radio address 7.
};


//
// This is the counter value that will generate a carrier frequency of
// 40.005MHz (Channel 00). It is equal to the minimum carrier frequency
// divided by the reference (channel spacing) frequency,
// i.e. 40.005MHz / 5kHz.
// However, note that the minimum legal frequency is 40.665MHz.
//

#define BASE_CHANNEL    8001

#endif