1 c32comm.inl |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef SYMBIAN_C32_SERCOMMS_V2 |
|
17 // PLEASE NOTE: This file is part of Version 2 of C32 - that is, the multi-threaded version. |
|
18 // The single-threaded C32 version of this file is in c32\Version1\SCOMM |
|
19 // All defect fixes should be applied to both versions where appropriate. |
|
20 // PLEASE NOTE: This comment is applicable to SercommsV2 but is surrounded by an "#ifndef" |
|
21 // to enable the automatic removal of this comment once non-C32 V2 code is removed. |
|
22 #endif |
|
23 |
|
24 |
|
25 /** |
|
26 * @file |
|
27 * |
|
28 * implements inline methods of RComm |
|
29 */ |
|
30 |
|
31 inline void RComm::SetSignals(TUint aSetMask, TUint aClearMask) |
|
32 /** Sets or clears RS232 output lines (DTR and RTS). |
|
33 |
|
34 For many applications, these lines will be read and set under driver control |
|
35 as determined by the handshaking options selected. |
|
36 |
|
37 @param aSetMask Set the handshaking lines in the mask. |
|
38 @param aClearMask Clear the handshaking lines in the mask. |
|
39 @publishedAll |
|
40 @released |
|
41 */ |
|
42 { |
|
43 SetSignalsToMark(aSetMask); |
|
44 SetSignalsToSpace(aClearMask); |
|
45 } |