uint32_t pru_hal_wired_charge_detect_status_get(bool *p_wired)
Get the status of whether the PRU is charged by wire.
uint32_t pru_hal_temperature_get(int16_t *p_temperature)
Read the temperature.
uint32_t pru_hal_power_adjusted_set(bool adjusted)
Set power adjusted value.
uint32_t pru_hal_vout_get(uint16_t *p_vout)
Read the voltage output to battery.
uint32_t pru_hal_vrect_get(uint16_t *p_vrect)
Read the value of VRECT.
uint32_t pru_hal_adj_power_set(ctl_adj_power_t adj_setting)
Limit maximum power consumed by PRU.
uint32_t pru_hal_charge_complete_status_get(bool *p_charge_complete)
Get the status of whether the PRU is charged.
uint32_t pru_hal_vout_enable_get(bool *enable)
Get status of VOUT enable.
uint32_t pru_hal_irect_get(uint16_t *p_irect)
Read the value of IRECT.
uint32_t pru_hal_init(void)
Initialize the PRU's Hardware abstraction layer.
uint32_t pru_hal_adj_power_get(ctl_adj_power_t *adj_setting)
Get adjust power setting.
ctl_adj_power_t
Power adjust settings in control packet.
uint32_t pru_hal_vout_enable_set(bool enable)
Enable output to battery.
uint32_t pru_hal_iout_get(uint16_t *p_iout)
Read the value of IOUT.
uint32_t pru_hal_power_adjusted_get(bool *p_adjusted)
This function is called by the PRU profile to see if the PRU has limited its power consumption as ins...