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