Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 251352

Forum Post: RE: Writing / Reading SYSCTL_RCC_R Register causes problems

$
0
0

Hello Peter,

When using SYSCTL_RCC_R you do not need to use HWREG. If you look at the definition it already does the HWREG macro. Your code should like

SYSCTL_RCC_R |= SYSCTL_RCC_USEPWMDIV;

These XY_R macros are defined in the inc/tm4c123gh6zrb.h

Regards,

Amit


Viewing all articles
Browse latest Browse all 251352

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>