| Embedded IDE Link™ CC | ![]() |
enable(rx,'channel')
enable(rx,'all')
enable(rx)
enable(rx,'channel') enables the open channel specified by the string channel, for RTDX link rx. The input argument rx represents the RTDX portion of the associated link to CCS IDE.
enable(rx,'all') enables all the open channels associated with rx.
enable(rx) enables the RTDX interface for rx.
On the target side, enable depends on RTDX to enable channels. Therefore the you must meet the following requirements to use enable:
The target must be running a program when you enable the RTDX interface. When the target is not running, the state defaults to disabled.
You must enable the RTDX interface before you enable individual channels.
Using code in the program running on the target to enable channels overrides the default disabled state of the channels.
To use channels to RTDX, you must both open and enable the channels:
cc = ticcs; % Create a new connection to the IDE.
enable(cc.rtdx) % Enable the RTDX interface.
open(cc.rtdx,'inputchannel','w') % Open a channel for sending
% data to the target processor.
enable(cc.rtdx,'inputchannel') % Enable the channel so you can use
% it.
![]() | display | equivalent | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |