rpihw.cpp
Go to the documentation of this file.
1 #include "rpihw.h"
2 
3 #define PERIPH_BASE_RPI2 0x3f000000
4 #define VIDEOCORE_BASE_RPI2 0xc0000000
5 
6 static const rpi_hw_t mock_rpi_hw {
8  0xa02082,
11  "Mock RPi 3"
12 };
13 
14 const rpi_hw_t *rpi_hw_detect(void)
15 {
16  return &mock_rpi_hw;
17 }
VIDEOCORE_BASE_RPI2
#define VIDEOCORE_BASE_RPI2
Definition: rpihw.cpp:4
rpi_hw_detect
const rpi_hw_t * rpi_hw_detect(void)
Definition: rpihw.cpp:14
mock_rpi_hw
static const rpi_hw_t mock_rpi_hw
Definition: rpihw.cpp:6
rpi_hw_t
Definition: rpihw.h:36
RPI_HWVER_TYPE_PI2
#define RPI_HWVER_TYPE_PI2
Definition: rpihw.h:40
PERIPH_BASE_RPI2
#define PERIPH_BASE_RPI2
Definition: rpihw.cpp:3
rpihw.h


ws281x
Author(s): Alexey Rogachevskiy , Oleg Kalachev
autogenerated on Wed Jun 15 2022 02:21:36