JAJSD19B August 2015 – February 2019 TAS2555
PRODUCTION DATA.
デバイスごとのパッケージ図は、PDF版データシートをご参照ください。
Internal device flags such as overcurrent, under-voltage, etc can be routed as interrupts. The device has 4 interrupts 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 flags 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 B0_P1_R61 thru B0_P1_R70.
Flag Name | Flag Description | Sticky Register Bit | Register to Route Flag to Interrupt |
---|---|---|---|
Flag 1 | Over Current | B0_P0_R104[7] | B0_P1_R108[6:4] |
Flag 2 | Under Voltage | B0_P0_R104[6] | B0_P1_R108[2:0] |
Flag 3 | Clock Error Detection 1 | B0_P0_R104[5] | B0_P1_R109[6:4] |
Flag 4 | Over Temperature | B0_P0_R104[4] | B0_P1_R109[2:0] |
Flag 5 | Brownout | B0_P0_R104[3] | B0_P1_R110[6:4] |
Flag 6 | Clock Error Detection 2 | B0_P0_R104[2] | B0_P1_R110[2:0] |
Flag 7 | SAR Complete | B0_P0_R104[1] | B0_P1_R111[6:4] |
For example, to route the Brownout and Under Voltage flags to GPIO5 (Pin IRQ_GPIO5) the following register settings would be used. The flag Brownout would be routed to Interrupt 1 by setting B0_P1_R110[6:4]=001 and flag Under Voltage would be also routed to interrupt 1 by setting B0_P1_R108[2:0]=001. The pin IRQ_GPIO5 would be set to use interrupt 1 by setting B0_P1_R64[4:0]=0x07