|
MHVLib
20111227
An efficiency oriented runtime library for AVR microcontrollers
|
#include <inttypes.h>#include <avr/interrupt.h>#include <MHV_io.h>#include <stdio.h>#include <MHV_RingBuffer.h>#include <avr/pgmspace.h>Go to the source code of this file.
Classes | |
| struct | mhv_tx_buffer |
| class | MHV_Device_TX |
Defines | |
| #define | MHVLIB_NEED_PURE_VIRTUAL |
| #define | MHV_TX_BUFFER_CREATE(_mhvTxName, _mhvTxElementCount) |
| #define | MHV_DEBUG(__dbg_tx, __dbg_format, __dbg_args...) |
Typedefs | |
| typedef struct mhv_tx_buffer | MHV_TX_BUFFER |
| #define MHV_DEBUG | ( | __dbg_tx, | |
| __dbg_format, | |||
| __dbg_args... | |||
| ) |
do {\ __dbg_tx.debug(__FILE__, __LINE__, __FUNCTION__, PSTR(__dbg_format), ## __dbg_args); \ } while (0)
Definition at line 45 of file MHV_Device_TX.h.
| #define MHV_TX_BUFFER_CREATE | ( | _mhvTxName, | |
| _mhvTxElementCount | |||
| ) |
char _mhvTxName ## Buf[_mhvTxElementCount * sizeof(MHV_TX_BUFFER) + 1]; \ MHV_RingBuffer _mhvTxName(_mhvTxName ## Buf, _mhvTxElementCount * sizeof(MHV_TX_BUFFER) + 1);
Definition at line 41 of file MHV_Device_TX.h.
| #define MHVLIB_NEED_PURE_VIRTUAL |
Definition at line 32 of file MHV_Device_TX.h.
| typedef struct mhv_tx_buffer MHV_TX_BUFFER |
Definition at line 57 of file MHV_Device_TX.h.