Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:04

0001 /**
0002  * @file
0003  *
0004  * @ingroup raspberrypi
0005  *
0006  * @brief mailbox support.
0007  */
0008 /*
0009  * Copyright (c) 2015 Yang Qiao
0010  *
0011  *  The license and distribution terms for this file may be
0012  *  found in the file LICENSE in this distribution or at
0013  *
0014  *  http://www.rtems.org/license/LICENSE
0015  *
0016  */
0017 
0018 #ifndef LIBBSP_ARM_RASPBERRYPI_MAILBOX_H
0019 #define LIBBSP_ARM_RASPBERRYPI_MAILBOX_H
0020 
0021 #ifdef __cplusplus
0022 extern "C" {
0023 #endif /* __cplusplus */
0024 
0025 extern unsigned int  raspberrypi_mailbox_read(unsigned int channel);
0026 extern void raspberrypi_mailbox_write(unsigned int channel, unsigned int data);
0027 
0028 #ifdef __cplusplus
0029 }
0030 #endif /* __cplusplus */
0031 
0032 #endif  /* LIBBSP_ARM_RASPBERRYPI_MAILBOX_H */