Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
sys_io.h
Go to the documentation of this file.
1
/* Port and memory mapped registers I/O operations */
2
3
/*
4
* Copyright (c) 2015 Intel Corporation.
5
*
6
* SPDX-License-Identifier: Apache-2.0
7
*/
8
9
#ifndef ZEPHYR_INCLUDE_SYS_SYS_IO_H_
10
#define ZEPHYR_INCLUDE_SYS_SYS_IO_H_
11
12
#include <
zephyr/types.h
>
13
#include <stddef.h>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
typedef
uint32_t
io_port_t
;
20
typedef
uintptr_t
mm_reg_t
;
21
typedef
uintptr_t
mem_addr_t
;
22
23
/* Port I/O functions */
24
147
/* Memory mapped registers I/O functions */
148
236
/* Memory bits manipulation functions */
237
357
#ifdef __cplusplus
358
}
359
#endif
360
361
#endif
/* ZEPHYR_INCLUDE_SYS_SYS_IO_H_ */
types.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:60
uintptr_t
__UINTPTR_TYPE__ uintptr_t
Definition:
stdint.h:75
io_port_t
uint32_t io_port_t
Definition:
sys_io.h:19
mm_reg_t
uintptr_t mm_reg_t
Definition:
sys_io.h:20
mem_addr_t
uintptr_t mem_addr_t
Definition:
sys_io.h:21
include
sys
sys_io.h
Generated on Sun Oct 9 2022 09:21:57 for Zephyr API Documentation by
1.9.4