- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is the significance of reading a control register before writing anything in it? is it necessary to do
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you want to change bits within the control register you will need the current state. This you can get by reading the current pattern and modifying the result to your needs. When you want to set the register completely to a defined state no readback is needed.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you want to change bits within the control register you will need the current state. This you can get by reading the current pattern and modifying the result to your needs. When you want to set the register completely to a defined state no readback is needed.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reading a control register before writing is helpful in bit modification