|
|
|
Bean
SynchroMaster
|
Master for synchronous serial communication
Parameters of the bean.
|
Properties:
-
Bean name - Name of the bean.
-
Channel - Channel used for a serial synchronous communication.
-
Interrupt service/event - Bean may or may not be implemented using interrupts.
-
Interrupt - Special interrupt generated by the communication process.
-
Interrupt from input - Interrupt from the serial receiver.
-
Interrupt input priority - Receiver interrupt priority.
-
Interrupt from output - Interrupt from serial transmitter.
-
Interrupt output priority - Transmitter interrupt priority.
-
Input buffer size - Input buffer size in characters.
DMA mode:
If DMA controller is available on the selected CPU and receiver is configured to use DMA controller then this property is disabled (read-only). The input buffer has to be allocated by user and it is specified in RecvBlock method.
-
Output buffer size - Output buffer size in characters.
DMA mode:
If DMA controller is available on the selected CPU and transmitter is configured to use DMA controller then this property is disabled (read-only). The output buffer has to be allocated by user and it is specified in SendBlock method.
-
Settings - Common bean settings.
-
Settings for HCS12, HCS12X and HCS08 derivatives.
-
Bidirectional mode - Allows enabling/disabling a bidirectional mode. If bidirectional mode enabled, only output pin is used for the communication. If it is disabled, both input and output pins are used.
-
Input pin - Group of properties for input signal.
-
Pin - Input pin for data.
-
Pin signal - Signal name of an input pin.
-
Output pin - Group of properties for output signal.
-
Pin - Output pin for data.
-
Pin signal - Signal name of an output pin.
-
Clock pin - Group of properties for clock signal.
-
Pin - Output pin for the clock.
-
Pin signal - Signal name of the clock pin.
-
Slave select pin - Allows enabling or disabling of the Select slave pin signal - available when supported by HW.
-
Pin - Pin reserved for the selection of Master/Slave mode.
-
Pin signal - Signal name of the slave select pin.
-
Direction - Allows selecting of the Select slave pin signal direction - available when supported by HW.
-
Clock edge - Shift edge of the clock signal. Output data will be shifted on the selected edge polarity.
There are 6 options:
- rising or falling edge: One of the following edge type will be selected: rising or falling
- rising edge: Rising edge required
- falling edge: Falling edge required
- both edges: Both edges (rising and falling) required
- high level: High level of the signal
- low level: Low level of the signal
-
Shift clock rate - Communication shift clock rate. It is necessary to enter a value and an unit (see Timing Setting Syntax). The setting can be made with a help of the Timing dialog box that opens when clicking on button
(...).
-
Empty character - A character being sent when no data are ready to be transmitted.
-
Ignore empty char. - When an empty character is received, it is ignored.
-
Send MSB first - Order in which bits are transmitted (MSB: most significant bit, LSB: less significant bit).
-
Settings for HC08, HCS08, HCS12, HCS12X and 56800 derivatives.
-
Shift clock idle polarity - If the communication does not run, the clock signal will be set to selected level either low or high.
-
Fault mode - Enables/Disables the fault mode. If enabled, a mode fault error may invoke OnFault event. If enabled, the Enable method is generated always. This setting depends on enabling/disabling of the Slave select pin and on selecting the Slave select pin direction as well.
When the mode fault error occurs, the bean is automatically disabled. Use Enable method to re-enable it.
-
Settings for HCS08, HCS12X and HCS12 derivatives.
-
Stop in wait mode - If this property is set to 'yes', the power of the device is allowed to be down in Wait mode and the power consumption of MCU will reduce.
-
Initialization - Initial settings (after power-on or reset).
-
CPU clock/speed selection - Settings for the CPU speed modes: identifies whether the bean is supported or not.
For details about speed modes please refer to page Speed Modes Support.
|
|
|
Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.
|
|
|