How to read register/bit notation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to read register/bit notation

968 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Harrzack on Fri Aug 08 07:11:17 MST 2014
What does the notation "[31:0]" refer to?  This style is used throughout UM10736 "User Guide" (read: datasheet) and I can't find an explanation for it. I thought it might be [register:bit], but that doesn't seem to fit.

=Alan R.
Labels (1)
0 Kudos
Reply
2 Replies

873 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Harrzack on Fri Aug 08 07:32:33 MST 2014
Dude!!    Thanks for the quick reply - figured it had to be something like that but couldn't quite sus it out.    :bigsmile:

=Alan R
0 Kudos
Reply

873 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri Aug 08 07:29:27 MST 2014
[start_bit:end_bit]

So,
[31:0] is the whole register (32 bits)
[6:5] is bits 6 and 5 (2 bits)
0 Kudos
Reply