This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
runtime_library:drivers:start [2015/04/20 16:20] – [mpc5200] ursgraf | runtime_library:drivers:start [2020/12/10 19:06] – [Device Drivers] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Device Drivers ====== | ====== Device Drivers ====== | ||
- | Currently we support the mpc555 and mpc5200 PowerPC processors. They differ in their core features as well as in their built-in peripherals. Both are rich in built-in peripheral modules. In order to facilitate the use of those modules the runtime system offers a lot of software drivers. In the following sections there are short descriptions of drivers available. Details about a specific driver and its use can be found [[http:// | + | Currently we support the mpc555 and mpc5200 PowerPC processors |
===== mpc555 ===== | ===== mpc555 ===== | ||
Line 16: | Line 16: | ||
<code java> | <code java> | ||
// 1) Initialize SCI2 (9600 Bd, 8N1) | // 1) Initialize SCI2 (9600 Bd, 8N1) | ||
- | | + | |
+ | sci2.start(9600, | ||
// 2) Use SCI2 for stdout | // 2) Use SCI2 for stdout | ||
- | System.out = new PrintStream(SCI2.out); | + | System.out = new PrintStream(sci2.out); |
// 3) Redirect stderr to stdout (optional) | // 3) Redirect stderr to stdout (optional) | ||
System.err = System.out; | System.err = System.out; | ||
Line 54: | Line 55: | ||
===== mpc5200 ===== | ===== mpc5200 ===== | ||
- | Please check the API for available drivers. | + | Please check the [[http:// |