| Electronic Components Datasheet Search |
|
PC87108AVHG Datasheet(PDF) 31 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87108AVHG Datasheet(HTML) 31 Page - National Semiconductor (TI) |
|
31 / 56 page ![]() 3.0 Architectural Description (Continued) 3.5.2 IRCR1 – Infrared Control Register 1 Used to control the timer and counters as well as enable the Sharp-IR or SIR infrared mode in the non-extended mode of opera- tion. Upon reset, all bits are set to 0. B0 TMR__EN – Timer Enable, Extended Mode Only. When this bit is 1, the timer is enabled. When it is 0, the timer is frozen. B1 CTEST – Counters Test. When this bit is set to 1, the TMR register reload value, as well as the TFRL and RFRML register contents are returned during CPU reads. B3–2 IR__SL [1–0] – SIR or Sharp-IR Select, Non-Extended Mode Only. These bits are used to select the appropriate infrared mode when the device is in non-extended mode. They are ignored when extended mode is selected. Bits 3–2 Selected Mode 00 UART 01 Reserved 10 Sharp-IR 11 SIR B7–4 Reserved. Write as 0’s. 3.5.3 LCR/BSR – Link Control/Bank Select Registers These Registers are the same as in bank 0. 3.5.4 TFRL/TFRCC – Transmitter Frame-Length/Current-Count These registers share the same addresses. TFRL is always accessed during write cycles and is used to program the frame length, in bytes, for the frames to be transmitted. The frame length value does not include any appended CRC bytes. TFRL is ac- cessed during read cycles if the CTEST bit is set to 1, and returns the previously programmed value. Values from 1 to 2 13 − 1 can be used. The zero value is reserved and must not be used. TFRCC is loaded with the content of TFRL when transmission of a frame begins, and decrements after each byte is transmitted. It is read-only and is accessed during CPU read cycles when the CTEST bit is 0. It returns the number of currently remaining bytes of the frame being transmitted. These registers are 13 bits wide and are split into two independently accessible parts occupying consecutive address locations. TFRL(L) and TFRCC(L) are lo- cated at the lower address and access the least significant 8 bits, whereas TFRL(H) and TFRCC(H) are located at the higher ad- dress and access the most significant 5 bits. To properly program TFRL, the CPU must always write the lower value into TFRL(L) first, and then the upper value into TFRL (H). The upper 3 bits of TFRL(H) are reserved and must be written with 0’s. In order for a read access of TFRCC to return an accurate value, the CPU should always read TFRCC(L) first, and then TFRCC(H). After re- set, the content of the TFRL register is 800h. 3.5.5 RFRML/RFRCC – Receiver Frame Maximum-Length/Current-Count These registers share the same addresses. RFRML is always accessed during write cycles and is used to program the maximum frame length, in bytes, for the frames to be received. The maximum frame length value includes the CRC bytes. RFRML is ac- cessed during read cycles if the CTEST bit is set to 1, and returns the previously programmed value. Values from 4 to 2 13 − 1 can be used. The values from 0 to 3 are reserved and must not be used. RFRCC holds the current byte count of the incoming frame, and increments after each byte is received. It is read-only and is accessed during CPU read cycles when the CTEST bit is 0. These registers are 13 bits wide and are split into two independently accessible parts occupying consecutive address locations. RFRML(L) and RFRCC(L) are located at the lower address and access the least significant 8 bits, whereas RFRML(H) and RFRCC(H) are located at the higher address and access the most significant 5 bits. To properly program RFRML, the CPU must always write the lower value into RFRML(L) first, and then the upper value into RFRML(H). The upper 3 bits of RFRML(H) are reserved and must be written with 0’s. In order for a read access of RFRCC to return an accurate value, the CPU should always read RFRCC(L) first, and then RFRCC(H). After reset, the content of the RFRML register is 800h. Note: TFRCC and RFRCC are intended for testing purposes only. Use of these registers for any other purpose is not recommended. Bits B7 B6 B5 B4 B3 B2 B1 B0 Function res res res res IR__SL1 IR__SL0 CTEST TMR__EN Reset State 0000 0 0 0 0 FIGURE 20. Infrared Control Register 1 www.national.com 31 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |