pic_rf_2401a.c File Reference

#include "pic_rf_2401a.h"
#include "pic_serial.h"
#include <stdlib.h>

Include dependency graph for pic_rf_2401a.c:

Go to the source code of this file.

Functions

void pic_rf_init (rf_config *my_config)
void pic_rf_quick_init (char *my_config, uns8 my_channel, bit my_receive_on)
void pic_rf_receive (uns8 *data, uns8 bytes_to_receive)
void pic_rf_send_byte (uns8 b)
void pic_rf_send_bytes (char *bytes, uns8 num_bytes)
void pic_rf_set_channel (uns8 channel)
void pic_rf_set_mode (uns8 mode)
void pic_rf_setup ()
void pic_rf_transmit (char *data, uns8 bytes_to_transmit)


Function Documentation

void pic_rf_init ( rf_config my_config  ) 

Definition at line 47 of file pic_rf_2401a.c.

void pic_rf_quick_init ( char *  my_config,
uns8  my_channel,
bit  my_receive_on 
)

Definition at line 26 of file pic_rf_2401a.c.

void pic_rf_receive ( uns8 *  data,
uns8  bytes_to_receive 
)

!pic_rf_chip_enable(0); // save power

pic_rf_chip_enable(1); // turn chip back on

Definition at line 94 of file pic_rf_2401a.c.

References clear_pin, kill_interrupts, make_input, set_pin, test_pin, and uns8.

void pic_rf_send_byte ( uns8  b  ) 

Definition at line 5 of file pic_rf_2401a.c.

Referenced by pic_rf_init(), pic_rf_quick_init(), pic_rf_read_register(), pic_rf_send_bytes(), pic_rf_send_bytes_inline(), pic_rf_send_command(), and pic_rf_set_channel().

Here is the caller graph for this function:

void pic_rf_send_bytes ( char *  bytes,
uns8  num_bytes 
)

Definition at line 18 of file pic_rf_2401a.c.

Referenced by pic_rf_init().

Here is the caller graph for this function:

void pic_rf_set_channel ( uns8  channel  ) 

Definition at line 163 of file pic_rf_2401a.c.

void pic_rf_set_mode ( uns8  mode  ) 

Definition at line 142 of file pic_rf_2401a.c.

Referenced by pic_rf_transmit().

Here is the caller graph for this function:

void pic_rf_setup (  ) 

Definition at line 185 of file pic_rf_2401a.c.

void pic_rf_transmit ( char *  data,
uns8  bytes_to_transmit 
)

Definition at line 118 of file pic_rf_2401a.c.

References kill_interrupts, make_output, pic_rf_chip_enable, pic_rf_send_bytes_inline(), pic_rf_set_mode(), RECEIVE_MODE, rf_current_mode_receive, TRANSMIT_MODE, and uns8.

Referenced by pkt_send_packet().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Apr 28 08:17:10 2008 for Pic Pack by  doxygen 1.5.5