주요 콘텐츠

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

장치 드라이버 블록

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

장치 드라이버 블록은 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

도움말 항목