EPPL  0.1 alpha
 All Files Typedefs Groups Pages
eppl_avr8_init.h File Reference

Embedded Port Pins Library - part of internal porting files. More...

Go to the source code of this file.

Macros

#define eppl_avr8_InitReg(reg, port, default, pinconfigs...)
 Init the register in defined port. More...
 
#define eppl_avr8_InitOnePort(port, default, pinconfigs...)
 Single port initialization. More...
 
Internal macros for complex pin identifier checking

Macros set to be used with EPPL_GETSUBSET macro. Checks if the given list of pins has different value than default.

#define EPPL_avr8_init_isPORTSET(param, bit)   ( (EPPL_PORTNR(bit) == EPPL_PORTNR(param)) && EPPL_avr8_mode_modifiedReg(PORT, EPPL_GC(param), EPPL_GC(bit)) && EPPL_avr8_mode_valuePORT(EPPL_GC(bit)) )
 
#define EPPL_avr8_init_isPORTCLR(param, bit)   ( (EPPL_PORTNR(bit) == EPPL_PORTNR(param)) && EPPL_avr8_mode_modifiedReg(PORT, EPPL_GC(param), EPPL_GC(bit)) && !EPPL_avr8_mode_valuePORT(EPPL_GC(bit)) )
 
#define EPPL_avr8_init_isDDRSET(param, bit)   ( (EPPL_PORTNR(bit) == EPPL_PORTNR(param)) && EPPL_avr8_mode_modifiedReg(DDR, EPPL_GC(param), EPPL_GC(bit)) && EPPL_avr8_mode_valueDDR(EPPL_GC(bit)) )
 
#define EPPL_avr8_init_isDDRCLR(param, bit)   ( (EPPL_PORTNR(bit) == EPPL_PORTNR(param)) && EPPL_avr8_mode_modifiedReg(DDR, EPPL_GC(param), EPPL_GC(bit)) && !EPPL_avr8_mode_valueDDR(EPPL_GC(bit)) )
 

Detailed Description

Embedded Port Pins Library - part of internal porting files.

Author
Radoslaw Koppel <r.koppel@k-el.com>
Date
2013 File that contains macros and functions that allows initialization of port pins
See Also
<eppl_avr8_init> Initialization port