|
#define | __HAPI_H__ |
|
#define | ROM_HAPI_TABLE_ADDR 0x10000048 |
|
#define | P_HARD_API ((HARD_API_T*) ROM_HAPI_TABLE_ADDR) |
|
#define | HapiCrc32(a, b, c) P_HARD_API->Crc32(a,b,c) |
|
#define | HapiGetFlashSize() P_HARD_API->FlashGetSize() |
|
#define | HapiGetChipId() P_HARD_API->GetChipId() |
|
#define | HapiSectorErase(a) P_HARD_API->EraseSector(a) |
|
#define | HapiProgramFlash(a, b, c) P_HARD_API->ProgramFlash(a,b,c) |
|
#define | HapiResetDevice() P_HARD_API->ResetDevice() |
|
#define | HapiFletcher32(a, b, c) P_HARD_API->Fletcher32(a,b,c) |
|
#define | HapiMinValue(a, b) P_HARD_API->MinValue(a,b) |
|
#define | HapiMaxValue(a, b) P_HARD_API->MaxValue(a,b) |
|
#define | HapiMeanValue(a, b) P_HARD_API->MeanValue(a,b) |
|
#define | HapiStandDeviationValue(a, b) P_HARD_API->StandDeviationValue(a,b) |
|
#define | HapiHFSourceSafeSwitch() P_HARD_API->HFSourceSafeSwitch() |
|
#define | HapiSelectCompAInput(a) P_HARD_API->SelectCompAInput(a) |
|
#define | HapiSelectCompARef(a) P_HARD_API->SelectCompARef(a) |
|
#define | HapiSelectADCCompBInput(a) P_HARD_API->SelectADCCompBInput(a) |
|
#define | HapiSelectDACVref(a) P_HARD_API->SelectDACVref(a) |
|
#define | COMPA_IN_NC 0x00 |
|
#define | COMPA_IN_AUXIO7 0x09 |
|
#define | COMPA_IN_AUXIO6 0x0A |
|
#define | COMPA_IN_AUXIO5 0x0B |
|
#define | COMPA_IN_AUXIO4 0x0C |
|
#define | COMPA_IN_AUXIO3 0x0D |
|
#define | COMPA_IN_AUXIO2 0x0E |
|
#define | COMPA_IN_AUXIO1 0x0F |
|
#define | COMPA_IN_AUXIO0 0x10 |
|
#define | COMPA_IN_AUXIO26 COMPA_IN_AUXIO7 |
|
#define | COMPA_IN_AUXIO25 COMPA_IN_AUXIO6 |
|
#define | COMPA_IN_AUXIO24 COMPA_IN_AUXIO5 |
|
#define | COMPA_IN_AUXIO23 COMPA_IN_AUXIO4 |
|
#define | COMPA_IN_AUXIO22 COMPA_IN_AUXIO3 |
|
#define | COMPA_IN_AUXIO21 COMPA_IN_AUXIO2 |
|
#define | COMPA_IN_AUXIO20 COMPA_IN_AUXIO1 |
|
#define | COMPA_IN_AUXIO19 COMPA_IN_AUXIO0 |
|
#define | COMPA_REF_NC 0x00 |
|
#define | COMPA_REF_DCOUPL 0x01 |
|
#define | COMPA_REF_VSS 0x02 |
|
#define | COMPA_REF_VDDS 0x03 |
|
#define | COMPA_REF_ADCVREFP 0x04 |
|
#define | COMPA_REF_AUXIO7 0x09 |
|
#define | COMPA_REF_AUXIO6 0x0A |
|
#define | COMPA_REF_AUXIO5 0x0B |
|
#define | COMPA_REF_AUXIO4 0x0C |
|
#define | COMPA_REF_AUXIO3 0x0D |
|
#define | COMPA_REF_AUXIO2 0x0E |
|
#define | COMPA_REF_AUXIO1 0x0F |
|
#define | COMPA_REF_AUXIO0 0x10 |
|
#define | COMPA_REF_AUXIO26 COMPA_REF_AUXIO7 |
|
#define | COMPA_REF_AUXIO25 COMPA_REF_AUXIO6 |
|
#define | COMPA_REF_AUXIO24 COMPA_REF_AUXIO5 |
|
#define | COMPA_REF_AUXIO23 COMPA_REF_AUXIO4 |
|
#define | COMPA_REF_AUXIO22 COMPA_REF_AUXIO3 |
|
#define | COMPA_REF_AUXIO21 COMPA_REF_AUXIO2 |
|
#define | COMPA_REF_AUXIO20 COMPA_REF_AUXIO1 |
|
#define | COMPA_REF_AUXIO19 COMPA_REF_AUXIO0 |
|
#define | ADC_COMPB_IN_NC 0x00 |
|
#define | ADC_COMPB_IN_DCOUPL 0x03 |
|
#define | ADC_COMPB_IN_VSS 0x04 |
|
#define | ADC_COMPB_IN_VDDS 0x05 |
|
#define | ADC_COMPB_IN_AUXIO7 0x09 |
|
#define | ADC_COMPB_IN_AUXIO6 0x0A |
|
#define | ADC_COMPB_IN_AUXIO5 0x0B |
|
#define | ADC_COMPB_IN_AUXIO4 0x0C |
|
#define | ADC_COMPB_IN_AUXIO3 0x0D |
|
#define | ADC_COMPB_IN_AUXIO2 0x0E |
|
#define | ADC_COMPB_IN_AUXIO1 0x0F |
|
#define | ADC_COMPB_IN_AUXIO0 0x10 |
|
#define | ADC_COMPB_IN_AUXIO26 ADC_COMPB_IN_AUXIO7 |
|
#define | ADC_COMPB_IN_AUXIO25 ADC_COMPB_IN_AUXIO6 |
|
#define | ADC_COMPB_IN_AUXIO24 ADC_COMPB_IN_AUXIO5 |
|
#define | ADC_COMPB_IN_AUXIO23 ADC_COMPB_IN_AUXIO4 |
|
#define | ADC_COMPB_IN_AUXIO22 ADC_COMPB_IN_AUXIO3 |
|
#define | ADC_COMPB_IN_AUXIO21 ADC_COMPB_IN_AUXIO2 |
|
#define | ADC_COMPB_IN_AUXIO20 ADC_COMPB_IN_AUXIO1 |
|
#define | ADC_COMPB_IN_AUXIO19 ADC_COMPB_IN_AUXIO0 |
|
#define | DAC_REF_NC 0x00 |
|
#define | DAC_REF_DCOUPL 0x01 |
|
#define | DAC_REF_VSS 0x02 |
|
#define | DAC_REF_VDDS 0x03 |
|
#define | ROM_API_TABLE ((uint32_t *) 0x10000180) |
|
#define | ROM_VERSION (ROM_API_TABLE[0]) |
|
#define | ROM_API_FLASH_TABLE ((uint32_t*) (ROM_API_TABLE[10])) |
|
#define | ROM_FlashPowerModeSet |
|
#define | ROM_FlashPowerModeGet |
|
#define | ROM_FlashProtectionSet |
|
#define | ROM_FlashProtectionGet |
|
#define | ROM_FlashProtectionSave |
|
#define | ROM_FlashSectorErase |
|
#define | ROM_FlashProgram |
|
#define | ROM_FlashEfuseReadRow |
|
#define | ROM_FlashDisableSectorsForWrite |
|
#define | ROM_FlashProgram4X |
|
|
typedef uint32_t(* | FPTR_CRC32_T) (uint8_t *, uint32_t, uint32_t) |
|
typedef uint32_t(* | FPTR_GETFLSIZE_T) (void) |
|
typedef uint32_t(* | FPTR_GETCHIPID_T) (void) |
|
typedef uint32_t(* | FPTR_SECTORERASE_T) (uint32_t) |
|
typedef uint32_t(* | FPTR_RESERVED2_T) (void) |
|
typedef uint32_t(* | FPTR_PROGFLASH_T) (uint8_t *, uint32_t, uint32_t) |
|
typedef void(* | FPTR_RESETDEV_T) (void) |
|
typedef uint32_t(* | FPTR_FLETCHER32_T) (uint16_t *, uint16_t, uint16_t) |
|
typedef uint32_t(* | FPTR_MINVAL_T) (uint32_t *, uint32_t) |
|
typedef uint32_t(* | FPTR_MAXVAL_T) (uint32_t *, uint32_t) |
|
typedef uint32_t(* | FPTR_MEANVAL_T) (uint32_t *, uint32_t) |
|
typedef uint32_t(* | FPTR_STDDVAL_T) (uint32_t *, uint32_t) |
|
typedef void(* | FPTR_HFSOURCESAFESWITCH_T) (void) |
|
typedef void(* | FPTR_RESERVED4_T) (uint32_t) |
|
typedef void(* | FPTR_RESERVED5_T) (uint32_t) |
|
typedef void(* | FPTR_COMPAIN_T) (uint8_t) |
|
typedef void(* | FPTR_COMPAREF_T) (uint8_t) |
|
typedef void(* | FPTR_ADCCOMPBIN_T) (uint8_t) |
|
typedef void(* | FPTR_DACVREF_T) (uint8_t) |
|