commit | 980fb4b84674af35c2870523a4ecf9a30cfd64fe | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <ycsin@meta.com> | Mon Sep 25 15:44:39 2023 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Nov 09 18:20:43 2023 +0100 |
tree | 6339f5f7d5f56ec259437b851b7f902cb0f603a3 | |
parent | efd1073ceb798d5c246a36c990090e6af738b65f [diff] |
drivers: intc: plic: make sense of magic number Added some defines and helper functions to help with the arithmetics so that the bit shifts and stuff do not look like magic number. Converted manual bit shift/set/unset to use macros provided by Zephyr. Signed-off-by: Yong Cong Sin <ycsin@meta.com>