|
|
|
Bean
Init_PIT for HCS12X
|
Periodic Interrupt Timer (PIT)
Parameters of the bean.
|
Properties:
-
Bean name - Name of the bean.
-
Settings - Common PIT module settings.
-
List of PIT timers - List of PIT timers.
One item of the list looks like:
Timer - A PIT timer.
-
Device - Selection of a PIT timer.
-
Enable Timer - Enable/Disable one Timer of a PIT module.
This item modifies the PCEx bit in the PITCE register.
-
Timer is connected to - Select of the corresponding micro time base.
This item modifies the PMUXx bits in the PITMUX register.
-
Timer Load register - Modulus down counter value of the Timer x.
This item modifies the PITLDx register.
-
Frequency of Timer - Frequency. This item is influenced by the following properties: Timer Load register, Micro Timer 0 Load register or Micro Timer 1 Load register.
-
Interrupt - Timer out interrupt settings.
-
Timer out interrupt - Enable/disable Timer out interrupt.
This item modifies the PITINTEx bit in the PITINTE register.
-
Interrupt - Interrupt vector (for information only).
-
Priority - Priority of timer out interrupt.
-
ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
Note: The routine must handle all interrupt flags correctly. The routine must be implemented in the user code, it is not generated by Processor Expert. Find external prototypes of the ISRs in the bean module header file.
-
Initialization - Initialization options of the module.
-
Call Init in CPU init. code - The Init method of the bean may be called after power-on or reset (in initialization code) by PE.
yes - The Init method is called by PE.
no - The Init method is not called by PE, it should be called in user's code.
-
PIT periphery - PIT periphery enable.
This item modifies the PITE bit in the PITCFLMT register.
|
|
|
Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.
|
|
|