HPM SDK
HPMicro Software Development Kit
hpm_bacc_drv.h File Reference
#include "hpm_common.h"
#include "hpm_bacc_regs.h"

Go to the source code of this file.

Enumerations

enum  bacc_ratio_t {
  bacc_ratio_0 = 0 , bacc_ratio_1_32768 = 1 , bacc_ratio_1_16384 = 2 , bacc_ratio_1_8192 = 3 ,
  bacc_ratio_1_4096 = 4 , bacc_ratio_1_2048 = 5 , bacc_ratio_1_1024 = 6 , bacc_ratio_1_512 = 7 ,
  bacc_ratio_1_256 = 8 , bacc_ratio_1_128 = 9 , bacc_ratio_1_64 = 10 , bacc_ratio_1_32 = 11 ,
  bacc_ratio_1_16 = 12 , bacc_ratio_1_8 = 13 , bacc_ratio_1_4 = 14 , bacc_ratio_1_2 = 15
}
 

Functions

static void bacc_timing_gap_post (BACC_Type *ptr, bacc_ratio_t ratio, uint16_t offset)
 
static void bacc_timing_gap_pre (BACC_Type *ptr, bacc_ratio_t ratio, uint16_t offset)
 
static void bacc_disable_fast_read (BACC_Type *ptr)
 
static void bacc_enable_fast_read (BACC_Type *ptr)
 
static void bacc_disable_fast_write (BACC_Type *ptr)
 
static void bacc_enable_fast_write (BACC_Type *ptr)
 
static void bacc_set_timing (BACC_Type *ptr, uint16_t timing)