pic_rf_24l01.c File Reference

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

Include dependency graph for pic_rf_24l01.c:

Go to the source code of this file.

Functions

uns8 pic_rf_handle_irq_receive (uns8 *data, uns8 bytes_to_receive)
void pic_rf_init (rf_config *my_config)
void pic_rf_quick_init (char *my_config, uns8 my_channel, bit my_receive_on)
uns8 pic_rf_read_register (uns8 cmd, uns8 *data, uns8 data_len)
uns8 pic_rf_read_register_int (uns8 cmd, uns8 *data, uns8 data_len)
uns8 pic_rf_send_byte (uns8 b)
uns8 pic_rf_send_byte_int (uns8 b)
void pic_rf_send_bytes (char *bytes, uns8 num_bytes)
uns8 pic_rf_send_command (uns8 cmd, uns8 *data, uns8 data_len)
void pic_rf_set_channel (uns8 channel)
void pic_rf_set_mode (uns8 requested_mode)
void pic_rf_setup ()
void pic_rf_transmit (uns8 *data, uns8 bytes_to_transmit)


Function Documentation

uns8 pic_rf_handle_irq_receive ( uns8 *  data,
uns8  bytes_to_receive 
)

Definition at line 5 of file pic_rf_24l01.c.

References clear_pin, pic_rf_read_register_inline(), pic_rf_send_command_inline(), RF_R_RX_PAYLOAD, RF_RD_REG_FIFO_STATUS, RF_WR_REG_STATUS, set_pin, and uns8.

Here is the call graph for this function:

void pic_rf_init ( rf_config my_config  ) 

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

Definition at line 133 of file pic_rf_24l01.c.

References clear_pin, make_output, pic_rf_chip_enable, pic_rf_chip_select, pic_rf_send_byte(), rf_current_channel, rf_current_mode_receive, and uns8.

Here is the call graph for this function:

uns8 pic_rf_read_register ( uns8  cmd,
uns8 *  data,
uns8  data_len 
)

Definition at line 45 of file pic_rf_24l01.c.

References clear_pin, pic_rf_send_byte(), set_pin, and uns8.

Referenced by pic_rf_set_mode().

Here is the call graph for this function:

Here is the caller graph for this function:

uns8 pic_rf_read_register_int ( uns8  cmd,
uns8 *  data,
uns8  data_len 
)

Definition at line 65 of file pic_rf_24l01.c.

References clear_pin, pic_rf_send_byte_int(), set_pin, and uns8.

Here is the call graph for this function:

uns8 pic_rf_send_byte ( uns8  b  ) 

Definition at line 88 of file pic_rf_24l01.c.

References change_pin, clear_pin, set_pin, test_pin, and uns8.

uns8 pic_rf_send_byte_int ( uns8  b  ) 

Definition at line 108 of file pic_rf_24l01.c.

References change_pin, clear_pin, set_pin, test_pin, and uns8.

Referenced by pic_rf_read_register_inline(), pic_rf_read_register_int(), and pic_rf_send_command_inline().

Here is the caller graph for this function:

void pic_rf_send_bytes ( char *  bytes,
uns8  num_bytes 
)

Definition at line 125 of file pic_rf_24l01.c.

References pic_rf_send_byte(), and uns8.

Here is the call graph for this function:

uns8 pic_rf_send_command ( uns8  cmd,
uns8 *  data,
uns8  data_len 
)

Definition at line 26 of file pic_rf_24l01.c.

References clear_pin, pic_rf_send_byte(), set_pin, and uns8.

Referenced by pic_rf_init(), pic_rf_set_channel(), pic_rf_set_mode(), and pic_rf_transmit().

Here is the call graph for this function:

Here is the caller graph for this function:

void pic_rf_set_channel ( uns8  channel  ) 

void pic_rf_set_mode ( uns8  requested_mode  ) 

void pic_rf_setup (  ) 

Definition at line 273 of file pic_rf_24l01.c.

References clear_pin, make_input, make_output, and set_pin.

void pic_rf_transmit ( uns8 *  data,
uns8  bytes_to_transmit 
)


Generated on Mon Apr 28 08:20:13 2008 for Pic Pack by  doxygen 1.5.5