Skip to content

Commit

Permalink
controllers: add top-level docs to classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericonr committed Jan 15, 2025
1 parent a034fde commit 19b959d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util/controllers.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ class RegisterController: public RegisterDecoderBase {
virtual void write_params();
};

/** Controller base class which can use the register fields as decoded by a
* RegisterDecoder to write into a device's registers. Any register field that
* should be exposed as writable should be decoded by the `rf_` prefixed
* functions from RegisterDecoder, instead of the functions from util-bits.h. */
class RegisterDecoderController: public RegisterController {
RegisterDecoder *pdec;

Expand Down

0 comments on commit 19b959d

Please sign in to comment.