| 전자부품 데이터시트 검색엔진 |
|
PCF2116CU/12 데이터시트(PDF) 27 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCF2116CU/12 데이터시트(HTML) 27 Page - NXP Semiconductors |
|
27 / 64 page ![]() 1997 Apr 07 27 Philips Semiconductors Product specification LCD controller/drivers PCF2116 family 9.6.3 G Controls the VLCD voltage generator characteristic. 9.7 Set CGRAM address ‘Set CGRAM address’ sets bit 0 to 5 of the CGRAM address (ACG in Table 3) into the Address Counter (binary A[5] to A[0]). Data can then be written to or read from the CGRAM. Only bits 0 to 5 of the CGRAM address are set by the ‘Set CGRAM address’ instruction. Bit 6 can be set using the ‘Set DDRAM address’ instruction or by using the auto-increment feature during CGRAM write. All bits 0 to 6 can be read using the ‘Read busy flag and address’ instruction. 9.8 Set DDRAM address ‘Set DDRAM address’ sets the DDRAM address (ADD in Table 3) into the Address Counter (binary A[6] to A[0]). Data can then be written to or read from the DDRAM. Hexadecimal address ranges. 9.9 Read busy flag and address ‘Read busy flag and address’ reads the Busy Flag (BF). BF = logic 1 indicates that an internal operation is in progress. The next instruction will not be executed until BF = logic 0, so BF should be checked before sending another instruction. At the same time, the value of the Address Counter (AC in Table 3) expressed in binary A[6] to A[0] is read out. The Address Counter is used by both CGRAM and DDRAM, and its value is determined by the previous instruction. 9.10 Write data to CGRAM or DDRAM Writes binary 8-bit data D[7] to D[0] to the CGRAM or the DDRAM. Whether the CGRAM or DDRAM is to be written into is determined by the previous specification of CGRAM or DDRAM address setting. ADDRESS FUNCTION 00 to 4F 1-line by 24; 2114x/2116x 00 to 0B and 0C to 4F 2-line by 12; 2114x 00 to 27 and 40 to 67 2-line by 24; 2114x/2116x 00 to 13, 20 to 33, 40 to 53 and 60 to 73 4-line by 12; 2114x/2116x After writing, the address automatically increments or decrements by 1, in accordance with the entry mode. Only bits D[4] to D[0] of CGRAM data are valid, bits D[7] to D[5] are ‘don’t care’. 9.11 Read data from CGRAM or DDRAM Reads binary 8-bit data D[7] to D[0] from the CGRAM or DDRAM. The most recent ‘Set address’ instruction determines whether the CGRAM or DDRAM is to be read. The ‘Read data’ instruction gates the content of the data register (DR) to the bus while E = HIGH. After E goes LOW again, internal operation increments (or decrements) the AC and stores RAM data corresponding to the new AC into the DR. Remark: the only three instructions that update the data register (DR) are: • ‘Set CGRAM address’ • ‘Set DDRAM address’ • ‘Read data’ from CGRAM or DDRAM. Other instructions (e.g. ‘Write data’, ‘Cursor/Display shift’, ‘Clear display’, ‘Return home’) will not modify the data register content. 10 INTERFACE TO MICROCONTROLLER (PARALLEL INTERFACE) The PCF2116 can send data in either two 4-bit operations or one 8-bit operation and can thus interface to 4-bit or 8-bit microcontrollers. In 8-bit mode data is transferred as 8-bit bytes using the 8 data lines DB0 to DB7. Three further control lines E, RS, and R/W are required. In 4-bit mode data is transferred in two cycles of 4-bits each. The higher order bits (corresponding to DB4 to DB7 in 8-bit mode) are sent in the first cycle and the lower order bits (DB0 to DB3 in 8-bit mode) in the second. Data transfer is complete after two 4-bit data transfers. It should be noted that two cycles are also required for the Busy Flag check. 4-bit operation is selected by instruction. See Figs 18, 19 and 20 for examples of bus protocol. In 4-bit mode pins DB3 to DB0 must be left open-circuit. They are pulled up to VDD internally. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |