| Nano100BN Series BSP V3.03.002 The Board Support Package for Nano100BN Series

Macros
LCD Exported Constants
NANO100 Device Driver » LCD Driver

## Macros
#define | LCD_FREQ_DIV32 ((uint32_t) 0x00000000)
#define | LCD_FREQ_DIV64 ((uint32_t) 0x00000010)
#define | LCD_FREQ_DIV96 ((uint32_t) 0x00000020)
#define | LCD_FREQ_DIV128 ((uint32_t) 0x00000030)
#define | LCD_FREQ_DIV192 ((uint32_t) 0x00000040)
#define | LCD_FREQ_DIV256 ((uint32_t) 0x00000050)
#define | LCD_FREQ_DIV384 ((uint32_t) 0x00000060)
#define | LCD_FREQ_DIV512 ((uint32_t) 0x00000070)
#define | LCD_MUX_STATIC ((uint32_t) 0x00000000)
#define | LCD_MUX_ONE_SECOND ((uint32_t) 0x00000002)
#define | LCD_MUX_ONE_THIRD ((uint32_t) 0x00000004)
#define | LCD_MUX_ONE_FOURTH ((uint32_t) 0x00000006)
#define | LCD_MUX_ONE_FIFTH ((uint32_t) 0x00000008)
#define | LCD_MUX_ONE_SIXTH ((uint32_t) 0x0000000A)
#define | LCD_BIAS_STATIC ((uint32_t) 0x00000000)
#define | LCD_BIAS_HALF ((uint32_t) 0x00000002)
#define | LCD_BIAS_THIRD ((uint32_t) 0x00000004)
#define | LCD_CPUMP_DIV1 ((uint32_t) 0x00000000)
#define | LCD_CPUMP_DIV2 ((uint32_t) 0x00000800)
#define | LCD_CPUMP_DIV4 ((uint32_t) 0x00001000)
#define | LCD_CPUMP_DIV8 ((uint32_t) 0x00001800)
#define | LCD_CPUMP_DIV16 ((uint32_t) 0x00002000)
#define | LCD_CPUMP_DIV32 ((uint32_t) 0x00002800)
#define | LCD_CPUMP_DIV64 ((uint32_t) 0x00003000)
#define | LCD_CPUMP_DIV128 ((uint32_t) 0x00003800)
#define | LCD_CPVOl_2_7V ((uint32_t) 0x00000000)
#define | LCD_CPVOl_2_8V ((uint32_t) 0x00000100)
#define | LCD_CPVOl_2_9V ((uint32_t) 0x00000200)
#define | LCD_CPVOl_3V ((uint32_t) 0x00000300)
#define | LCD_CPVOl_3_1V ((uint32_t) 0x00000400)
#define | LCD_CPVOl_3_2V ((uint32_t) 0x00000500)
#define | LCD_CPVOl_3_3V ((uint32_t) 0x00000600)
#define | LCD_CPVOl_3_4V ((uint32_t) 0x00000700)
#define | LCD_FCPRESC_DIV1 ((uint32_t) 0x00000000)
#define | LCD_FCPRESC_DIV2 ((uint32_t) 0x00000004)
#define | LCD_FCPRESC_DIV4 ((uint32_t) 0x00000008)
#define | LCD_FCPRESC_DIV8 ((uint32_t) 0x0000000C)
#define | LCD_FRAMECOUNT_INT ((uint32_t) 0x00000001)
#define | LCD_POWERDOWN_INT ((uint32_t) 0x00000002)
#define | LCD_ALL_INT ((uint32_t) 0x00000003)
#define | ERR_LCD_CAL_BLINK_FAIL 0xFFFF0000

## Detailed Description

## Macro Definition Documentation

## ◆ ERR_LCD_CAL_BLINK_FAIL

#define ERR_LCD_CAL_BLINK_FAIL 0xFFFF0000

Specifies that overflow to calculate the blinking frequency

Definition at line 91 of file lcd.h.

## ◆ LCD_ALL_INT

#define LCD_ALL_INT ((uint32_t) 0x00000003)

Indicate frame count & power down interrupt

Definition at line 89 of file lcd.h.

## ◆ LCD_BIAS_HALF

#define LCD_BIAS_HALF ((uint32_t) 0x00000002)

1/2 bias

Definition at line 61 of file lcd.h.

## ◆ LCD_BIAS_STATIC

#define LCD_BIAS_STATIC ((uint32_t) 0x00000000)

Static bias

Definition at line 60 of file lcd.h.

## ◆ LCD_BIAS_THIRD

#define LCD_BIAS_THIRD ((uint32_t) 0x00000004)

1/3 bias

Definition at line 62 of file lcd.h.

## ◆ LCD_CPUMP_DIV1

#define LCD_CPUMP_DIV1 ((uint32_t) 0x00000000)

Clock source (32 or 10KHz) divide by 1 and is used by analog component

Definition at line 64 of file lcd.h.

## ◆ LCD_CPUMP_DIV128

#define LCD_CPUMP_DIV128 ((uint32_t) 0x00003800)

Clock source (32 or 10KHz) divide by 128

Definition at line 71 of file lcd.h.

## ◆ LCD_CPUMP_DIV16

#define LCD_CPUMP_DIV16 ((uint32_t) 0x00002000)

Clock source (32 or 10KHz) divide by 16

Definition at line 68 of file lcd.h.

## ◆ LCD_CPUMP_DIV2

#define LCD_CPUMP_DIV2 ((uint32_t) 0x00000800)

Clock source (32 or 10KHz) divide by 2

Definition at line 65 of file lcd.h.

## ◆ LCD_CPUMP_DIV32

#define LCD_CPUMP_DIV32 ((uint32_t) 0x00002800)

Clock source (32 or 10KHz) divide by 32

Definition at line 69 of file lcd.h.

## ◆ LCD_CPUMP_DIV4

#define LCD_CPUMP_DIV4 ((uint32_t) 0x00001000)

Clock source (32 or 10KHz) divide by 4

Definition at line 66 of file lcd.h.

## ◆ LCD_CPUMP_DIV64

#define LCD_CPUMP_DIV64 ((uint32_t) 0x00003000)

Clock source (32 or 10KHz) divide by 64

Definition at line 70 of file lcd.h.

## ◆ LCD_CPUMP_DIV8

#define LCD_CPUMP_DIV8 ((uint32_t) 0x00001800)

Clock source (32 or 10KHz) divide by 8

Definition at line 67 of file lcd.h.

## ◆ LCD_CPVOl_2_7V

#define LCD_CPVOl_2_7V ((uint32_t) 0x00000000)

Set charge pump voltage to 2.7 V

Definition at line 73 of file lcd.h.

## ◆ LCD_CPVOl_2_8V

#define LCD_CPVOl_2_8V ((uint32_t) 0x00000100)

Set charge pump voltage to 2.8 V

Definition at line 74 of file lcd.h.

## ◆ LCD_CPVOl_2_9V

#define LCD_CPVOl_2_9V ((uint32_t) 0x00000200)

Set charge pump voltage to 2.9 V

Definition at line 75 of file lcd.h.

## ◆ LCD_CPVOl_3_1V

#define LCD_CPVOl_3_1V ((uint32_t) 0x00000400)

Set charge pump voltage to 3.1 V

Definition at line 77 of file lcd.h.

## ◆ LCD_CPVOl_3_2V

#define LCD_CPVOl_3_2V ((uint32_t) 0x00000500)

Set charge pump voltage to 3.2 V

Definition at line 78 of file lcd.h.

## ◆ LCD_CPVOl_3_3V

#define LCD_CPVOl_3_3V ((uint32_t) 0x00000600)

Set charge pump voltage to 3.3 V

Definition at line 79 of file lcd.h.

## ◆ LCD_CPVOl_3_4V

#define LCD_CPVOl_3_4V ((uint32_t) 0x00000700)

Set charge pump voltage to 3.4 V

Definition at line 80 of file lcd.h.

## ◆ LCD_CPVOl_3V

#define LCD_CPVOl_3V ((uint32_t) 0x00000300)

Set charge pump voltage to 3 V

Definition at line 76 of file lcd.h.

## ◆ LCD_FCPRESC_DIV1

#define LCD_FCPRESC_DIV1 ((uint32_t) 0x00000000)

Set pre-scale divider value to 1

Definition at line 82 of file lcd.h.

## ◆ LCD_FCPRESC_DIV2

#define LCD_FCPRESC_DIV2 ((uint32_t) 0x00000004)

Set pre-scale divider value to 2

Definition at line 83 of file lcd.h.

## ◆ LCD_FCPRESC_DIV4

#define LCD_FCPRESC_DIV4 ((uint32_t) 0x00000008)

Set pre-scale divider value to 4

Definition at line 84 of file lcd.h.

## ◆ LCD_FCPRESC_DIV8

#define LCD_FCPRESC_DIV8 ((uint32_t) 0x0000000C)

Set pre-scale divider value to 8

Definition at line 85 of file lcd.h.

## ◆ LCD_FRAMECOUNT_INT

#define LCD_FRAMECOUNT_INT ((uint32_t) 0x00000001)

Indicate frame count interrupt

Definition at line 87 of file lcd.h.

## ◆ LCD_FREQ_DIV128

#define LCD_FREQ_DIV128 ((uint32_t) 0x00000030)

Clock source (32 or 10KHz) divide by 128

Definition at line 47 of file lcd.h.

## ◆ LCD_FREQ_DIV192

#define LCD_FREQ_DIV192 ((uint32_t) 0x00000040)

Clock source (32 or 10KHz) divide by 192

Definition at line 48 of file lcd.h.

## ◆ LCD_FREQ_DIV256

#define LCD_FREQ_DIV256 ((uint32_t) 0x00000050)

Clock source (32 or 10KHz) divide by 256

Definition at line 49 of file lcd.h.

## ◆ LCD_FREQ_DIV32

#define LCD_FREQ_DIV32 ((uint32_t) 0x00000000)

Clock source (32 or 10KHz) divide by 32

Definition at line 44 of file lcd.h.

## ◆ LCD_FREQ_DIV384

#define LCD_FREQ_DIV384 ((uint32_t) 0x00000060)

Clock source (32 or 10KHz) divide by 384

Definition at line 50 of file lcd.h.

## ◆ LCD_FREQ_DIV512

#define LCD_FREQ_DIV512 ((uint32_t) 0x00000070)

Clock source (32 or 10KHz) divide by 512

Definition at line 51 of file lcd.h.

## ◆ LCD_FREQ_DIV64

#define LCD_FREQ_DIV64 ((uint32_t) 0x00000010)

Clock source (32 or 10KHz) divide by 64

Definition at line 45 of file lcd.h.

## ◆ LCD_FREQ_DIV96

#define LCD_FREQ_DIV96 ((uint32_t) 0x00000020)

Clock source (32 or 10KHz) divide by 96

Definition at line 46 of file lcd.h.

## ◆ LCD_MUX_ONE_FIFTH

#define LCD_MUX_ONE_FIFTH ((uint32_t) 0x00000008)

1/5 duty

Definition at line 57 of file lcd.h.

## ◆ LCD_MUX_ONE_FOURTH

#define LCD_MUX_ONE_FOURTH ((uint32_t) 0x00000006)

Quadruplex multiplexing

Definition at line 56 of file lcd.h.

## ◆ LCD_MUX_ONE_SECOND

#define LCD_MUX_ONE_SECOND ((uint32_t) 0x00000002)

Duplex multiplexing

Definition at line 54 of file lcd.h.

## ◆ LCD_MUX_ONE_SIXTH

#define LCD_MUX_ONE_SIXTH ((uint32_t) 0x0000000A)

1/6 duty

Definition at line 58 of file lcd.h.

## ◆ LCD_MUX_ONE_THIRD

#define LCD_MUX_ONE_THIRD ((uint32_t) 0x00000004)

Triplex multiplexing

Definition at line 55 of file lcd.h.

## ◆ LCD_MUX_STATIC

#define LCD_MUX_STATIC ((uint32_t) 0x00000000)

Static multiplexing

Definition at line 53 of file lcd.h.

## ◆ LCD_POWERDOWN_INT

#define LCD_POWERDOWN_INT ((uint32_t) 0x00000002)

Indicate power down interrupt

Definition at line 88 of file lcd.h.