Choco OS  V.0.16.9.0
Join to the chocolate world
oc_memory.h File Reference

The file with interface for the GPIO driver. More...

#include <oc_stdtypes.h>

Go to the source code of this file.

Macros

#define oC_Access_(ACCESS_SHORTCUT)
 Macro for receiving name of Access type. More...
 

Enumerations

Detailed Description


Author
Patryk Kubiak
Note
Copyright (C) 2016 Patryk Kubiak patry.nosp@m.k.ku.nosp@m.biak9.nosp@m.0@gm.nosp@m.ail.c.nosp@m.om

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file oc_memory.h.

Macro Definition Documentation

#define oC_Access_ (   ACCESS_SHORTCUT)

The macro helps to receive name of an enumerator in oC_Access_t type.

Parameters
ACCESS_SHORTCUTShortcut of access: R/W/RW

Definition at line 75 of file oc_memory.h.

Enumeration Type Documentation

The type for storing access. It is an information if a value is writable or readable. Enumerations in this types are defined as flags, so they can be joined.

Enumerator
oC_Access_None 

None access is allowed.

oC_Access_Read 

If this flag is set it does mean, that this resource is readable.

oC_Access_Write 

If this flag is set it does mean, that this resource is writable.

oC_Access_Execute 

If this flag is set it does mean, that this resource is executable.

oC_Access_R 
See also
oC_Access_Read
oC_Access_W 
See also
oC_Access_Write
oC_Access_X 
See also
oC_Access_Execute
oC_Access_RW 
See also
oC_Access_Read , oC_Access_Write
oC_Access_RWX 
See also
oC_Access_Read , oC_Access_Write, oC_Access_Execute
oC_Access_Full 

All access allowed.

Definition at line 89 of file oc_memory.h.