EPPL  0.1 alpha
 All Files Typedefs Groups Pages

Modules

 <eppl_avr8> Target file for avr8 microcontroller
 

Mapping macros

Internal helpful macros for easy portable macros and functions to the right port.

See Also
EPPL_TARGET
#define EPPL_TARGET_MAPC(n)   EPPL_LC(EPPL_LC(EPPL_, EPPL_TARGET), n)
 Constant mapping. More...
 
#define EPPL_TARGET_MAPF(n)   EPPL_LC(EPPL_LC(eppl_, EPPL_TARGET), n)
 Function mapping. More...
 

Mapped elements

List of macros, constant or functions that have to be defined in target files.

#define EPPL_port_PORTSIZE   EPPL_TARGET_MAPC(_PORTSIZE)
 
#define EPPL_port_PORTCNT   EPPL_TARGET_MAPC(_PORTCNT)
 
#define EPPL_port_CONFSIZE   EPPL_TARGET_MAPC(_CONFSIZE)
 
#define eppl_port_InitOnePort   EPPL_TARGET_MAPF(_InitOnePort)
 
#define EPPL_port_ReinitIsSafe   EPPL_TARGET_MAPC(_ReinitIsSafe)
 
#define eppl_port_ReinitOnePort   EPPL_TARGET_MAPF(_ReinitOnePort)
 
#define EPPL_port_MapOutIsSafe   EPPL_TARGET_MAPC(_MapOutIsSafe)
 
#define EPPL_port_generateMapOutToOnePort   EPPL_TARGET_MAPC(_generateMapOutToOnePort)
 
#define EPPL_port_generateMapInFromOnePort   EPPL_TARGET_MAPC(_generateMapInFromOnePort)
 
#define eppl_port_LockableBlockBegin   EPPL_TARGET_MAPF(_LockableBlockBegin)
 
#define eppl_port_LockableBlockEnd   EPPL_TARGET_MAPF(_LockableBlockEnd)
 

Detailed Description

All functions that need to be remapped to the target are grouped here. The functions here map macros in form eppl_port_name to eppl_[TARGET]_name.

Macro Definition Documentation

#define EPPL_port_CONFSIZE   EPPL_TARGET_MAPC(_CONFSIZE)

(Constant) Number of possible combinations in port configuration. It is equal to (2^N) where N is number of bits needed to describe pin configuration

#define EPPL_port_generateMapInFromOnePort   EPPL_TARGET_MAPC(_generateMapInFromOnePort)

( EPPL_REPEAT macro)

#define EPPL_port_generateMapOutToOnePort   EPPL_TARGET_MAPC(_generateMapOutToOnePort)

( EPPL_REPEAT macro)

#define eppl_port_InitOnePort   EPPL_TARGET_MAPF(_InitOnePort)

(Function-macro) Function that performs one port initialization according to given parameters.

#define eppl_port_LockableBlockBegin   EPPL_TARGET_MAPF(_LockableBlockBegin)

(Block opening macro)

#define eppl_port_LockableBlockEnd   EPPL_TARGET_MAPF(_LockableBlockEnd)

(Block closing macro)

#define EPPL_port_MapOutIsSafe   EPPL_TARGET_MAPC(_MapOutIsSafe)

(Function-macro)

#define EPPL_port_PORTCNT   EPPL_TARGET_MAPC(_PORTCNT)

(Constant) Number of ports

#define EPPL_port_PORTSIZE   EPPL_TARGET_MAPC(_PORTSIZE)

(Constant) Number of bits in single port

#define EPPL_port_ReinitIsSafe   EPPL_TARGET_MAPC(_ReinitIsSafe)

(Function-macro) Function that checks if reinitialization modifies EPPL_HOTPINS in non-atomic operation.

#define eppl_port_ReinitOnePort   EPPL_TARGET_MAPF(_ReinitOnePort)

(Function-macro) Single port reinitialization.

#define EPPL_TARGET_MAPC (   n)    EPPL_LC(EPPL_LC(EPPL_, EPPL_TARGET), n)

Constant mapping.

Constants have EPPL_ prefix.

Parameters
nConstant postfix
See Also
EPPL_TARGET
#define EPPL_TARGET_MAPF (   n)    EPPL_LC(EPPL_LC(eppl_, EPPL_TARGET), n)

Function mapping.

Functions or macros that change something and cannot be used to initialize variable. All have eppl_prefix.

Parameters
nFunction postfix
See Also
EPPL_TARGET