|
MC68331CEH16 Datasheet, PDF (75/84 Pages) Freescale Semiconductor, Inc – 32-Bit Modular Microcontroller | |||
|
◁ |
Freescale Semiconductor, Inc.
6.4 GPT Registers
GPTMCR â GPT Module Configuration Register
$YFF900
15
14
13
12
11
10
9
8
7
6
5
4
3
0
STOP FRZ1 FRZ0 STOPP INCP 0
0
0 SUPV 0
0
0
IARB
RESET:
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
The GPTMCR contains parameters for configuring the GPT.
STOP â Stop Clocks
0 = Internal clocks not shut down
1 = Internal clocks shut down
FRZ1 â Not implemented at this time
FRZ0 â FREEZE Response
0 = Ignore FREEZE
1 = FREEZE the current state of the GPT
STOPP â Stop Prescaler
0 = Normal operation
1 = Stop prescaler and pulse accumulator from incrementing. Ignore changes to input pins.
INCP â Increment Prescaler
0 = Has no meaning
1 = If STOPP is asserted, increment prescaler once and clock input synchronizers once.
SUPV â Supervisor/Unrestricted Data Space
0 = Registers with access controlled by SUPV bit are accessible from either user or supervisor priv-
ilege level.
1 = Registers with access controlled by SUPV bit are restricted to supervisor access only.
IARB â Interrupt Arbitration Field
The IARB field is used to arbitrate between simultaneous interrupt requests of the same priority. Each
module that can generate interrupt requests must be assigned a unique, non-zero IARB field value. Re-
fer to 3.8 Interrupts for more information.
MTR â GPT Module Test Register (Reserved)
$YFF902
This address is currently unused and returns zeros if read. It is reserved for GPT factory test.
ICR â GPT Interrupt Configuration Register
$YFF904
15
12
11
10
8
7
4
3
2
1
0
IPA
0
IPL
IVBA
0
0
0
0
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
IPA â Interrupt Priority Adjust
Specifies which GPT interrupt source is given highest internal priority
IPL â Interrupt Priority Level
Specifies the priority level of interrupts generated by the GPT.
IVBA â Interrupt Vector Base Address
Most significant nibble of interrupt vector number generated by the GPT when an interrupt service re-
quest is acknowledged.
MC68331TS/D
For More Information On This Product,
75
Go to: www.freescale.com
|
▷ |