![]() |
BlueNinja BSP
0.5
Cerevo BlueNinja(CDP-TZ01B) Board Support Packageリファレンスマニュアル
|
Battery charger(Ti BQ24250) driver for TZ10xx. [詳解]
#include <stdint.h>
#include <stdbool.h>
#include "TZ10xx.h"
#include "PMU_TZ10xx.h"
#include "Driver_I2C.h"
#include "BQ24250.h"
#include "utils.h"
関数 | |
bool | BQ24250_drv_reg01_set (uint8_t val) |
uint8_t | BQ24250_drv_reg01_get (void) |
bool | BQ24250_drv_reg02_set (uint8_t val) |
uint8_t | BQ24250_drv_reg02_get (void) |
bool | BQ24250_drv_reg03_set (uint8_t val) |
uint8_t | BQ24250_drv_reg03_get (void) |
bool | BQ24250_drv_reg04_set (uint8_t val) |
uint8_t | BQ24250_drv_reg04_get (void) |
bool | BQ24250_drv_reg05_set (uint8_t val) |
uint8_t | BQ24250_drv_reg05_get (void) |
bool | BQ24250_drv_reg06_set (uint8_t val) |
uint8_t | BQ24250_drv_reg06_get (void) |
bool | BQ24250_drv_reg07_set (uint8_t val) |
uint8_t | BQ24250_drv_reg07_get (void) |
bool | BQ24250_drv_init (ARM_DRIVER_I2C *i2c_drv, bool ts_enable) |
Initialize BQ24250. [詳解] | |
Battery charger(Ti BQ24250) driver for TZ10xx.
bool BQ24250_drv_init | ( | ARM_DRIVER_I2C * | i2c_drv, |
bool | ts_enable | ||
) |
Initialize BQ24250.
[in] | i2c_drv | TZ10xx I2C driver information. |
[in] | ts_enable | Thermister enable. ture: enable, false: disable |
true | Success |
false | Failed |