|
PebbleOS v4.47.0-553-g7a998bc2c
|
ADC driver for the GPADC of the SF32LB57. More...
Macros | |
| #define | PBL_ADC_SF32LB57_GPADC_DEFINE(sym, _name, _base, _cfg, _clk, _cal) |
| Define the SF32LB57 GPADC. | |
ADC driver for the GPADC of the SF32LB57.
| #define PBL_ADC_SF32LB57_GPADC_DEFINE | ( | sym, | |
| _name, | |||
| _base, | |||
| _cfg, | |||
| _clk, | |||
| _cal | |||
| ) |
Define the SF32LB57 GPADC.
| sym | Symbol of the ADC. |
| _name | Name. |
| _base | Registers. |
| _cfg | HPSYS_CFG registers. |
| _clk | Clock, from PBL_CLK(). |
| _cal | Calibration cell, from PBL_NVMEM_CELL(), or {} without one. |