PIC32CX2051MTG128 SLCDC registers

The 19 registers of SLCDC (Segment LCD Controller), from 0x40030000, with their reset value and every field. The PIC32CX2051MTG128 has 2875 registers in 60 peripherals, one page each.

SLCDC Segment LCD Controller

SLCDC_CRControl Register

Address
0x40030000
Reset
0x00000000
Access
write only
Size
32-bit
6 fields
FieldBitsWhat it does
FRZKEY15:8Freeze Key (write-only)
  • 78 Writing any other value in this field aborts the write operation of the FRZDF bit or FRZMAP bit. Always reads as 0.
FRZMAP7Freeze Remap Configuration
FRZDF6Freeze Display Panel Features Configuration
SWRST3Software Reset
LCDDIS1Disable LCDC
LCDEN0Enable the LCDC

SLCDC_MRMode Register

Address
0x40030004
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
LPMODE24Low-Power Mode
BIAS21:20LCD Display Configuration
  • 0 Static
  • 1 Bias 1/2
  • 2 Bias 1/3
  • 3 Bias 1/4
BUFTIME19:16Buffer On-Time
  • 0 Nominal drive time is 0% of SLCK period
  • 1 Nominal drive time is 2 periods of SLCK clock
  • 2 Nominal drive time is 4 periods of SLCK clock
  • 3 Nominal drive time is 8 periods of SLCK clock
  • 4 Nominal drive time is 16 periods of SLCK clock
  • 5 Nominal drive time is 32 periods of SLCK clock
  • 6 Nominal drive time is 64 periods of SLCK clock
  • 7 Nominal drive time is 128 periods of SLCK clock
  • 8 Nominal drive time is 50% of SLCK period
  • 9 Nominal drive time is 100% of SLCK period
SEGSEL13:8Selection of the Number of Segments
COMSEL2:0Selection of the Number of Commons
  • 0 COM0 is driven by SLCDC, COM1:7 are driven by digital function
  • 1 COM0:1 are driven by SLCDC, COM2:7 are driven by digital function
  • 2 COM0:2 are driven by SLCDC, COM3:7 are driven by digital function
  • 3 COM0:3 are driven by SLCDC, COM4:7 are driven by digital function
  • 4 COM0:4 are driven by SLCDC, COM5:7 are driven by digital function
  • 5 COM0:5 are driven by SLCDC, COM6:7 are driven by digital function
  • 6 COM0:6 are driven by SLCDC, COM7 driven by digital function
  • 7 COM0:7 are driven by SLCDC, no COM pin driven by digital function

SLCDC_FRRFrame Rate Register

Address
0x40030008
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
DIV10:8Clock Division
  • 0 Clock output from prescaler is divided by 1
  • 1 Clock output from prescaler is divided by 2
  • 2 Clock output from prescaler is divided by 3
  • 3 Clock output from prescaler is divided by 4
  • 4 Clock output from prescaler is divided by 5
  • 5 Clock output from prescaler is divided by 6
  • 6 Clock output from prescaler is divided by 7
  • 7 Clock output from prescaler is divided by 8
PRESC2:0Clock Prescaler
  • 0 Slow clock is divided by 8
  • 1 Slow clock is divided by 16
  • 2 Slow clock is divided by 32
  • 3 Slow clock is divided by 64
  • 4 Slow clock is divided by 128
  • 5 Slow clock is divided by 256
  • 6 Slow clock is divided by 512
  • 7 Slow clock is divided by 1024

SLCDC_DRDisplay Register

Address
0x4003000C
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
LCDBLKFREQ15:8LCD Blinking Frequency Selection
DISPMODE2:0Display Mode Register
  • 0 Normal Mode-Latched data are displayed.
  • 1 Force Off Mode-All pixels are invisible. (The SLCDC memory is unchanged.)
  • 2 Force On Mode-All pixels are visible. (The SLCDC memory is unchanged.)
  • 3 Blinking Mode-All pixels are alternately turned off to the predefined state in SLCDC memory at LCDBLKFREQ frequency. (The SLCDC memory is unchanged.)
  • 4 Inverted Mode-All pixels are set in the inverted state as defined in SLCDC memory. (The SLCDC memory is unchanged.)
  • 5 Inverted Blinking Mode-All pixels are alternately turned off to the predefined opposite state in SLCDC memory at LCDBLKFREQ frequency. (The SLCDC memory is unchanged.)
  • 6 User Buffer Only Load Mode-Blocks the automatic transfer from User Buffer to Display Buffer.
  • 7 Buffer Swap Mode-All pixels are alternatively assigned to the state defined in the User Buffer, then to the state defined in the Display Buffer at LCDBLKFREQ frequency.

SLCDC_SRStatus Register

Address
0x40030010
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
MAPFRZS7Remapping Configuration Freeze Status
DFFRZS6Display Panel Features Configuration Freeze Status
ENA0Enable Status (Automatically Set/Reset)

SLCDC_IERInterrupt Enable Register

Address
0x40030020
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
FieldBitsWhat it does
DIS2Disable Completion Interrupt Enable
ENDFRAME0End of Frame Interrupt Enable

SLCDC_IDRInterrupt Disable Register

Address
0x40030024
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
FieldBitsWhat it does
DIS2Disable Completion Interrupt Disable
ENDFRAME0End of Frame Interrupt Disable

SLCDC_IMRInterrupt Mask Register

Address
0x40030028
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
DIS2Disable Completion Interrupt Mask
ENDFRAME0End of Frame Interrupt Mask

SLCDC_ISRInterrupt Status Register

Address
0x4003002C
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
DIS2Disable Completion Interrupt Status
ENDFRAME0End of Frame Interrupt Status

SLCDC_SMR0Segment Map Register 0

Address
0x40030030
Reset
0x00000000
Access
read/write
Size
32-bit
32 fields
FieldBitsWhat it does
LCD3030LCD Segment Mapped on SEGx I/O Pin
LCD2929LCD Segment Mapped on SEGx I/O Pin
LCD2828LCD Segment Mapped on SEGx I/O Pin
LCD2727LCD Segment Mapped on SEGx I/O Pin
LCD2626LCD Segment Mapped on SEGx I/O Pin
LCD2525LCD Segment Mapped on SEGx I/O Pin
LCD2424LCD Segment Mapped on SEGx I/O Pin
LCD2323LCD Segment Mapped on SEGx I/O Pin
LCD2222LCD Segment Mapped on SEGx I/O Pin
LCD2121LCD Segment Mapped on SEGx I/O Pin
LCD2020LCD Segment Mapped on SEGx I/O Pin
LCD1919LCD Segment Mapped on SEGx I/O Pin
LCD1818LCD Segment Mapped on SEGx I/O Pin
LCD1717LCD Segment Mapped on SEGx I/O Pin
LCD1616LCD Segment Mapped on SEGx I/O Pin
LCD1515LCD Segment Mapped on SEGx I/O Pin
LCD1414LCD Segment Mapped on SEGx I/O Pin
LCD1313LCD Segment Mapped on SEGx I/O Pin
LCD1212LCD Segment Mapped on SEGx I/O Pin
LCD1111LCD Segment Mapped on SEGx I/O Pin
LCD1010LCD Segment Mapped on SEGx I/O Pin
LCD99LCD Segment Mapped on SEGx I/O Pin
LCD88LCD Segment Mapped on SEGx I/O Pin
LCD77LCD Segment Mapped on SEGx I/O Pin
LCD66LCD Segment Mapped on SEGx I/O Pin
LCD55LCD Segment Mapped on SEGx I/O Pin
LCD44LCD Segment Mapped on SEGx I/O Pin
LCD33LCD Segment Mapped on SEGx I/O Pin
LCD22LCD Segment Mapped on SEGx I/O Pin
LCD11LCD Segment Mapped on SEGx I/O Pin
LCD00LCD Segment Mapped on SEGx I/O Pin
LCD3131LCD Segment Mapped on SEGx I/O Pin

SLCDC_WPMRWrite Protection Mode Register

Address
0x400300E4
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
WPCREN2Write Protection Control Enable
WPITEN1Write Protection Interrupt Enable
WPEN0Write Protection Enable
WPKEY31:8Write Protection Key
  • 5459011 Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0.

SLCDC_LMEMR0LSB Memory Register (com = 0)

Address
0x40030200
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR1LSB Memory Register (com = 1)

Address
0x40030208
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR2LSB Memory Register (com = 2)

Address
0x40030210
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR3LSB Memory Register (com = 3)

Address
0x40030218
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR4LSB Memory Register (com = 4)

Address
0x40030220
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR5LSB Memory Register (com = 5)

Address
0x40030228
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR6LSB Memory Register (com = 6)

Address
0x40030230
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal

SLCDC_LMEMR7LSB Memory Register (com = 7)

Address
0x40030238
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
LPIXEL31:0LSB Pixels Pattern Associated to COMx Terminal