How to read register/bit notation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to read register/bit notation

967件の閲覧回数
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 返答(返信)

872件の閲覧回数
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 件の賞賛
返信

872件の閲覧回数
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 件の賞賛
返信