How to read register/bit notation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to read register/bit notation

969 次查看
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.
标签 (1)
0 项奖励
回复
2 回复数

874 次查看
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 项奖励
回复

874 次查看
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 项奖励
回复