deep

a Cross Development Platform for Java

User Tools

Site Tools


runtime_library:drivers:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
runtime_library:drivers:start [2015/04/20 16:20] – [mpc5200] ursgrafruntime_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://api.deepjava.org/runtime-library/|API of the Runtime Library]].+Currently we support the mpc555 and mpc5200 PowerPC processors as well as the Zynq7000 ARM processor. 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://api.deepjava.org/runtime-library/|API of the Runtime Library]].
  
 ===== 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, SCI2.NO_PARITY, (short)8);+  SCI sci2 = SCI.getInstance(SCI.pSCI2); 
 +  sci2.start(9600, SCI.NO_PARITY, (short)8);
   // 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://api.deepjava.org/runtime-library/|API of the Runtime Library]] for available drivers. 
runtime_library/drivers/start.txt · Last modified: 2023/03/23 09:50 by ursgraf