Download CodeWarrior Plug-in for Freescale HCS12/HCS12X Processor
Transcript
Processor Expert User Manual User Interface In the case of interval settings type, the % of low limit (percentage of the low limit value) can be used as the unit for this value. Minimal timer ticks Note: This item is available only for setting of period in components where it's meaningful (e.g. PWM, PPG). This item allows to set a minimal number of timer-ticks in period. It means that it will be possible to set a duty of the output signal to at least the specified number of distinct values for any period of the output signal at runtime. Value 0 means no requirements for the timer settings. Adjusted values This table displays a real values for each speed mode the currently selected row in the Timing values table. These values are computed from the chosen on-chip peripheral settings, selected prescaler(s) value and the difference between a value selected by the user and the real value. Status box The status box displays a status of the timing setting(s). If the timing requirements are impossible to meet, a red error message is displayed, otherwise it's blank and gray. Possible settings table This table is displayed on the right part of the timing dialog if the the button Possible settings on the top is pressed. The table shows values supported by the target CPU for the selected peripheral. If there are only individual values available to set, the table contains a list of values - each row represents one value. If there are intervals with a constant step available, each row contains one of the intervals with three values: From, Till - minimum and maximum value, Step - a step between values within the interval. The way the values are displayed may be dependent on • Runtime setting type - if it's "fixed value" or "from list of values" - the values present in more rows (overlapping intervals) are shown only once. If the "from time interval" runtime setting type is used, all intervals possible to set by various prescalers combinations are shown, even if they overlap. It's because intervals can differ in resolution (i.e. number of individual timing steps that can be achieved within them). • Timing unit - if a frequency unit is used (e.g. Hz, kHz), the step column is not visible By clicking on the table header, there is possible to order the rows by the selected column. By clicking the same column again, the user can switch between ascending or descending order. Double clicking on a value will place the value into the currently edited row within the Timing values table. The values listed in the possible settings table depend on the following timing settings: • prescalers • minimal timer ticks and it also depend on • selected CPU • selected peripheral • speed-modes enabled for the component The table contains a speed mode tabs (speed modes and related settings are supported only in EXPERT view - 49 -