Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
pic24f [2019/03/01 04:24] paul ↷ Page name changed from pic24 to pic24f |
pic24f [2019/03/31 14:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== PIC24F ====== | ====== PIC24F ====== | ||
+ | |||
+ | The PIC24F is a versital microprocessor with lots of nice peripherals such as | ||
+ | DAC, multiple UARTS and PWM. I used it for the [[ltp_lidar|LTP Lidar]]. | ||
+ | |||
+ | ===== Documentation Notes ===== | ||
+ | |||
+ | The PIC24 from Microchip has two types of documentation. The first is the device | ||
+ | specific datasheet and the second is a general set of documentation for the PIC24 | ||
+ | family of chips. Sometimes, especially when looking for a detailed explanation of how | ||
+ | a peripheral works, the general family documentation is more helpful. | ||
+ | |||
+ | ===== General ===== | ||
+ | Every project has '' | ||
+ | '' | ||
There used to be compiler libraries for the peripherals of the PIC24 but they | There used to be compiler libraries for the peripherals of the PIC24 but they | ||
Line 102: | Line 116: | ||
following macros are defined in the device-specific header files: | following macros are defined in the device-specific header files: | ||
</ | </ | ||
- | |||
- | So I went on a journey to find these device specific headers. So every project has | ||
- | '' | ||
- | header. Search for it and you will find it! | ||
I found out I can just use the autogenerated UART handler instead of writing my | I found out I can just use the autogenerated UART handler instead of writing my |