Main Content

이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.

장치 드라이버 블록

하드웨어 보드의 특정 기능에 액세스하기 위한 장치 드라이버 블록 만들기

장치 드라이버 블록은 Arduino® 하드웨어 보드에 배포될 때 사용자 지정 C/C++ 장치 드라이버 코드를 생성하는 특수한 형태의 MATLAB System 블록입니다. 장치 드라이버 블록을 사용하면 Simulink® Support Package for Arduino Hardware에서 사용할 수 없는 통신 프로토콜이나 하드웨어 라이브러리와 같은 하드웨어 보드 기능에 쉽게 액세스할 수 있습니다.

템플릿 System object™에서 장치 드라이버 블록을 개발한 다음 완성된 블록을 다른 사용자와 공유할 수 있습니다.

함수

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

도움말 항목