| 전자부품 데이터시트 검색엔진 |
|
NRF52805-CAAA-R7 데이터시트(PDF) 104 Page - Nordic Semiconductor |
|
|
|||||||||||||||||||||||||||||
NRF52805-CAAA-R7 데이터시트(HTML) 104 Page - Nordic Semiconductor |
|
104 / 358 page ![]() Peripherals GPIO port PIN31 PIN0 PIN31 PIN[31].CNF PIN[31].IN PIN[31].OUT PIN0 PIN[0].CNF PIN[0].IN PIN[0].OUT .. PIN0 PIN[0].OUT PIN[0].IN IN Sense OUT_OVERRIDE DIR_OVERRIDE PIN0.DETECT OUT O I O: output buffer I: input buffer PIN[0].CNF.INPUT PIN[0].CNF.PULL PIN[0].CNF.DRIVE PIN[0].CNF.SENSE PIN[0].CNF.DIR INPUT_OVERRIDE ANAIN ANAEN PIN1.DETECT PIN31.DETECT LATCH LDETECT DETECT DETECTMODE Figure 33: GPIO port and the GPIO pin details Pins should be in a level that cannot trigger the sense mechanism before being enabled. If the SENSE condition configured in the PIN_CNF registers is met when the sense mechanism is enabled, the DETECT signal will immediately go high. A PORT event is triggered if the DETECT signal was low before enabling the sense mechanism. See GPIOTE — GPIO tasks and events on page 110. See the following peripherals for more information about how the DETECT signal is used: • POWER — Power supply on page 46 - uses the DETECT signal to exit from System OFF mode. • GPIOTE — GPIO tasks and events on page 110 - uses the DETECT signal to generate the PORT event. When a pin's PINx.DETECT signal goes high, a flag is set in the LATCH register. For example, when the PIN0.DETECT signal goes high, bit 0 in the LATCH register is set to 1. If the CPU performs a clear operation on a bit in the LATCH register when the associated PINx.DETECT signal is high, the bit in the LATCH register will not be cleared. The LATCH register will only be cleared if the CPU explicitly clears it by writing a 1 to the bit that shall be cleared, i.e. the LATCH register will not be affected by a PINx.DETECT signal being set low. The LDETECT signal will be set high when one or more bits in the LATCH register are 1. The LDETECT signal will be set low when all bits in the LATCH register are successfully cleared to 0. If one or more bits in the LATCH register are 1 after the CPU has performed a clear operation on the LATCH register, a rising edge will be generated on the LDETECT signal. This is illustrated in DETECT signal behavior on page 105. Note: The CPU can read the LATCH register at any time to check if a SENSE condition has been met on any of the GPIO pins. This is still valid if that condition is no longer met at the time the CPU queries the LATCH register. This mechanism will work even if the LDETECT signal is not used as the DETECT signal. The LDETECT signal is by default not connected to the GPIO port's DETECT signal, but via the DETECTMODE register. It is possible to change from default behavior to the DETECT signal that is derived directly from the LDETECT signal. See GPIO port and the GPIO pin details on page 104. The following figure illustrates the DETECT signal behavior for these two alternatives. 4454_187 v1.2 104 |
|
링크 URL |
| 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 |