| поискавой системы для электроныых деталей |
|
ST20-GP6 датащи(PDF) 95 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 датащи(HTML) 95 Page - STMicroelectronics |
|
95 / 123 page ![]() ST20-GP6 95/123 16.1.2 PIO bit configuration register The PC1 register is used to configure each of the PIO port bits as an input or output. Writing a 0 configures the bit as an input, a 1 configures the bit as an output. 16.1.3 PIO Input compare and Compare mask registers The Input compare register ( PComp) holds the value to which the input data from the PIO ports pins will be compared. If any of the input bits are different from the corresponding bits in the PComp register and the corresponding bit position in the PIO Compare mask register (PMask)is set to 1, then the internal interrupt signal for the port will be set to 1. The compare function is sensitive to changes in levels on the pins and so the change in state on the input pin must be greater in duration than the interrupt response time for the compare to be seen as a valid interrupt by an interrupt service routine. Note that the compare function is operational in all configurations for a PIO bit including the alter- nate function modes. PC1 PIO port base address + #30 Read/Write Bit Bit field Function 7:0 ConfigData7:0 Configures the PIO bit as an input or an output. 0 input 1 output Table 16.3 PC1 register format PComp PIO base address + #50 Read/Write Bit Bit field Function 7:0 PComp7:0 Bit 0 to 7 value to which the input data from the PIO port pins will be compared. Table 16.4 PComp register format - 1 register per port PMask PIO base address + #60 Read/Write Bit Bit field Function 7:0 PMask7:0 When set to 1, the compare function for the internal interrupt for the port is enabled. If the respective bit (0 to 7) of the input is different to the respective PComp7:0 bit in the PComp register, then an interrupt is generated. Table 16.5 PMask register format |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |