CRC unit of the SF32LB52, behind the hardware CRC functions.
More...
CRC unit of the SF32LB52, behind the hardware CRC functions.
◆ pbl_crc_sf32lb
| Data Fields |
|
uintptr_t |
base |
Registers. |
|
struct pbl_clk |
clk |
Clock. |
|
struct pbl_device |
dev |
Device. |
◆ PBL_CRC_SF32LB_DEFINE
| #define PBL_CRC_SF32LB_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base, |
|
|
|
_clk |
|
) |
| |
Value:
PBL_DEVICE_REGISTER(sym##_inst, &sym##_inst.dev); \
.base = (_base), \
}
struct pbl_device dev
Device.
Definition sf32lb.h:21
struct pbl_clk clk
Clock.
Definition sf32lb.h:25
CRC unit.
Definition sf32lb.h:19
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:131
#define PBL_DEVICE_INIT(sym, _name, _init, _parent, _deps)
Initializer for the struct pbl_device of device instance sym.
Definition device.h:164
A hardware device.
Definition device.h:89
Define the CRC unit.
- Parameters
-
| sym | Symbol of the device. |
| _name | Name. |
| _base | Registers. |
| _clk | Clock, from PBL_CLK(). |