offset in microcontroller registers

Status
Not open for further replies.

Madbunny1

Member level 2
Joined
May 22, 2017
Messages
49
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
380
Hello,

What is meant by Offset in Registers of microcontrollers? can anyone please explain?

Thanks
 

Hi,

show the related document.

Klaus
 

I'm not an expert in that device but my understanding of the data sheet is that there is more than one PWM module and they have different base addresses. The offset is the difference in address of the register from the applicable PWM module base address.

For example:
PWM0 base: 0x4002.8000 + 0x00C gives the PWMINVERT register address for PWM0 module
PWM1 base: 0x4002.9000 + 0x00C gives the PWMINVERT register address for PWM1 module

Brian.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…