KETCube
Macros | Functions
ketCube_ad.h File Reference
#include "ketCube_cfg.h"

Go to the source code of this file.

Macros

#define KETCUBE_AD_NAME   "ad_drv"
 AD driver name. More...
 
#define KETCUBE_AD_VREFINT_MAX_TIMEOUT_MS   10
 Max timeout to stabilize vrefint. More...
 

Functions

ketCube_cfg_DrvError_t ketCube_AD_Init (void)
 
ketCube_cfg_DrvError_t ketCube_AD_UnInit (void)
 
uint16_t ketCube_AD_ReadChannel (uint32_t channel)
 
uint16_t ketCube_AD_ReadChannelmV (uint32_t channel)
 
uint32_t ketCube_AD_GetBatLevelmV (void)
 
uint16_t ketCube_AD_GetTemperature (void)