| Electronic Components Datasheet Search |
|
TMP88CS43FG Datasheet(PDF) 61 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP88CS43FG Datasheet(HTML) 61 Page - Toshiba Semiconductor |
|
61 / 218 page ![]() Page 51 TMP88CS43FG 5.7 Port P6 (P67 to P60) Port P6 is an 8-bit input/output port shared with AD converter analog input. This port is switched between input and output modes using the P6 port input/output control register (P6CR), P6 port output latch (P6DR), and ADC- CRA<AINDS>. When reset, the P6CR Register and the P6DR output latch are initialized to 0 while ADC- CRA<AINDS> is set to 1, so that P67 to P60 have their inputs fixed low (= 0). When using the P6 port as an input port, set the corresponding bits for input mode (P6CR = 0, P6DR = 1). The reason why the output latch = 1 is because it is necessary to prevent current from flowing into the shared data input circuit. When using the port as an output port, set the P6CR Register's corresponding bits to 1. When using the port for analog input, set the corre- sponding bits for analog input (P6CR = 0, P6DR = 0). Then set ADCCRA<AINDS> = 0, and AD conversion will start. The ports used for analog input must have their output latches set to 0 beforehand. The actual input channels for AD conversion are selected using ADCCRA<SAIN>. Although the bits of P6 port not used for analog input can be used as input/output ports, do not execute output instructions on these ports during AD conversion. This is necessary to maintain the accuracy of AD conversion. Also, do not apply rapidly changing signals to ports adjacent to analog input during AD conversion. If an input instruction is executed while the P6DR output latch is cleared to 0, data “0” is read in from said bits. Figure 5-8 Port P6 Data input (P6) Data output (P6) STOP AINDS SAIN P6CRi P6CRi input P6i Note 1: i = 7 to 0 Note 2: STOP exists in SYSCR1 register bit 7. Note 3: SAIN selects AD input channels. D Q D Q Analoginput |
|
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 |