RetroArch
Classes | Functions | Variables
led_rpi.c File Reference
#include <stdio.h>
#include "../led_driver.h"
#include "../led_defines.h"
#include "../../configuration.h"
#include "../../verbosity.h"
Include dependency graph for led_rpi.c:

Classes

struct  rpiled_t
 

Functions

static void rpi_init (void)
 
static void rpi_free (void)
 
static int set_gpio (int gpio, int value)
 
static int setup_gpio (int gpio)
 
static void rpi_set (int led, int state)
 

Variables

static rpiled_t curins
 
static rpiled_tcur = &curins
 
const led_driver_t rpi_led_driver
 

Function Documentation

◆ rpi_free()

static void rpi_free ( void  )
static

◆ rpi_init()

static void rpi_init ( void  )
static
Here is the call graph for this function:

◆ rpi_set()

static void rpi_set ( int  led,
int  state 
)
static
Here is the call graph for this function:

◆ set_gpio()

static int set_gpio ( int  gpio,
int  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setup_gpio()

static int setup_gpio ( int  gpio)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cur

rpiled_t* cur = &curins
static

◆ curins

rpiled_t curins
static

◆ rpi_led_driver

const led_driver_t rpi_led_driver
Initial value:
= {
"rpi"
}
static void rpi_free(void)
Definition: led_rpi.c:48
static void rpi_init(void)
Definition: led_rpi.c:32
static void rpi_set(int led, int state)
Definition: led_rpi.c:107