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

Embedded Port Pins Library - porting internal file. More...

Go to the source code of this file.

Macros

#define EPPL_avr8_CPORTREG(reg, cportnr)   (xEPPL_avr8_CPORTREG(reg, cportnr))
 Register for constant port access macro. More...
 
#define xEPPL_avr8_CPORTREG(reg, cportnr)   EPPL_p##reg##cportnr
 
#define EPPL_avr8_PORTREG(reg, portnr)
 Register for port access macro. More...
 
#define EPPL_avr8_CheckRegSupportsBit(regptr)   ( ((int)(regptr)) - __SFR_OFFSET < 32 )
 Check if sbi and cbi instructions are supported. More...
 
#define EPPL_avr8_modeGet(ms)   ((ms) & EPPL_mode_mask)
 
#define EPPL_avr8_stateGet(ms)   ((ms) & EPPL_outSet_mask)
 
#define EPPL_avr8_mode_knownDDR(m)
 Check if port configuration gives known DDR value. More...
 
#define EPPL_avr8_mode_knownPORT(m)
 Check if port configuration gives known PORT value. More...
 
#define EPPL_avr8_mode_valueDDR(m)
 Extract DDR value from configuration. More...
 
#define EPPL_avr8_mode_valuePORT(m)
 Extract PORT value from configuration. More...
 
#define EPPL_avr8_mode_modifiedReg(reg, from, to)
 Checks if specified mode change will modify selected register value. More...
 
#define eppl_avr8_asm_sbi(regptr, bit)
 Macro that uses assembly sbi instruction to set bit. More...
 
#define eppl_avr8_asm_cbi(regptr, bit)
 Macro that uses assembly cbi instruction to set bit. More...
 
#define EPPL_avr8_checkPinsDescending(...)   xEPPL_avr8_checkPinsDescending(__VA_ARGS__, )
 Checking if listed pins are descending in numeration. More...
 
#define EPPL_avr8_LRSH(v, sl, sr)
 Left-Right shift macro. More...
 
#define eppl_avr8_asm_bitcpy(dst, dstpos, src, srcpos)
 Fast bit copy macro. More...
 
Internal port register access

Mnemonics for port registers, for internal usage. All ports that do not exist are defined to NULL pointer.

#define EPPL_pPORT0   ((uint8_t*)NULL)
 
#define EPPL_pPIN0   ((uint8_t*)NULL)
 
#define EPPL_pDDR0   ((uint8_t*)NULL)
 
#define EPPL_pPORT1   ((uint8_t*)NULL)
 
#define EPPL_pPIN1   ((uint8_t*)NULL)
 
#define EPPL_pDDR1   ((uint8_t*)NULL)
 
#define EPPL_pPORT2   ((uint8_t*)NULL)
 
#define EPPL_pPIN2   ((uint8_t*)NULL)
 
#define EPPL_pDDR2   ((uint8_t*)NULL)
 
#define EPPL_pPORT3   ((uint8_t*)NULL)
 
#define EPPL_pPIN3   ((uint8_t*)NULL)
 
#define EPPL_pDDR3   ((uint8_t*)NULL)
 
#define EPPL_pPORT4   ((uint8_t*)NULL)
 
#define EPPL_pPIN4   ((uint8_t*)NULL)
 
#define EPPL_pDDR4   ((uint8_t*)NULL)
 
#define EPPL_pPORT5   ((uint8_t*)NULL)
 
#define EPPL_pPIN5   ((uint8_t*)NULL)
 
#define EPPL_pDDR5   ((uint8_t*)NULL)
 
#define EPPL_pPORT6   ((uint8_t*)NULL)
 
#define EPPL_pPIN6   ((uint8_t*)NULL)
 
#define EPPL_pDDR6   ((uint8_t*)NULL)
 
#define EPPL_pPORT7   ((uint8_t*)NULL)
 
#define EPPL_pPIN7   ((uint8_t*)NULL)
 
#define EPPL_pDDR7   ((uint8_t*)NULL)
 
#define EPPL_pPORT8   ((uint8_t*)NULL)
 
#define EPPL_pPIN8   ((uint8_t*)NULL)
 
#define EPPL_pDDR8   ((uint8_t*)NULL)
 
#define EPPL_pPORT9   ((uint8_t*)NULL)
 
#define EPPL_pPIN9   ((uint8_t*)NULL)
 
#define EPPL_pDDR9   ((uint8_t*)NULL)
 
#define EPPL_pPORT10   ((uint8_t*)NULL)
 
#define EPPL_pPIN10   ((uint8_t*)NULL)
 
#define EPPL_pDDR10   ((uint8_t*)NULL)
 
#define EPPL_pPORT11   ((uint8_t*)NULL)
 
#define EPPL_pPIN11   ((uint8_t*)NULL)
 
#define EPPL_pDDR11   ((uint8_t*)NULL)
 

Detailed Description

Embedded Port Pins Library - porting internal file.

Author
Radoslaw Koppel <r.koppel@k-el.com>
Date
2013 File that contains all internal macros for portable part. Internal portable part macros are macros used by the portable part of library, but they are not called directly from anywhere else.