libmetal
Loading...
Searching...
No Matches
io.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018, Pinecone Inc. and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/*
8 * @file nuttx/io.h
9 * @brief NuttX specific io definitions.
10 */
11
12#ifndef __METAL_IO__H__
13#error "Include metal/io.h instead of metal/nuttx/io.h"
14#endif
15
16#ifndef __METAL_NUTTX_IO__H__
17#define __METAL_NUTTX_IO__H__
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
27struct metal_io_ops *metal_io_get_ops(void);
28
34
35#ifdef METAL_INTERNAL
36
40static inline void metal_sys_io_mem_map(struct metal_io_region *io)
41{
42}
43#endif
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* __METAL_NUTTX_IO__H__ */
Definition: io.h:40
Definition: io.h:73
void metal_sys_io_mem_map(struct metal_io_region *io)
Definition: io.c:14
struct metal_io_ops * metal_io_get_ops(void)
Get the default global io ops.
Definition: io.c:108
struct metal_io_region * metal_io_get_region(void)
Get the default global io region.
Definition: io.c:113