Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ''%%<xc.h>%%'' includes. In it there are a bunch of
 +''%%ifdefs%%'' that include your device specific header. Search for it and you will find it!
  
 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:
 </code> </code>
- 
-So I went on a journey to find these device specific headers. So every project has 
-''%%<xc.h>%%'' includes. In it there are a bunch of ''%%ifdefs%%'' that include your device specific 
-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
  • pic24f.1551414291.txt.gz
  • Last modified: 2019/03/01 04:24
  • by paul