MAX77658 Ultra-Low Power PMIC Mbed Driver

Embed: (wiki syntax)

« Back to documentation index

reg_filter_cfg_t Union Reference

reg_filter_cfg_t Union Reference

FilterCfg Use of unsigned char resulted in error in register bit field values. More...

#include <MAX77658_regs.h>


Detailed Description

FilterCfg Use of unsigned char resulted in error in register bit field values.

Thus, uint16_t is here used to define the size of bit fields. Address : 0x29

Definition at line 1349 of file MAX77658_regs.h.


Field Documentation

uint16_t navgcell

Sets the time constant for the AverageVCELL register.

Bit 6:4. The default POR value of 2h gives a time constant of 45.0s. The equation setting the period is:AverageVCELL time constant = 175.8ms × 2(6+NAVGVCELL).

Definition at line 1356 of file MAX77658_regs.h.

uint16_t ncurr

Sets the time constant for the AverageCurrent register.

Bit 3:0. The default POR value of 4h gives a time constant of 11.25 seconds. The equation setting the period is:AverageCurrent time constant = 175.8ms × 2^(2+NCURR).

Definition at line 1353 of file MAX77658_regs.h.

uint16_t nempty

Sets the filtering for empty learning for both the I_Avgempty and QRTable registers.

Bit 15:14. Iavg_empty is learned with(NEMPTY+3) right shifts. QRTable is learned with (NEMPTY + sizeof(Iavgempty) – sizeof (AvgCurrent)) right shifts.

Definition at line 1363 of file MAX77658_regs.h.

uint16_t nmix

Sets the time constant for the mixing algorithm.

Bit 10:7. The default POR value of Dh gives a time constant of 12.8 hours = 46080s. The equation setting the period is:Mixing Period = 175.8ms × 2(5+NMIX).

Definition at line 1359 of file MAX77658_regs.h.

uint16_t rsvd

Bit 13:11.

Definition at line 1362 of file MAX77658_regs.h.