11.07.2015 Views

MPLAB C30

MPLAB C30

MPLAB C30

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

經 常 需 要 參 考 的 <strong>C30</strong> 目 錄●support\Peripheral_24F\p −−−內 含 使 用 各 周 邊 Library 時 需 要 的header file例 如 uart.h or spi.hPIC24F_periph_features.h 是 個 重 要 的檔 案 , 其 定 義 了 每 一 不 同 的 MCU 型 號 的周 邊 為 那 一 個 Version. 以 便 各 周 邊 的header file 能 正 確 定 義 參 數●參 數 連 接 方 式 的 改 變 也 由 此 header file 控制 , 只 要 將 檔 案 中 #define USE_AND_OR的 註 解 去 掉 , 就 能 將 預 設 用 & 連 接 參 數 的 方式 改 為 用 | 來 連 接− 每 個 周 邊 的 header file 都 會 include :●●PIC24F_periph_features.hGenericTypeDefs.h© 2008 Microchip Technology Incorporated. All Rights Reserved. <strong>C30</strong> 入 門 及 應 用 Slide 16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!