Newer
Older
pyenergenie / src / energenie / drv / hrf69.c
@David Whale David Whale on 3 Apr 2016 735 bytes Moved all C into a drv folder.
/* hrf69.c  03/04/2016  D.J.Whale
 *
 * Hope RF RFM69 radio controller code.
 */

//import spi

//def warning(msg):
//    print("warning:" + str(msg))

//def trace(msg):
//    print(str(msg))


//def ashex(p):
//    line = ""
//    for b in p:
//        line += str(hex(b)) + " "
//    return line


//def HRF_writereg(addr, data):

//def HRF_readreg(addr):

//def HRF_writefifo_burst(buf):

//def HRF_readfifo_burst():

//def HRF_checkreg(addr, mask, value):

//def HRF_pollreg(addr, mask, value):

//def HRF_wait_ready():

//def HRF_wait_txready():

//def HRF_change_mode(mode):

//def HRF_clear_fifo():

//def HRF_check_payload():

//def HRF_receive_payload():

//def HRF_send_payload(payload):

//def HRF_config(config):


//# END