Skip to content

Commit

Permalink
[PMIC] Chores
Browse files Browse the repository at this point in the history
  • Loading branch information
rouing committed Jan 11, 2025
1 parent 9bdeb96 commit 5d50371
Show file tree
Hide file tree
Showing 11 changed files with 5,758 additions and 5,773 deletions.
3,323 changes: 1,660 additions & 1,663 deletions lib/HAL/PMIC/DRIVER/AXP192.tpp

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions lib/HAL/PMIC/DRIVER/AXP202.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace HAL
{
class AXP202 : public Type1<class AXP202>
{
friend class Base<Type1<AXP202>, AXP202>;
friend class Type1<AXP202>;

typedef enum
{
Expand Down Expand Up @@ -135,7 +135,7 @@ namespace HAL
/**
* @brief Set VBUS Voltage Input Limit.
* @param opt: View the related chip type pmic_vbus_vol_limit enumeration
* parameters in "XPowersParams.hpp"
* parameters in the registries
*/
void setVbusVoltageLimit(pmic_vbus_vol_limit opt)
{
Expand All @@ -149,7 +149,7 @@ namespace HAL
/**
* @brief Get VBUS Voltage Input Limit.
* @retval View the related chip type pmic_vbus_vol_limit enumeration
* parameters in "XPowersParams.hpp"
* parameters in the Registries
*/
pmic_vbus_vol_limit getVbusVoltageLimit(void)
{
Expand All @@ -159,7 +159,7 @@ namespace HAL
/**
* @brief Set VBUS Current Input Limit.
* @param opt: View the related chip type pmic_vbus_cur_limit enumeration
* parameters in "XPowersParams.hpp"
* parameters in the registries
* @retval true valid false invalid
*/
bool setVbusCurrentLimit(pmic_vbus_cur_limit opt)
Expand Down Expand Up @@ -187,7 +187,7 @@ namespace HAL
/**
* @brief Get VBUS Current Input Limit.
* @retval View the related chip type axp202_vbus_cur_limit_t enumeration
* parameters in "XPowersParams.hpp"
* parameters in the registries
*/
pmic_vbus_cur_limit getVbusCurrentLimit(void)
{
Expand Down Expand Up @@ -860,7 +860,7 @@ namespace HAL
/**
* @brief Enable PMU interrupt control mask .
* @param opt: View the related chip type axp202_irq_t enumeration
* parameters in "XPowersParams.hpp"
* parameters in the registries
* @retval
*/
bool enableIRQ(pmic_irq opt)
Expand All @@ -871,7 +871,7 @@ namespace HAL
/**
* @brief Disable PMU interrupt control mask .
* @param opt: View the related chip type axp202_irq_t enumeration
* parameters in "XPowersParams.hpp"
* parameters in the registries
* @retval
*/
bool disableIRQ(pmic_irq opt)
Expand Down
Loading

0 comments on commit 5d50371

Please sign in to comment.