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 }
const rpi_hw_t * rpi_hw_detect(void)
Definition: rpihw.cpp:14
Definition: rpihw.h:36
#define RPI_HWVER_TYPE_PI2
Definition: rpihw.h:40
static const rpi_hw_t mock_rpi_hw
Definition: rpihw.cpp:6
#define PERIPH_BASE_RPI2
Definition: rpihw.cpp:3
#define VIDEOCORE_BASE_RPI2
Definition: rpihw.cpp:4


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