So far only supports the Archtech Self Learning protocol. Former-commit-id: 705f787fc30459a9d55dc571632dc4d01e7198f0
15 lines
418 B
C
15 lines
418 B
C
#ifndef BUFFER_H
|
|
#define BUFFER_H
|
|
|
|
#include "Arduino.h"
|
|
|
|
uint16_t calculateBufferPointerDistance(uint8_t* bufStartP, uint8_t* bufEndP);
|
|
uint8_t* getNextBufferPointer(uint8_t* p);
|
|
void stepBufferPointer(uint8_t** p);
|
|
|
|
extern uint8_t RF_rxBuffer[512]; //must have and even number of elements
|
|
extern uint8_t* RF_rxBufferStartP;
|
|
extern uint8_t* RF_rxBufferEndP;
|
|
extern volatile uint8_t* bufferWriteP;
|
|
|
|
#endif //BUFFER_H
|