JAJSCX9B November 2016 – February 2019 TAS2559
PRODUCTION DATA.
デバイスごとのパッケージ図は、PDF版データシートをご参照ください。
Internal device flags such as over-current, under-voltage, etc. can be routed as interrupts. The device has 4 interrupts (INT1 - INT4) that can be routed to any of the 10 GPIO pins. If more than one flag is assigned to the same interrupt, the interrupt output is the logical OR-ing of all flags. If multiple flag's are assigned to the same interrupt, the host should then query the flags sticky register to determine which event triggered the interrupt. The 10 GPIO pins can be configured for any interrupt and can be configured using GPIOx_PIN registers.
Flag Description | Sticky Register Bit | Register to Route Flag to Interrupt |
---|---|---|
Over-Current | INT_DET_1[7] (INT_OC) | INT_GEN_1[6:4] (INT_GEN_OC) |
Under-Voltage | INT_DET_1[6] (INT_UV) | INT_GEN_1[2:0] (INT_GEN_OV) |
Over-Temperature | INT_DET_1[4] (INT_OT) | INT_GEN_2[2:0] (INT_GEN_OT) |
Brownout | INT_DET_1[3] (INT_BO) | INT_GEN_3[6:4] (INT_GEN_BO) |
Clock Lost | INT_DET_1[2] (INT_CL) | INT_GEN_4[2:0] (INT_GEN_CL) |
SAR Complete | INT_DET_1[1] (INT_SC) | INT_GEN_4[6:4] (INT_GEN_SC) |
Clock Error 1 | INT_DET_2[3] (INT_CE1) | INT_GEN_2[6:4] (INT_GEN_CE1) |
Clock Error 2 | INT_DET_2[2] (INT_CE2) | INT_GEN_3[3:0] (INT_GEN_CE2) |
For example, to route the brownout and under-voltage flags to GPIO5 (Pin IRQ_GPIO5) the following register settings would be used. The brownout flag would be routed to INT1 by setting INT_GEN_BO=001, and under-voltage flag would also be routed to INT1 by setting INT_GEN_OV=001. The pin IRQ_GPIO4 would be set to use INT1 by setting GP4_OUT=0x07