You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
Problem: Typically, we need to change register fields, which occupies some bits of a register. In order to not modify other fields, we must read the whole register first an change only the bits corresponding to that field. This is the regular way way doing this. The issue is that it is easy to use the smio_thsafe_client_() of functions and change the whole register.
Solution: Use the rw_param macros like SET_PARAM and GET_PARAM to read/write only specifc register fields.
The text was updated successfully, but these errors were encountered:
Friday Nov 06, 2015 at 03:10 GMT
Originally opened as lnls-dig/bpm-sw#111
Problem: Typically, we need to change register fields, which occupies some bits of a register. In order to not modify other fields, we must read the whole register first an change only the bits corresponding to that field. This is the regular way way doing this. The issue is that it is easy to use the smio_thsafe_client_() of functions and change the whole register.
Solution: Use the rw_param macros like SET_PARAM and GET_PARAM to read/write only specifc register fields.
The text was updated successfully, but these errors were encountered: