RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
451
innovators for industry
Ctrl Command set_max_counts
Function
defines the maximum number of external list starts
Call
set_max_counts( Counts )
Parameter
Counts
maximum number of external list starts as an unsigned 32-bit value.
Allowed range: [0 … (2
32
–
1)]
Comments
• When the specified number of external list starts has been reached, the external start
input is disabled (see
, bit#0 = 0).
• If
Counts
= 0, the number of external list starts is unlimited.
• When the RTC
®
),
Counts
is set to 0.
• The current number of successful external list starts can be read from the corresponding
internal counter with the command
. The counter can be reset via
.
RTC
®
4
RTC
®
5 unchanged functionality (except for the extended range of values)
References
Ctrl Command set_mcbsp_freq
Function
sets the McBSP interface’s transmission frequency.
Call
mcbsp_freq = set_mcbsp_freq( Freq )
Parameter
Freq
desired transmission frequency of the McBSP interface in Hz
as an unsigned 32-bit value;
Allowed range: [4000000 … 16000000] (4 … 16 MHz)
(value overflows cause 0 to be returned and the
RTC5_PARAM_ERROR
to be generated)
Result
the actually set frequency in Hz as an unsigned 32-bit value
Comments
• The default transmission frequency (after initialization) is 8 MHz (
Freq
= 8,000,000).
• Because not every arbitrary frequency can be implemented, the command returns the
actually set frequency.
Example:
mcbsp_freq = set_mcbsp_freq(7,000,000);
returns
mcbsp_freq =
7,2000,000
.
• The new transmission frequency only becomes effective when you re-initialize the
McBSP interface via the command
• The signals and operating conditions of the McBSP interface are presented in the
section "McBSP Interface" on page 52
.
• Note: The receiving frequency is exclusively determined by the incoming clock pulses
and has a maximum limit of 16 MHz.
RTC
®
4
RTC
®
5 new command
Version info
Available beginning with version DLL 531, OUT 532
References
,
,