RTEMS  5.0.0
Macros | Functions
mailbox.c File Reference

mailbox support. More...

#include <stdint.h>
#include <stdbool.h>
#include <bsp.h>
#include <bsp/raspberrypi.h>
#include <bsp/mailbox.h>

Macros

#define BCM2835_MBOX_DATA_MASK(data)   ( data & 0xFFFFFFF0U )
 
#define BCM2835_MBOX_CHANNEL_MASK(data)   ( data & 0xFU )
 

Functions

unsigned int raspberrypi_mailbox_read (unsigned int channel)
 
void raspberrypi_mailbox_write (unsigned int channel, unsigned int data)
 

Detailed Description

mailbox support.