The OP
Published on 2018-9-1 19:25
Only look at the author
This post is from Microchip MCU
| ||
|
||
2
Published on 2018-9-1 20:01
Only look at the author
This post is from Microchip MCU
Comments | ||
|
||
|
This post is from Microchip MCU
| ||
|
||
|
This post is from Microchip MCU
Comments
This is a special use of macros, which is to combine two contents into one. It is very useful when using a series of regular registers and is also common in many programs. In particular, when you want the program to automatically adapt to different models of MCUs, use this method to automatically configure the corresponding registers.
Details
Published on 2018-9-1 20:37
| ||
|
||
|
5
Published on 2018-9-1 20:37
Only look at the author
This post is from Microchip MCU
Comments
This is the first time I've seen a macro definition like yours, so I was confused and had no idea what it meant. Is there a solution for the program I just used that uses C30?
Details
Published on 2018-9-1 21:42
| ||
|
||
|
This post is from Microchip MCU
Comments | ||
|
||
|
This post is from Microchip MCU
Comments | ||
|
||
|
8
Published on 2018-9-1 21:42
Only look at the author
This post is from Microchip MCU
| ||
Personal signature刻苦学习,共同进步
|
||
|
9
Published on 2018-9-2 14:54
Only look at the author
This post is from Microchip MCU
Comments | ||
|
||
|
10
Published on 2018-9-2 15:02
Only look at the author
This post is from Microchip MCU
Comments | ||
|
||
|
11
Published on 2018-9-2 15:07
Only look at the author
This post is from Microchip MCU
Comments
First of all, I want to thank you. In the MPLAB SIM software simulation, the stopwatch shows about 300MS, but in the Proteus simulation, it takes about 3s to delay. I don't know how long the built-in delay function __delay_ms() delays. For example, if I want to delay 50ms, my system clock frequency and
Details
Published on 2018-9-2 22:29
| ||
|
||
|
12
Published on 2018-9-2 16:53
Only look at the author
This post is from Microchip MCU
Comments | ||
Personal signature刻苦学习,共同进步
|
||
|
This post is from Microchip MCU
Comments | ||
|
||
|
This post is from Microchip MCU
Comments | ||
|
||
|
15
Published on 2018-9-3 00:25
Only look at the author
This post is from Microchip MCU
| ||
Personal signature刻苦学习,共同进步
|
||
|
16
Published on 2018-9-3 12:26
Only look at the author
This post is from Microchip MCU
Comments | ||
|
||
|
This post is from Microchip MCU
| ||
|
||
|
This post is from Microchip MCU
Comments | ||
|
||
|
19
Published on 2018-9-3 21:57
Only look at the author
This post is from Microchip MCU
Comments
The crystal oscillators I use are 8M, 16M, and 32M. Does the delay function __delay_ms(50) always delay for 50ms?
Details
Published on 2018-9-5 21:30
| ||
|
||
|
This post is from Microchip MCU
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190