blob: e6cb0f8c279ba06586bbb16838f07c05b248aec1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
* @file
*
* @ingroup raspberrypi
*
* @brief mailbox support.
*/
/*
* Copyright (c) 2015 Yang Qiao
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.org/license/LICENSE
*
*/
#ifndef LIBBSP_ARM_RASPBERRYPI_MAILBOX_H
#define LIBBSP_ARM_RASPBERRYPI_MAILBOX_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
extern unsigned int raspberrypi_mailbox_read(unsigned int channel);
extern void raspberrypi_mailbox_write(unsigned int channel, unsigned int data);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* LIBBSP_ARM_RASPBERRYPI_MAILBOX_H */
|