this file contains all the definitions of the BQ76PL536 devices. More...
#include <intrinsics.h>#include <string.h>#include <stdio.h>#include "MSP430.h"#include "main.h"#include "bq_pack.h"#include "spi_if.h"#include "data_flash.h"#include "USBCDC_constructs.h"#include "Common\types.h"#include "Common\hal_macros.h"Go to the source code of this file.
Functions | |
| short | bq_pack_address_discovery (void) |
| Function Name: bq_pack_address_discovery . | |
| short | bq_pack_init (void) |
| Function Name: bq_pack_init. | |
| void | update_bq_pack_data (void) |
| Function Name: update_bq_pack_data. | |
| void | bq_pack_start_conv (void) |
| Function Name: bq_pack_start_conv . | |
| void | CheckFaultConditions (void) |
| Function Name: CheckFaultConditions. | |
| void | CheckChargeDischargeModes (void) |
| Function Name: CheckChargeDischargeModes. | |
| void | CellBalancing (void) |
| Function Name: CellBalancing. | |
| void | CheckEndOfChargeOrDischargeModes (void) |
| Function Name: CheckEndOfChargeOrDischargeModes . | |
| void | BatteryPackManager (void) |
| Function Name: BatteryPackManager . | |
| unsigned short | get_bq_pack_voltage (void) |
| Function Name: get_bq_pack_voltage. | |
| unsigned short | get_bq_pack_timer (void) |
| Function Name: get_bq_pack_timer. | |
| void | update_bq_pack_timer (void) |
| Function Name: update_bq_pack_timer . | |
| op_modes_t | get_bq_pack_mode (void) |
| Function Name: get_bq_pack_mode . | |
| void | set_bq_pack_mode (op_modes_t mode) |
| void | conf_bq_dev (bq_dev_t *this) |
| Function Name: conf_bq_dev . | |
| void | init_bq_dev_data_structure (bq_dev_t *this) |
| Function Name: init_bq_dev_data_structure . | |
| short | bq_dev_read_cell_voltage (bq_dev_t *this) |
| Function Name: bq_dev_read_cell_voltage. | |
| void | bq_dev_clear_alerts (bq_dev_t *this) |
| Function Name: bq_dev_clear_alerts . | |
| void | bq_dev_clear_faults (bq_dev_t *this) |
| Function Name: bq_dev_clear_faults. | |
| short | bq_dev_read_errors (bq_dev_t *this) |
| Function Name: bq_dev_read_errors. | |
| short | bq_dev_read_temps (bq_dev_t *this) |
| Function Name: bq_dev_read_temps. | |
| short | bq_dev_read_status (bq_dev_t *this) |
| Function Name: bq_dev_read_status. | |
| void | update_op_mode (op_modes_t new_mode) |
| Function Name: update_op_mode . | |
| short | check_for_cov (void) |
| Function Name: check_for_cov . | |
| short | check_for_cuv (void) |
| Function Name: check_for_cuv . | |
| short | check_for_pot (void) |
| Function Name: check_for_pot . | |
| unsigned short | check_for_charge_op (void) |
| Function Name: check_for_charge_op. | |
| unsigned short | check_for_discharge_op (void) |
| Function Name: check_for_discharge_op . | |
| void | copy_cell_voltage_values (void) |
| Function Name: copy_cell_voltage_values. | |
| unsigned short | cell_imbalance_threshold_reached (void) |
| Function Name: cell_imbalance_threshold_reached . | |
| unsigned short | find_imbalanced_cell (unsigned short in_dev_id) |
| Function Name: find_imbalanced_cell . | |
| void | enable_bypass_resistor (unsigned short in_dev_id, unsigned short in_value) |
| Function Name: enable_bypass_resistor. | |
| void | disable_bypass_resistor (unsigned short in_dev_id, unsigned short in_value) |
| Function Name: disable_bypass_resistor. | |
| void | disable_all_bypass_resistors (void) |
| Function Name: disable_all_bypass_resistors. | |
Variables | |
| bq_pack_t | bq_pack |
| unsigned char | HOST_CONTROL_IN = 0 |
this file contains all the definitions of the BQ76PL536 devices.
Definition in file bq_pack.c.
| void BatteryPackManager | ( | void | ) |
| void bq_dev_clear_alerts | ( | bq_dev_t * | this | ) |
| void bq_dev_clear_faults | ( | bq_dev_t * | this | ) |
| short bq_dev_read_cell_voltage | ( | bq_dev_t * | this | ) |
| short bq_dev_read_errors | ( | bq_dev_t * | this | ) |
| short bq_dev_read_status | ( | bq_dev_t * | this | ) |
| short bq_dev_read_temps | ( | bq_dev_t * | this | ) |
| short bq_pack_address_discovery | ( | void | ) |
| short bq_pack_init | ( | void | ) |
| void bq_pack_start_conv | ( | void | ) |
| unsigned short cell_imbalance_threshold_reached | ( | void | ) |
| void CellBalancing | ( | void | ) |
| unsigned short check_for_charge_op | ( | void | ) |
| short check_for_cov | ( | void | ) |
| short check_for_cuv | ( | void | ) |
| unsigned short check_for_discharge_op | ( | void | ) |
| short check_for_pot | ( | void | ) |
| void CheckChargeDischargeModes | ( | void | ) |
| void CheckEndOfChargeOrDischargeModes | ( | void | ) |
| void CheckFaultConditions | ( | void | ) |
| void conf_bq_dev | ( | bq_dev_t * | this | ) |
| void copy_cell_voltage_values | ( | void | ) |
| void disable_all_bypass_resistors | ( | void | ) |
| void disable_bypass_resistor | ( | unsigned short | in_dev_id, | |
| unsigned short | in_value | |||
| ) |
| void enable_bypass_resistor | ( | unsigned short | in_dev_id, | |
| unsigned short | in_value | |||
| ) |
| unsigned short find_imbalanced_cell | ( | unsigned short | in_dev_id | ) |
| op_modes_t get_bq_pack_mode | ( | void | ) |
| unsigned short get_bq_pack_timer | ( | void | ) |
| unsigned short get_bq_pack_voltage | ( | void | ) |
| void init_bq_dev_data_structure | ( | bq_dev_t * | this | ) |
| void update_bq_pack_data | ( | void | ) |
| void update_bq_pack_timer | ( | void | ) |
1.7.1