Rules | Recent posts | topic RSS | Search | Register  | Log in

What are read-only register......?

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Author Message
angy



Joined: 09 Jul 2008
Posts: 16


Post04 Oct 2008 10:27   What are read-only register......?

What are read-only register how are they used.
For example forLPC 2148
SSP Status Register (SSPSR - 0xE006 800C)
This read-only register reflects the current status of the SSP controller.
Back to top
penoy_balut



Joined: 08 Sep 2007
Posts: 129
Helped: 16


Post06 Oct 2008 7:06   What are read-only register......?

these are registers not accessible for writing data but for reading only like as you said status, like for example interrupts, overflow, peripherals enabled, error bits, queue, data etc.
Back to top
Fom



Joined: 10 Mar 2004
Posts: 758
Helped: 56
Location: Taiwan


Post06 Oct 2008 7:45   What are read-only register......?

I think it is not a register in common sense. It is just a flag or a signal that is changed when some condition are changed.
I mean you don't consider any clock for that.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap