Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
struct | HWCFG_SFRS_t |
A structure to represent the data in hardware config block. More... | |
Macros | |
#define | E_HWCFG_SYSTEM_CLOCK 30000000 |
The system clock in Hz. More... | |
#define | E_HWCFG_SYSTEM_CLOCK_LOW 10000 |
#define | E_HWCFG_SYSTEM_CLOCK_KHZ (E_HWCFG_SYSTEM_CLOCK/1000) |
The system clock in KHz. More... | |
#define | E_HWCFG_ADC_RANGE_FULL 255 |
#define | E_HWCFG_ADC_RANGE_ZERO 0 |
#define | E_HWCFG_ADC_VBG 1200 |
#define | E_HWCFG_ADC_REF_H_DFLT 0x0F |
#define | E_HWCFG_ADC_REF_L_DFLT 0x00 |
#define | E_HWCFG_ADC_REF_G_DFLT 0x0F |
#define | E_HWCFG_ADC_GAIN_ONE 128 |
#define | HWCFG_SFRS ((__IO HWCFG_SFRS_t *) (0x00027F00)) |
The starting address of hardware config block. More... | |
Functions | |
uint8_t | HWCFG_GetRCClockCalibValue (void) |
Get RC clock trim value. More... | |
uint8_t | HWCFG_Get32KClockCalibValue (void) |
Get 32K clock trim value. More... | |
uint16_t | HWCFG_GetVBG (void) |
Get band gap voltage. More... | |
uint8_t | HWCFG_GetCalibrationVersion (void) |
Get the version of calibration data. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
#define E_HWCFG_ADC_GAIN_ONE 128 |
#define E_HWCFG_ADC_RANGE_FULL 255 |
#define E_HWCFG_ADC_RANGE_ZERO 0 |
#define E_HWCFG_ADC_REF_G_DFLT 0x0F |
#define E_HWCFG_ADC_REF_H_DFLT 0x0F |
#define E_HWCFG_ADC_REF_L_DFLT 0x00 |
#define E_HWCFG_ADC_VBG 1200 |
#define E_HWCFG_SYSTEM_CLOCK 30000000 |
The system clock in Hz.
#define E_HWCFG_SYSTEM_CLOCK_KHZ (E_HWCFG_SYSTEM_CLOCK/1000) |
The system clock in KHz.
#define E_HWCFG_SYSTEM_CLOCK_LOW 10000 |
#define HWCFG_SFRS ((__IO HWCFG_SFRS_t *) (0x00027F00)) |
The starting address of hardware config block.
uint8_t HWCFG_Get32KClockCalibValue | ( | void | ) |
Get 32K clock trim value.
uint8_t HWCFG_GetCalibrationVersion | ( | void | ) |
Get the version of calibration data.
uint8_t HWCFG_GetRCClockCalibValue | ( | void | ) |
Get RC clock trim value.
uint16_t HWCFG_GetVBG | ( | void | ) |
Get band gap voltage.