| Electronic Components Datasheet Search |
|
MB91155 Datasheet(PDF) 36 Page - fujitsu semiconductor |
|
|
|||||||||||||||||||||||||||||
MB91155 Datasheet(HTML) 36 Page - fujitsu semiconductor |
|
36 / 105 page ![]() MB91F155A/MB91155/MB91154 36 s s s s PERIPHERAL RESOURCES 1. I/O Port (1) Port Block Diagram This LSI is available as an I/O port when the resource associated with each pin is set not to use a pin for input/ output. The pin level is read from the port (PDR) when it is set for input. When the port is set for output, the value in the data register is read. The same also applies to reload by read modify write. When switching from input to output, output data is set in the data register beforehand. However, if a read modify write instruction (such as bit set) is used at that time, keep in mind that it is the input data from the pin that is read, not the latch value of the data register. • Basic I/O Port Figure PORT-1 Basic port block The I/O port consists of the PDR (Port Data Register) and the DDR (Data Direction Register) . Notes : AIC controls switching between the resource and port of the analog pin (A/D) . AICK (Analog Input Control register on port-K) The register controls whether port K should be used for analog input or as a general-purpose port. 0 : General-purpose port 1 : Analog input (A/D) In input mode (DDR = “0”) → PDR read : Reads the level of the corresponding external pin. PDR write : Writes the set value to the PDR. In output mode (DDR = “1”) → PDR read : Reads the PDR value. PDR write : Outputs the PDR value to the corresponding external pin. Data bus PDR read 0 1 0 1 pin PDR DDR PDR : Port Data Register DDR : Data Direction Register Resource input Resource output Resource output allowed |
|
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 |