what is the significance of reading a control register before writing anything in it? is it necessary to do

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

what is the significance of reading a control register before writing anything in it? is it necessary to do

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

View solution in original post

2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Reading a control register before writing is helpful in bit modification