Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8c1342339fc934b243bdbe9ba1c1845fbcd23da4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*******************************************************************************
 * Copyright (c) 2015 QNX Software Systems and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     QNX Software Systems - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.utils.serial;

/**
 * @since 5.8
 */
public enum BaudRate {

	B50(50),
	B75(75),
	B110(110),
	B134(134),
	B150(150),
	B200(200),
	B300(300),
	B600(600),
	B1200(1200),
	B1800(1800),
	B2400(2400),
	B4800(4800),
	B7200(7200),
	B9600(9600),
	B14400(14400),
	B19200(19200),
	B28800(28800),
	B38400(38400),
	B57600(57600),
	B76800(76800),
	B115200(115200),
	B230400(230400);

	private final int rate;
	
	private BaudRate(int rate) {
		this.rate = rate;
	}
	
	public int getRate() {
		return rate;
	}

}

Back to the top