Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
bcm2837_power.c File Reference
#include "bcm2837.h"
#include "bcm2837_mbox.h"

Functions

void bcm2837_mailbox_write (uint channel, uint value)
 
uint bcm2837_mailbox_read (uint channel)
 
int bcm2837_setpower (enum board_power_feature feature, bool on)
 
void bcm2837_power_init (void)
 

Detailed Description

This driver provides the ability to power on and power off hardware, such as the USB Controller, on the BCM2837B0 SoC used on the Raspberry Pi 3 B+. This makes use of the BCM2837B0's mailbox mechanism.