Main Content

Gerätetreiber-Blöcke

Erstellen eines Gerätetreiber-Blocks, um auf bestimmte Funktionen der Hardwareplatine zuzugreifen

Ein Gerätetreiber-Block ist eine spezielle Form des MATLAB System-Blocks, der benutzerdefinierten C/C++ Gerätetreibercode generiert, wenn er auf einer Arduino®-Hardwareplatine bereitgestellt wird. Gerätetreiber-Blöcke bieten einfachen Zugriff auf Hardwareplatinen-Funktionen wie Kommunikationsprotokolle oder Hardware-Bibliotheken, die nicht im Simulink®-Supportpaket für Arduino-Hardware enthalten sind.

Sie können einen Gerätetreiber-Block aus einer System object™-Vorlage entwickeln und den resultierenden Block mit anderen Benutzern teilen.

Funktionen

arduino.supportpkg.getAVRLibraryRootGet Arduino AVR library root directory path
arduino.supportpkg.getAVRRootGet Arduino AVR file root path
arduino.supportpkg.getBoardInfoGet properties of Arduino board in active Simulink model
arduino.supportpkg.getIDERootGet Arduino IDE file root path
arduino.supportpkg.getLibraryRootGet Arduino library root directory path
arduino.supportpkg.getSAMDLibraryRootGet Arduino SAMD library root directory path
arduino.supportpkg.getSAMDRootGet Arduino SAMD file root path
arduino.supportpkg.getSAMLibraryRootGet Arduino SAM library root directory path
arduino.supportpkg.getSAMRootGet Arduino SAM file root path

Themen