Apply clang-format fixes to header file
Some checks failed
Arduino Library CI / build (push) Has been cancelled

- Remove extra blank line after @author
- Align register macro definitions with proper line wrapping
- Add consistent spacing for hex values and comments

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Limor Fried 2025-08-10 08:23:58 -04:00
parent 3561fca8f1
commit d0d3e29b75

View file

@ -230,15 +230,22 @@ typedef enum {
#define BQ25628E_ADC_DIS_VPMID (1 << 0) /*!< Disable VPMID ADC */
/*! Register addresses for the BQ25628E */
#define BQ25628E_REG_CHARGE_CURRENT_LIMIT 0x02 /*!< Charge current limit register */
#define BQ25628E_REG_CHARGE_VOLTAGE_LIMIT 0x04 /*!< Charge voltage limit register */
#define BQ25628E_REG_INPUT_CURRENT_LIMIT 0x06 /*!< Input current limit register */
#define BQ25628E_REG_INPUT_VOLTAGE_LIMIT 0x08 /*!< Input voltage limit register */
#define BQ25628E_REG_MINIMAL_SYSTEM_VOLTAGE 0x0E /*!< Minimal system voltage register */
#define BQ25628E_REG_CHARGE_CURRENT_LIMIT \
0x02 /*!< Charge current limit register */
#define BQ25628E_REG_CHARGE_VOLTAGE_LIMIT \
0x04 /*!< Charge voltage limit register */
#define BQ25628E_REG_INPUT_CURRENT_LIMIT \
0x06 /*!< Input current limit register */
#define BQ25628E_REG_INPUT_VOLTAGE_LIMIT \
0x08 /*!< Input voltage limit register */
#define BQ25628E_REG_MINIMAL_SYSTEM_VOLTAGE \
0x0E /*!< Minimal system voltage register */
#define BQ25628E_REG_PRECHARGE_CONTROL 0x10 /*!< Precharge control register */
#define BQ25628E_REG_TERMINATION_CONTROL 0x12 /*!< Termination control register */
#define BQ25628E_REG_TERMINATION_CONTROL \
0x12 /*!< Termination control register */
#define BQ25628E_REG_CHARGE_CONTROL 0x14 /*!< Charge control register */
#define BQ25628E_REG_CHARGE_TIMER_CONTROL 0x15 /*!< Charge timer control register */
#define BQ25628E_REG_CHARGE_TIMER_CONTROL \
0x15 /*!< Charge timer control register */
#define BQ25628E_REG_CHARGER_CONTROL_0 0x16 /*!< Charger control register 0 */
#define BQ25628E_REG_CHARGER_CONTROL_1 0x17 /*!< Charger control register 1 */
#define BQ25628E_REG_CHARGER_CONTROL_2 0x18 /*!< Charger control register 2 */
@ -256,7 +263,8 @@ typedef enum {
#define BQ25628E_REG_CHARGER_MASK_1 0x24 /*!< Charger mask register 1 */
#define BQ25628E_REG_FAULT_MASK_0 0x25 /*!< Fault mask register 0 */
#define BQ25628E_REG_ADC_CONTROL 0x26 /*!< ADC control register */
#define BQ25628E_REG_ADC_FUNCTION_DISABLE_0 0x27 /*!< ADC function disable register 0 */
#define BQ25628E_REG_ADC_FUNCTION_DISABLE_0 \
0x27 /*!< ADC function disable register 0 */
#define BQ25628E_REG_IBUS_ADC 0x28 /*!< Input bus current ADC register */
#define BQ25628E_REG_IBAT_ADC 0x2A /*!< Battery current ADC register */
#define BQ25628E_REG_VBUS_ADC 0x2C /*!< Input bus voltage ADC register */