RTEMS  5.1
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
22 extern "C" {
23 #endif /* __cplusplus */
24 
25 extern unsigned int raspberrypi_mailbox_read(unsigned int channel);
26 extern 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 */