| 数据搜索系统,热门电子元器件搜索 |
|
PSD813F2 数据表(PDF) 74 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PSD813F2 数据表(HTML) 74 Page - STMicroelectronics |
|
74 / 128 page ![]() I/O ports PSD8XXFX 74/128 Doc ID 7833 Rev 7 16.14 Port Data registers The port Data registers, shown in Table 28, are used by the MCU to write data to or read data from the ports. Table 28 shows the register name, the ports having each register type, and MCU access for each register type. The registers are described below. 16.15 Data In Port pins are connected directly to the Data In buffer. In MCU I/O input mode, the pin input is read through the Data In buffer. 16.16 Data Out register Stores output data written by the MCU in the MCU I/O output mode. The contents of the register are driven out to the pins if the Direction register or the output enable product term is set to ’1.’ The contents of the register can also be read back by the MCU. Output macrocells (OMC) The CPLD Output macrocells (OMC) occupy a location in the MCU’s address space. The MCU can read the output of the Output macrocells (OMC). If the OMC Mask register bits are not set, writing to the macrocell loads data to the macrocell flip-flops (see Section 14: PLDS). 16.17 OMC Mask register Each OMC Mask register bit corresponds to an Output macrocell (OMC) flip-flop. When the OMC Mask register bit is set to a 1, loading data into the Output macrocell (OMC) flip-flop is blocked. The default value is 0 or unblocked. 16.18 Input macro (IMC) The input macrocells (IMC) can be used to latch or store external inputs. The outputs of the input macrocells (IMC) are routed to the PLD input bus, and can be read by the MCU (see Section 14: PLDS). Table 28. Port Data registers Register name Port MCU access Data In A,B,C,D READ – input on pin Data Out A,B,C,D WRITE/READ Output macrocell A,B,C READ – outputs of macrocells WRITE – loading macrocells flip-flop Mask macrocell A,B,C WRITE/READ – prevents loading into a given macrocell Input macrocell A,B,C READ – outputs of the input macrocells Enable Out A,B,C READ – the output enable control of the port driver Obsolete Product(s) - Obsolete Product(s) |
|
链接网址 |
| 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 |