172
K
A
DAK
AMX System Configuration
Timing OptionsHardware Clock Frequency
This parameter defines the frequency of the AMX hardware clock in hertz. It is used by
AMX to convert milliseconds to equivalent AMX system ticks. If your hardware clock
frequency is not integral, round the clock frequency to the nearest non-zero integer.
AMX Clock Conversion Factor
The AMX system tick is measured in multiples of hardware clock interrupts. This
parameter specifies the number of hardware clock interrupts required for each system
tick. For example, a 100 Hz clock will generate interrupts at 10 millisecond intervals. If
a 50 ms system tick is required, then this parameter must be set to 5.
Time Slicing Required
If you wish to allow tasks which share a priority level to be time sliced, check this box.
Leave this box unchecked if time slicing of tasks is not required.
If time slicing has been enabled and a task has been defined to have a non-zero time slice,
you will not be able to remove the check from this box. You must first set the time slice
value for all defined tasks to 0. Then you will be able to remove the check from this box,
thereby disabling time slicing.
Use Time/Date Manager
If you wish to include the Time/Date Manager, check this box. Otherwise leave the box
unchecked. Be sure to increase the maximum number of timers in your system by one to
account for the AMX Time/Date timer.
Scheduling Procedure Name
If you use the Time/Date Manager, then you may wish to define a Time/Date Scheduling
Procedure (see Chapter 5.5). This parameter defines that procedure name. If no
procedure is required, leave this field empty (blank).
This field is ignored if the Use Time/Date Manager check box is unchecked.
Note
When entering C procedure and variable names, be sure to
add a leading underscore character ( _ ) to the name if
required for reference from assembly language to symbols
generated by your C compiler.