Pervasive Displays Library Suite - Basic edition 8.0.8
Library for Pervasive Displays e-paper screens and EXT3 extension board
Loading...
Searching...
No Matches
hV_List_Options.h File Reference

List of options for Pervasive Displays Library Suite. More...

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

Macros

#define hV_LIST_OPTIONS_RELEASE   805
 Release.
 
#define MAX_FONT_SIZE   4
 4- Maximum number of fonts
 
3- Set font mode

From header files or from external flash

  • Basic edition: Terminal font
  • Evaluation edition: DejaVu font as header
  • Commercial edition: DejaVu font as either header or external SPI Flash
  • Viewer edition: DejaVu font as header
Note
USE_FONT_HEADER requires addFont()
Font Manager requires USE_FONT_HEADER
Warning
8- and 16-bit MCUs may limit the size of the fonts. Use 32-bit MCUs for optimal performance.
#define USE_FONT_TERMINAL   1
 Use default Terminal fonts.
 
#define FONT_MODE   USE_FONT_TERMINAL
 Selected option.
 
5- Set SRAM memory

From internal MCU or external SPI

  • Basic edition: MCU internal SRAM
  • Commercial edition: MCU internal SRAM
  • Evaluation edition: MCU internal or SPI external SRAM
  • Viewer edition: MCU internal SRAM
#define USE_INTERNAL_MCU   1
 Use MCU internal.
 
#define SRAM_MODE   USE_INTERNAL_MCU
 Selected option.
 
6- Use virtual object

From hV_Screen_Virtual.h for extended compability

Note
Declare additional variables if USE_hV_SCREEN_SELF
Virtual object requires ~1 kB bytes.
  • Basic edition: self option
  • Evaluation edition: virtual option
  • Commercial edition: self and virtual options
  • Viewer edition: virtual option
Recommended: USE_hV_SCREEN_VIRTUAL
Warning
Issues with virtual function on arm-none-eabi-g++ 4.9.3: use USE_hV_SCREEN_SELF instead.
#define USE_hV_SCREEN_SELF   2
 Do not use virtual object.
 
#define USE_hV_SCREEN   USE_hV_SCREEN_SELF
 Selected option.
 
7- Set touch mode

Only two screens are ready for touch

  • Basic edition: iTC 2.71 BW and iTC 3.70 BW
  • Evaluation edition: iTC 2.71 BW and iTC 3.70 BW
  • Commercial edition: iTC 2.71 BW and iTC 3.70 BW
  • Viewer edition: iTC 2.71 BW and iTC 3.70 BW
Note
Touch uses I2C and polling over interrupt
#define USE_TOUCH_NONE   0
 Do not use touch.
 
#define USE_TOUCH_YES   1
 Use touch.
 
#define TOUCH_MODE   USE_TOUCH_YES
 Selected option.
 
8- Set haptic feedback mode
  • Basic edition: no haptic feedback
  • Evaluation edition: ERM or LRA
  • Commercial edition: ERM or LRA
  • Viewer edition: no haptic feedback
#define USE_HAPTICS_NONE   0
 No motor.
 
#define HAPTICS_MODE   USE_HAPTICS_NONE
 Selected option.
 
9- Set GPIO expander mode
  • Basic edition: no expander
  • Evaluation edition: PCF8574 or PCA9536
  • Commercial edition: PCF8574 or PCA9536
  • Viewer edition: no expander
#define USE_EXPANDER_NONE   0
 No I2C expander.
 
#define EXPANDER_MODE   USE_EXPANDER_NONE
 Selected option.
 
10- Set string mode
  • Basic edition: String object
  • Evaluation edition: char array
  • Commercial edition: String object or char array
  • Viewer edition: char array
#define USE_STRING_OBJECT   1
 
#define STRING_MODE   USE_STRING_OBJECT
 
11- Storage mode
  • Basic edition: none
  • Evaluation edition: none
  • Commercial edition: option
  • Viewer edition: option
#define USE_NONE   0
 No storage.
 
#define STORAGE_MODE   USE_NONE
 Selected options.
 

Detailed Description

List of options for Pervasive Displays Library Suite.

Project Pervasive Displays Library Suite
Based on highView technology


Content

  • 3- Font mode, internal MCU for basic edition
  • 4- Maximum number of fonts
  • 5- SRAM memory, internal MCU for basic edition
  • 6- Use self for basic edition
  • 7- Touch mode, activated or not
  • 8- Haptic feedback mode, not implemented
  • 9. Set GPIO expander mode, not implemented
  • 10. String object for basic edition
  • 11. Set storage mode, not implemented
  • 12. Set debug options, not implemented
Author
Rei Vilo
Date
21 Aug 2024
Version
805
  • Basic edition: for hobbyists and for basic usage
    Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
    See also
    https://creativecommons.org/licenses/by-sa/4.0/

    Consider the Evaluation or Commercial editions for professionals or organisations and for commercial usage
  • Evaluation edition: for professionals or organisations, evaluation only, no commercial usage
    All rights reserved
  • Commercial edition: for professionals or organisations, commercial usage
    All rights reserved
  • Viewer edition: for professionals or organisations
    All rights reserved
  • Documentation
    All rights reserved

Macro Definition Documentation

◆ MAX_FONT_SIZE

#define MAX_FONT_SIZE   4

4- Maximum number of fonts

With MCU Flash, based on available memory, check performed at compilation

  • USE_FONT_TERMINAL: 1..4
  • USE_FONT_HEADER: 1..64

With SPI Flash, based on the fonts previously uploaded

  • USE_FONT_FLASH: eg. 64