|
#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) MemBusWrkAroundHapiEraseSector(a) |
|
#define | HapiProgramFlash(a, b, c) MemBusWrkAroundHapiProgramFlash(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) SafeHapiAuxAdiSelect( P_HARD_API->SelectCompAInput , a ) |
|
#define | HapiSelectCompARef(a) SafeHapiAuxAdiSelect( P_HARD_API->SelectCompARef , a ) |
|
#define | HapiSelectADCCompBInput(a) SafeHapiAuxAdiSelect( P_HARD_API->SelectADCCompBInput, a ) |
|
#define | HapiSelectCompBRef(a) SafeHapiAuxAdiSelect( P_HARD_API->SelectCompBRef , 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_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 | 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 | COMPB_REF_NC 0x00 |
|
#define | COMPB_REF_DCOUPL 0x01 |
|
#define | COMPB_REF_VSS 0x02 |
|
#define | COMPB_REF_VDDS 0x03 |
|
#define | ROM_APITABLE ((uint32_t *)0x10000180) |
|
#define | ROM_VERSION (ROM_APITABLE[0]) |
|
#define | ROM_AON_EVENTTABLE ((uint32_t *)(ROM_APITABLE[1])) |
|
#define | ROM_AON_IOCTABLE ((uint32_t *)(ROM_APITABLE[2])) |
|
#define | ROM_AON_RTCTABLE ((uint32_t *)(ROM_APITABLE[3])) |
|
#define | ROM_AON_WUCTABLE ((uint32_t *)(ROM_APITABLE[4])) |
|
#define | ROM_AUX_CTRLTABLE ((uint32_t *)(ROM_APITABLE[5])) |
|
#define | ROM_AUX_TDCTABLE ((uint32_t *)(ROM_APITABLE[6])) |
|
#define | ROM_AUX_TIMERTABLE ((uint32_t *)(ROM_APITABLE[7])) |
|
#define | ROM_AUX_WUCTABLE ((uint32_t *)(ROM_APITABLE[8])) |
|
#define | ROM_DDITABLE ((uint32_t *)(ROM_APITABLE[9])) |
|
#define | ROM_FLASHTABLE ((uint32_t *)(ROM_APITABLE[10])) |
|
#define | ROM_I2CTABLE ((uint32_t *)(ROM_APITABLE[11])) |
|
#define | ROM_INTERRUPTTABLE ((uint32_t *)(ROM_APITABLE[12])) |
|
#define | ROM_IOCTABLE ((uint32_t *)(ROM_APITABLE[13])) |
|
#define | ROM_PRCMTABLE ((uint32_t *)(ROM_APITABLE[14])) |
|
#define | ROM_SMPHTABLE ((uint32_t *)(ROM_APITABLE[15])) |
|
#define | ROM_SPISTABLE ((uint32_t *)(ROM_APITABLE[16])) |
|
#define | ROM_SSITABLE ((uint32_t *)(ROM_APITABLE[17])) |
|
#define | ROM_TIMERTABLE ((uint32_t *)(ROM_APITABLE[18])) |
|
#define | ROM_TRNGTABLE ((uint32_t *)(ROM_APITABLE[19])) |
|
#define | ROM_UARTTABLE ((uint32_t *)(ROM_APITABLE[20])) |
|
#define | ROM_UDMATABLE ((uint32_t *)(ROM_APITABLE[21])) |
|
#define | ROM_VIMSTABLE ((uint32_t *)(ROM_APITABLE[22])) |
|
#define | ROM_AONEventMcuWakeUpSet |
|
#define | ROM_AONEventMcuWakeUpGet ((uint32_t (*)(uint32_t ui32MCUWUEvent))ROM_AON_EVENTTABLE[1]) |
|
#define | ROM_AONEventAuxWakeUpSet |
|
#define | ROM_AONEventAuxWakeUpGet ((uint32_t (*)(uint32_t ui32AUXWUEvent))ROM_AON_EVENTTABLE[3]) |
|
#define | ROM_AONEventMcuSet |
|
#define | ROM_AONEventMcuGet ((uint32_t (*)(uint32_t ui32MCUEvent))ROM_AON_EVENTTABLE[5]) |
|
#define | ROM_AONIOCDriveStrengthSet |
|
#define | ROM_AONIOCDriveStrengthGet ((uint32_t (*)(uint32_t ui32DriveLevel))ROM_AON_IOCTABLE[1]) |
|
#define | ROM_AONWUCAuxReset ((void (*)(void))ROM_AON_WUCTABLE[3]) |
|
#define | ROM_AONWUCRechargeCtrlConfigSet |
|
#define | ROM_AONWUCOscConfig ((void (*)(uint32_t ui32Period))ROM_AON_WUCTABLE[5]) |
|
#define | ROM_AUXTDCConfigSet |
|
#define | ROM_AUXTDCMeasurementDone ((uint32_t (*)(uint32_t ui32Base))ROM_AUX_TDCTABLE[1]) |
|
#define | ROM_AUXTimerConfigure |
|
#define | ROM_AUXTimerStart ((void (*)(uint32_t ui32Timer))ROM_AUX_TIMERTABLE[1]) |
|
#define | ROM_AUXTimerStop ((void (*)(uint32_t ui32Timer))ROM_AUX_TIMERTABLE[2]) |
|
#define | ROM_AUXTimerPrescaleSet |
|
#define | ROM_AUXTimerPrescaleGet ((uint32_t (*)(uint32_t ui32Timer))ROM_AUX_TIMERTABLE[4]) |
|
#define | ROM_AUXWUCClockEnable ((void (*)(uint32_t ui32Clocks))ROM_AUX_WUCTABLE[0]) |
|
#define | ROM_AUXWUCClockDisable ((void (*)(uint32_t ui32Clocks))ROM_AUX_WUCTABLE[1]) |
|
#define | ROM_AUXWUCClockStatus ((uint32_t (*)(uint32_t ui32Clocks))ROM_AUX_WUCTABLE[2]) |
|
#define | ROM_AUXWUCPowerCtrl ((void (*)(uint32_t ui32PowerMode))ROM_AUX_WUCTABLE[3]) |
|
#define | ROM_FlashPowerModeGet ((uint32_t (*)(void))ROM_FLASHTABLE[1]) |
|
#define | ROM_FlashProtectionSet |
|
#define | ROM_FlashProtectionGet ((uint32_t (*)(uint32_t ui32SectorAddress))ROM_FLASHTABLE[3]) |
|
#define | ROM_FlashProtectionSave ((uint32_t (*)(uint32_t ui32SectorAddress))ROM_FLASHTABLE[4]) |
|
#define | ROM_FlashEfuseReadRow |
|
#define | ROM_FlashDisableSectorsForWrite ((void (*)(void))ROM_FLASHTABLE[9]) |
|
#define | ROM_I2CMasterInitExpClk |
|
#define | ROM_I2CMasterErr ((uint32_t (*)(uint32_t ui32Base))ROM_I2CTABLE[1]) |
|
#define | ROM_IntPriorityGroupingSet ((void (*)(uint32_t ui32Bits))ROM_INTERRUPTTABLE[0]) |
|
#define | ROM_IntPriorityGroupingGet ((uint32_t (*)(void))ROM_INTERRUPTTABLE[1]) |
|
#define | ROM_IntPrioritySet |
|
#define | ROM_IntPriorityGet ((int32_t (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[3]) |
|
#define | ROM_IntEnable ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[4]) |
|
#define | ROM_IntDisable ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[5]) |
|
#define | ROM_IntPendSet ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[6]) |
|
#define | ROM_IntPendGet ((bool (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[7]) |
|
#define | ROM_IntPendClear ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[8]) |
|
#define | ROM_IOCPortConfigureSet |
|
#define | ROM_IOCPortConfigureGet ((uint32_t (*)(uint32_t ui32IOId))ROM_IOCTABLE[1]) |
|
#define | ROM_IOCIOShutdownSet |
|
#define | ROM_IOCIOModeSet |
|
#define | ROM_IOCIOIntSet |
|
#define | ROM_IOCIOPortPullSet |
|
#define | ROM_IOCIOHystSet |
|
#define | ROM_IOCIOInputSet |
|
#define | ROM_IOCIOSlewCtrlSet |
|
#define | ROM_IOCIODrvStrengthSet |
|
#define | ROM_IOCIOPortIdSet |
|
#define | ROM_IOCIntEnable ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[12]) |
|
#define | ROM_IOCIntDisable ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[13]) |
|
#define | ROM_IOCPinTypeGpioInput ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[14]) |
|
#define | ROM_IOCPinTypeGpioOutput ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[15]) |
|
#define | ROM_IOCPinTypeUart |
|
#define | ROM_IOCPinTypeSsiMaster |
|
#define | ROM_IOCPinTypeSsiSlave |
|
#define | ROM_IOCPinTypeI2c |
|
#define | ROM_IOCPinTypeSpis |
|
#define | ROM_IOCPinTypeAux ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[21]) |
|
#define | ROM_PRCMInfClockConfigureSet |
|
#define | ROM_PRCMInfClockConfigureGet ((uint32_t (*)(uint32_t ui32PowerMode))ROM_PRCMTABLE[1]) |
|
#define | ROM_PRCMAudioClockConfigSet |
|
#define | ROM_PRCMPowerDomainOn ((void (*)(uint32_t ui32Domains))ROM_PRCMTABLE[5]) |
|
#define | ROM_PRCMPowerDomainOff ((void (*)(uint32_t ui32Domains))ROM_PRCMTABLE[6]) |
|
#define | ROM_PRCMPeripheralRunEnable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[7]) |
|
#define | ROM_PRCMPeripheralRunDisable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[8]) |
|
#define | ROM_PRCMPeripheralSleepEnable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[9]) |
|
#define | ROM_PRCMPeripheralSleepDisable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[10]) |
|
#define | ROM_PRCMPeripheralDeepSleepEnable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[11]) |
|
#define | ROM_PRCMPeripheralDeepSleepDisable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[12]) |
|
#define | ROM_PRCMPowerDomainStatus ((uint32_t (*)(uint32_t ui32Domains))ROM_PRCMTABLE[13]) |
|
#define | ROM_PRCMDeepSleep ((void (*)(void))ROM_PRCMTABLE[14]) |
|
#define | ROM_SMPHAcquire ((void (*)(uint32_t ui32Semaphore))ROM_SMPHTABLE[0]) |
|
#define | ROM_SSIConfigSetExpClk |
|
#define | ROM_SSIDataPut |
|
#define | ROM_SSIDataPutNonBlocking |
|
#define | ROM_SSIDataGet |
|
#define | ROM_SSIDataGetNonBlocking |
|
#define | ROM_TimerConfigure |
|
#define | ROM_TimerLevelControl |
|
#define | ROM_TimerStallControl |
|
#define | ROM_TimerWaitOnTriggerControl |
|
#define | ROM_TRNGNumberGet ((uint32_t (*)(uint32_t ui32Word))ROM_TRNGTABLE[1]) |
|
#define | ROM_UARTFIFOLevelGet |
|
#define | ROM_UARTConfigSetExpClk |
|
#define | ROM_UARTConfigGetExpClk |
|
#define | ROM_UARTDisable ((void (*)(uint32_t ui32Base))ROM_UARTTABLE[3]) |
|
#define | ROM_UARTCharGetNonBlocking ((int32_t (*)(uint32_t ui32Base))ROM_UARTTABLE[4]) |
|
#define | ROM_UARTCharGet ((int32_t (*)(uint32_t ui32Base))ROM_UARTTABLE[5]) |
|
#define | ROM_UARTCharPutNonBlocking |
|
#define | ROM_UARTCharPut |
|
#define | ROM_uDMAChannelAttributeEnable |
|
#define | ROM_uDMAChannelAttributeDisable |
|
#define | ROM_uDMAChannelAttributeGet |
|
#define | ROM_uDMAChannelControlSet |
|
#define | ROM_uDMAChannelScatterGatherSet |
|
#define | ROM_uDMAChannelSizeGet |
|
#define | ROM_uDMAChannelModeGet |
|
#define | ROM_VIMSConfigure |
|
#define | ROM_VIMSModeSet |
|
|
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_RESERVED1_T) (uint32_t) |
|
typedef uint32_t(* | FPTR_RESERVED2_T) (void) |
|
typedef uint32_t(* | FPTR_RESERVED3_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_COMPBREF_T) (uint8_t) |
|