Choco OS
V.0.16.9.0
Join to the chocolate world
|
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 |
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.
#define oC_Access_ | ( | ACCESS_SHORTCUT | ) |
The macro helps to receive name of an enumerator in oC_Access_t type.
ACCESS_SHORTCUT | Shortcut of access: R/W/RW |
Definition at line 75 of file oc_memory.h.
enum oC_Access_t |
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 |
|
oC_Access_W |
|
oC_Access_X |
|
oC_Access_RW |
|
oC_Access_RWX |
|
oC_Access_Full |
All access allowed. |
Definition at line 89 of file oc_memory.h.