RTEMS 7.0-rc1
Loading...
Searching...
No Matches
mailbox.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */
2
10/*
11 * Copyright (c) 2015 Yang Qiao
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 *
16 * http://www.rtems.org/license/LICENSE
17 *
18 */
19
20#ifndef LIBBSP_ARM_RASPBERRYPI_MAILBOX_H
21#define LIBBSP_ARM_RASPBERRYPI_MAILBOX_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif /* __cplusplus */
26
27extern unsigned int raspberrypi_mailbox_read(unsigned int channel);
28extern void raspberrypi_mailbox_write(unsigned int channel, unsigned int data);
29
30#ifdef __cplusplus
31}
32#endif /* __cplusplus */
33
34#endif /* LIBBSP_ARM_RASPBERRYPI_MAILBOX_H */