- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
76
10.1.3. Parameter Setting Instructions
To control a 1-bit parameter with the port driver
(Example 1)
Assign PGON (CAT9_Byte36_bit3) to P2 of the port driver, and from High or Low input to P2 (Pin 93),
generate a pattern generator.
• Port input (Low) : Regular images
(CAT9_Byte36_bit3 = 0[h])
• Port input (High) : Display the pattern generator (CAT9_Byte36_bit3 = 1[h])
[Parameter Setting Details]
P2ADJ = 0[h] (PGON is 1-bit parameter. Thus, the coefficient is irrelevant. P1ADJ is set as 0[h].)
P2WID = 0[h]
(PGON is 1-bit parameter. Thus,P2WID is set as 0[h].)
P2Byte = 24h (PGON is the parameter of 36th Byte of CAT9. Thus,P2Byte is set as 24[h].)
* Parameter value is set up by hex decimal. Thus, it changes into 36[d] from 24[h].
P2IOSEL = 0[h] (P2 is set as an input. Thus,P2IOSEL is set as 0[h].)
P2CAT = 9[h] (PGON is the parameter of CAT9. Thus,P2CAT is set as 9[h].)
P2LSB = 3[h] (LSB of PGON is the 3rd bit. Thus,P2LSB is set as 3[h].)
Fig 10.1-2 SETTING IMAGE
■
CAT (P2CAT=9[h])
CAT5
CAT6
CAT7
CAT8
CAT9
CAT10
CAT11
■
Byte (P2BYTE=24[h])
Byte33
Byte34
Byte35
Byte36
Byte37
Byte38
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
■
bit (P2LSB=3[h])
Port Input = Low
(P2WID=0[h])
P2LSB=3[h]
P2WID=0[h]
(CAT9_Byte36_bit3=0[h])
Port Input = High
(CAT9_Byte36_bit3=1[h])