English
Language : 

S912XHY128F0VLM Datasheet, PDF (305/802 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Voltage Regulator (S12VREGL3V3V1)
9.3.2.3 Autonomous Periodical Interrupt Control Register (VREGAPICL)
The VREGAPICL register allows the configuration of the VREG_3V3 autonomous periodical interrupt
features.
0x02F2
R
W
Reset
7
6
0
APICLK
5
4
3
2
1
0
APIES
APIEA
APIFE
APIE
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 9-3. Autonomous Periodical Interrupt Control Register (VREGAPICL)
0
APIF
0
Table 9-6. VREGAPICL Field Descriptions
Field
7
APICLK
4
APIES
3
APIEA
2
APIFE
1
APIE
0
APIF
Description
Autonomous Periodical Interrupt Clock Select Bit — Selects the clock source for the API. Writable only if
APIFE = 0; APICLK cannot be changed if APIFE is set by the same write operation.
0 Autonomous periodical interrupt clock used as source.
1 Bus clock used as source.
Autonomous Periodical Interrupt External Select Bit — Selects the waveform at the external pin.If set, at the
external pin a clock is visible with 2 times the selected API Period (Table 9-10). If not set, at the external pin will
be a high pulse at the end of every selected period with the size of half of the min period (Table 9-10). See device
level specification for connectivity.
0 At the external periodic high pulses are visible, if APIEA and APIFE is set.
1 At the external pin a clock is visible, if APIEA and APIFE is set.
Autonomous Periodical Interrupt External Access Enable Bit — If set, the waveform selected by bit APIES
can be accessed externally. See device level specification for connectivity.
0 Waveform selected by APIES can not be accessed externally.
1 Waveform selected by APIES can be accessed externally, if APIFE is set.
Autonomous Periodical Interrupt Feature Enable Bit — Enables the API feature and starts the API timer
when set.
0 Autonomous periodical interrupt is disabled.
1 Autonomous periodical interrupt is enabled and timer starts running.
Autonomous Periodical Interrupt Enable Bit
0 API interrupt request is disabled.
1 API interrupt will be requested whenever APIF is set.
Autonomous Periodical Interrupt Flag — APIF is set to 1 when the in the API configured time has elapsed.
This flag can only be cleared by writing a 1 to it. Clearing of the flag has precedence over setting.
Writing a 0 has no effect. If enabled (APIE = 1), APIF causes an interrupt request.
0 API timeout has not yet occurred.
1 API timeout has occurred.
MC9S12XHY-Family Reference Manual Rev. 1.01
Freescale Semiconductor
305