| 전자부품 데이터시트 검색엔진 |
|
TC35680FSG 데이터시트(PDF) 39 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TC35680FSG 데이터시트(HTML) 39 Page - Toshiba Semiconductor |
|
39 / 91 page ![]() TC35680FSG-002/TC35681FSG-002 39 2019-04-04 General-purpose Output Function The general-purpose output of a GPIO pin is enabled by the API or the corresponding register in Table 4-3 when the function 0 in Table 2-2 is assigned to the pin. The output data can be set to a GPIO pin, or to multiple pins at once, using the register described in Table 4-3. The output settings of the pin and the output data are held even after this device enters a low power mode. I/O Latch Function When TC35680/TC35681 enter a low power mode such as the Sleep mode, the Backup mode, or the Deep Sleep mode, the devices latch the setting data of the GPIO pins which are described in Section 4.6.2. This function is also done when another multiplexed function is set to the GPIO pin. The latch data is initialized by the hardware reset. Interrupt Function 4.6.6.1. Interrupt in Active Mode Every GPIO pin can be set to receiving an external interrupt request. The setting method and others are shown in Table 4-4. One of the following detections of the interrupt request can be assigned to the pin. Edge detection of the interrupt request (a rising edge, a falling edge, or both edges) Level detection of the interrupt request (High level or Low level) Interrupt disable (No detection) The initial setting is “Interrupt disable”. Proper API’s can set the interrupt and get the interrupt cause. It is unnecessary to control the corresponding register directly. TC35680/TC35681 do not detect the interrupt request during a transition to low power mode. Table 4-4 Getting interrupt cause, clearing, and Call-back function Item Setting method API Register Interrupt setting SYS_API_SetGpioCfgReg GPIO_CFG Getting interrupt cause The information of the generated GPIO interrupt is sent to the argument in the call-back function which is registered by a user. SYS_API_HwGpioIntHandlerInstall should be used. — Interrupt cause clear The factor is cleared automatically by the built-in firmware. — Call-back function SYS_API_HwGpioIntHandlerInstall — |
|
링크 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 |