EPPL  0.1 alpha
 All Files Typedefs Groups Pages
<eppl_config> Configuration settings

Macros

#define EPPL_TARGET   avr8
 Target platform. More...
 
#define EPPL_HOTPINS   EPPL_NP
 Hot Pins. More...
 

Detailed Description

Some basic configuration that has to be put in very beginning of EPPL files to make it work correctly.

Macro Definition Documentation

#define EPPL_HOTPINS   EPPL_NP

Hot Pins.

Hot pins are pins that could be changed from the interrupt. The library would put in critical section all operations that are not atomic.

The whole variable is target-dependent. In AVR8 target you have to define what registers would be accessed from ISR.

To select registers that are going to be modified use EPPL_SR macro with right argument.

Example:

#define EPPL_HOTPINS \
EPPL_SR(LED, EPPL_mode_outPP, EPPL_mode_outPP), \
EPPL_SR(TOUCH1, EPPL_mode_outPP, EPPL_mode_inPU)

Put list of modified pins separated by commas.

Attention
Do not put it inside brackets!
Do not leave these definition empty. Define at least one hot pin or put EPPL_NP value here.
See Also
Hot Pins concept
#define EPPL_TARGET   avr8

Target platform.

Target machine configuration