no-OS
Macros
parameters.h File Reference

Parameters Definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SPI_DEVICE_ID   0U
 
#define GPIO_OFFSET   54U
 
#define DC_PIN   GPIO_OFFSET + 5U
 
#define RST_PIN   GPIO_OFFSET + 6U
 
#define VBAT_PIN   GPIO_OFFSET + 9U
 
#define VDD_PIN   GPIO_OFFSET + 10U
 
#define VDD_ON   0U
 
#define VDD_OFF   1U
 
#define VBAT_ON   0U
 
#define VBAT_OFF   1U
 

Detailed Description

Parameters Definitions.

Author
Andrei Porumb (andre.nosp@m.i.po.nosp@m.rumb@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2021(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ DC_PIN

#define DC_PIN   GPIO_OFFSET + 5U

◆ GPIO_OFFSET

#define GPIO_OFFSET   54U

◆ RST_PIN

#define RST_PIN   GPIO_OFFSET + 6U

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   0U

◆ VBAT_OFF

#define VBAT_OFF   1U

◆ VBAT_ON

#define VBAT_ON   0U

◆ VBAT_PIN

#define VBAT_PIN   GPIO_OFFSET + 9U

◆ VDD_OFF

#define VDD_OFF   1U

◆ VDD_ON

#define VDD_ON   0U

◆ VDD_PIN

#define VDD_PIN   GPIO_OFFSET + 10U