no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33
34#ifndef PARAMETERS_H
35#define PARAMETERS_H
36
37#define SPI_DEVICE_ID 0U
38#define GPIO_OFFSET 54U
39
40/* SSD 1306 display controller specific pins */
41#define DC_PIN GPIO_OFFSET + 5U
42#define RST_PIN GPIO_OFFSET + 6U
43#define VBAT_PIN GPIO_OFFSET + 9U
44#define VDD_PIN GPIO_OFFSET + 10U
45
46/* Defines for ZedBoard specific pin level output */
47#define VDD_ON 0U //p-channel MOSFET
48#define VDD_OFF 1U
49#define VBAT_ON 0U //p-channel MOSFET
50#define VBAT_OFF 1U
51
52#endif