CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Structures | Macros | Typedefs | Functions
rom.h File Reference
`#include <inc/hw_types.h>`

Go to the source code of this file.

## Data Structures
struct | HARD_API_T

## Macros
#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 | HapiResetPeripheral(a) P_HARD_API->ResetPeripheral(a)
#define | HapiResetDomain(a) P_HARD_API->ResetDomain(a)
#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_VDD1P2V 0x01
#define | COMPA_REF_VSSA 0x02
#define | COMPA_REF_VDDA3P3V 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_VDD1P2V 0x03
#define | ADC_COMPB_IN_VSSA 0x04
#define | ADC_COMPB_IN_VDDA3P3V 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_VDD1P2V 0x01
#define | COMPB_REF_VSSA 0x02
#define | COMPB_REF_VDDA3P3V 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_AONRTCStatus ((uint32_t (*)(void))ROM_AON_RTCTABLE[0])
#define | ROM_AONRTCEventClear ((void (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[1])
#define | ROM_AONRTCEventGet ((bool (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[2])
#define | ROM_AONRTCModeCh1Set ((void (*)(uint32_t ui32Mode))ROM_AON_RTCTABLE[3])
#define | ROM_AONRTCModeCh1Get ((uint32_t (*)(void))ROM_AON_RTCTABLE[4])
#define | ROM_AONRTCModeCh2Set ((void (*)(uint32_t ui32Mode))ROM_AON_RTCTABLE[5])
#define | ROM_AONRTCModeCh2Get ((uint32_t (*)(void))ROM_AON_RTCTABLE[6])
#define | ROM_AONRTCChannelEnable ((void (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[7])
#define | ROM_AONRTCChannelDisable ((void (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[8])
#define | ROM_AONRTCCompareValueSet
#define | ROM_AONRTCCompareValueGet ((uint32_t (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[10])
#define | ROM_AONWUCAuxClockConfigSet
#define | ROM_AONWUCAuxSRamConfig ((void (*)(uint32_t ui32Retention))ROM_AON_WUCTABLE[1])
#define | ROM_AONWUCAuxWakeupEvent ((void (*)(uint32_t ui32Mode))ROM_AON_WUCTABLE[2])
#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_PRCMClockConfigureSet
#define | ROM_PRCMClockConfigureGet ((uint32_t (*)(uint32_t ui32Domain))ROM_PRCMTABLE[3])
#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_PRCMRetentionEnable ((void (*)(uint32_t ui32PowerDomain))ROM_PRCMTABLE[15])
#define | ROM_PRCMRetentionDisable ((void (*)(uint32_t ui32PowerDomain))ROM_PRCMTABLE[16])
#define | ROM_SMPHAcquire ((void (*)(uint32_t ui32Semaphore))ROM_SMPHTABLE[0])
#define | ROM_SPISDataPut ((void (*)(uint32_t ui32Data))ROM_SPISTABLE[0])
#define | ROM_SPISTxGetValue ((uint32_t (*)(uint32_t ui32Index))ROM_SPISTABLE[1])
#define | ROM_SPISDataGet ((void (*)(uint32_t *pui32Data))ROM_SPISTABLE[2])
#define | ROM_SPISRxGetValue ((uint32_t (*)(uint32_t ui32Index))ROM_SPISTABLE[3])
#define | ROM_SPISIntStatus ((uint32_t (*)(bool bMasked))ROM_SPISTABLE[4])
#define | ROM_SSIConfigSetExpClk
#define | ROM_SSIDataPut
#define | ROM_SSIDataPutNonBlocking
#define | ROM_SSIDataGet
#define | ROM_SSIDataGetNonBlocking
#define | ROM_TimerConfigure
#define | ROM_TimerLevelControl
#define | ROM_TimerTriggerControl
#define | ROM_TimerStallControl
#define | ROM_TimerWaitOnTriggerControl
#define | ROM_TRNGConfigure
#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
#define | ROM_VIMSModeGet ((uint32_t (*)(uint32_t ui32Base))ROM_VIMSTABLE[2])

## Typedefs
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_RESETPERIPHERAL_T )(uint32_t)
typedef void(* | FPTR_RESETDOMAIN_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)

## Functions
uint32_t | MemBusWrkAroundHapiProgramFlash (uint8_t *pui8DataBuffer, uint32_t ui32Address, uint32_t ui32Count)
uint32_t | MemBusWrkAroundHapiEraseSector (uint32_t ui32Address)
void | SafeHapiAuxAdiSelect (FPTR_VOID_UINT8_T fPtr, uint8_t ut8Signal)

## Macro Definition Documentation

#define __HAPI_H__

Definition at line 56 of file rom.h.

#define ADC_COMPB_IN_AUXIO0 0x10

Definition at line 243 of file rom.h.

#define ADC_COMPB_IN_AUXIO1 0x0F

Definition at line 242 of file rom.h.

#define ADC_COMPB_IN_AUXIO2 0x0E

Definition at line 241 of file rom.h.

#define ADC_COMPB_IN_AUXIO3 0x0D

Definition at line 240 of file rom.h.

#define ADC_COMPB_IN_AUXIO4 0x0C

Definition at line 239 of file rom.h.

#define ADC_COMPB_IN_AUXIO5 0x0B

Definition at line 238 of file rom.h.

#define ADC_COMPB_IN_AUXIO6 0x0A

Definition at line 237 of file rom.h.

#define ADC_COMPB_IN_AUXIO7 0x09

Definition at line 236 of file rom.h.

#define ADC_COMPB_IN_NC 0x00

Definition at line 232 of file rom.h.

#define ADC_COMPB_IN_VDD1P2V 0x03

Definition at line 233 of file rom.h.

#define ADC_COMPB_IN_VDDA3P3V 0x05

Definition at line 235 of file rom.h.

#define ADC_COMPB_IN_VSSA 0x04

Definition at line 234 of file rom.h.

#define COMPA_IN_AUXIO0 0x10

Definition at line 208 of file rom.h.

#define COMPA_IN_AUXIO1 0x0F

Definition at line 207 of file rom.h.

#define COMPA_IN_AUXIO2 0x0E

Definition at line 206 of file rom.h.

#define COMPA_IN_AUXIO3 0x0D

Definition at line 205 of file rom.h.

#define COMPA_IN_AUXIO4 0x0C

Definition at line 204 of file rom.h.

#define COMPA_IN_AUXIO5 0x0B

Definition at line 203 of file rom.h.

#define COMPA_IN_AUXIO6 0x0A

Definition at line 202 of file rom.h.

#define COMPA_IN_AUXIO7 0x09

Definition at line 201 of file rom.h.

#define COMPA_IN_NC 0x00

Definition at line 200 of file rom.h.

#define COMPA_REF_ADCVREFP 0x04

Definition at line 218 of file rom.h.

#define COMPA_REF_AUXIO0 0x10

Definition at line 226 of file rom.h.

#define COMPA_REF_AUXIO1 0x0F

Definition at line 225 of file rom.h.

#define COMPA_REF_AUXIO2 0x0E

Definition at line 224 of file rom.h.

#define COMPA_REF_AUXIO3 0x0D

Definition at line 223 of file rom.h.

#define COMPA_REF_AUXIO4 0x0C

Definition at line 222 of file rom.h.

#define COMPA_REF_AUXIO5 0x0B

Definition at line 221 of file rom.h.

#define COMPA_REF_AUXIO6 0x0A

Definition at line 220 of file rom.h.

#define COMPA_REF_AUXIO7 0x09

Definition at line 219 of file rom.h.

#define COMPA_REF_NC 0x00

Definition at line 214 of file rom.h.

#define COMPA_REF_VDD1P2V 0x01

Definition at line 215 of file rom.h.

#define COMPA_REF_VDDA3P3V 0x03

Definition at line 217 of file rom.h.

#define COMPA_REF_VSSA 0x02

Definition at line 216 of file rom.h.

#define COMPB_REF_NC 0x00

Definition at line 249 of file rom.h.

#define COMPB_REF_VDD1P2V 0x01

Definition at line 250 of file rom.h.

#define COMPB_REF_VDDA3P3V 0x03

Definition at line 252 of file rom.h.

#define COMPB_REF_VSSA 0x02

Definition at line 251 of file rom.h.

#define HapiCrc32 | ( |  | a,
|  |  | b,
|  |  | c
| ) |  | P_HARD_API->Crc32(a,b,c)

Definition at line 175 of file rom.h.

#define HapiFletcher32 | ( |  | a,
|  |  | b,
|  |  | c
| ) |  | P_HARD_API->Fletcher32(a,b,c)

Definition at line 181 of file rom.h.

#define HapiGetChipId | ( |  | ) | P_HARD_API->GetChipId()

Definition at line 177 of file rom.h.

#define HapiGetFlashSize | ( |  | ) | P_HARD_API->FlashGetSize()

Definition at line 176 of file rom.h.

#define HapiHFSourceSafeSwitch | ( |  | ) | P_HARD_API->HFSourceSafeSwitch()

Definition at line 190 of file rom.h.

Referenced by OSCHfSourceSwitch().

#define HapiMaxValue | ( |  | a,
|  |  | b
| ) |  | P_HARD_API->MaxValue(a,b)

Definition at line 183 of file rom.h.

#define HapiMeanValue | ( |  | a,
|  |  | b
| ) |  | P_HARD_API->MeanValue(a,b)

Definition at line 184 of file rom.h.

#define HapiMinValue | ( |  | a,
|  |  | b
| ) |  | P_HARD_API->MinValue(a,b)

Definition at line 182 of file rom.h.

#define HapiProgramFlash | ( |  | a,
|  |  | b,
|  |  | c
| ) |  | MemBusWrkAroundHapiProgramFlash(a,b,c)

Definition at line 179 of file rom.h.

#define HapiResetDevice | ( |  | ) | P_HARD_API->ResetDevice()

Definition at line 180 of file rom.h.

#define HapiResetDomain | ( |  | a | ) | P_HARD_API->ResetDomain(a)

Definition at line 189 of file rom.h.

#define HapiResetPeripheral | ( |  | a | ) | P_HARD_API->ResetPeripheral(a)

Definition at line 187 of file rom.h.

#define HapiSectorErase | ( |  | a | ) | MemBusWrkAroundHapiEraseSector(a)

Definition at line 178 of file rom.h.

#define HapiSelectADCCompBInput | ( |  | a | ) | SafeHapiAuxAdiSelect( P_HARD_API->SelectADCCompBInput, a )

Definition at line 193 of file rom.h.

Referenced by AUXADCSelectInput().

#define HapiSelectCompAInput | ( |  | a | ) | SafeHapiAuxAdiSelect( P_HARD_API->SelectCompAInput , a )

Definition at line 191 of file rom.h.

#define HapiSelectCompARef | ( |  | a | ) | SafeHapiAuxAdiSelect( P_HARD_API->SelectCompARef , a )

Definition at line 192 of file rom.h.

#define HapiSelectCompBRef | ( |  | a | ) | SafeHapiAuxAdiSelect( P_HARD_API->SelectCompBRef , a )

Definition at line 194 of file rom.h.

#define HapiStandDeviationValue | ( |  | a,
|  |  | b
| ) |  | P_HARD_API->StandDeviationValue(a,b)

Definition at line 185 of file rom.h.

#define P_HARD_API ((HARD_API_T*) ROM_HAPI_TABLE_ADDR)

Definition at line 168 of file rom.h.

#define ROM_AON_EVENTTABLE ((uint32_t *)(ROM_APITABLE[1]))

Definition at line 263 of file rom.h.

#define ROM_AON_IOCTABLE ((uint32_t *)(ROM_APITABLE[2]))

Definition at line 264 of file rom.h.

#define ROM_AON_RTCTABLE ((uint32_t *)(ROM_APITABLE[3]))

Definition at line 265 of file rom.h.

#define ROM_AON_WUCTABLE ((uint32_t *)(ROM_APITABLE[4]))

Definition at line 266 of file rom.h.

#define ROM_AONEventAuxWakeUpGet ((uint32_t (*)(uint32_t ui32AUXWUEvent))ROM_AON_EVENTTABLE[3])

Definition at line 303 of file rom.h.

#define ROM_AONEventAuxWakeUpSet

Value:
((void (*)(uint32_t ui32AUXWUEvent, \
uint32_t ui32EventSrc))ROM_AON_EVENTTABLE[2])
ROM_AON_EVENTTABLE
#define ROM_AON_EVENTTABLE
Definition: rom.h:263

Definition at line 299 of file rom.h.

#define ROM_AONEventMcuGet ((uint32_t (*)(uint32_t ui32MCUEvent))ROM_AON_EVENTTABLE[5])

Definition at line 310 of file rom.h.

#define ROM_AONEventMcuSet

Value:
((void (*)(uint32_t ui32MCUEvent, \
uint32_t ui32EventSrc))ROM_AON_EVENTTABLE[4])
ROM_AON_EVENTTABLE
#define ROM_AON_EVENTTABLE
Definition: rom.h:263

Definition at line 306 of file rom.h.

#define ROM_AONEventMcuWakeUpGet ((uint32_t (*)(uint32_t ui32MCUWUEvent))ROM_AON_EVENTTABLE[1])

Definition at line 296 of file rom.h.

#define ROM_AONEventMcuWakeUpSet

Value:
((void (*)(uint32_t ui32MCUWUEvent, \
uint32_t ui32EventSrc))ROM_AON_EVENTTABLE[0])
ROM_AON_EVENTTABLE
#define ROM_AON_EVENTTABLE
Definition: rom.h:263

Definition at line 292 of file rom.h.

#define ROM_AONIOCDriveStrengthGet ((uint32_t (*)(uint32_t ui32DriveLevel))ROM_AON_IOCTABLE[1])

Definition at line 323 of file rom.h.

#define ROM_AONIOCDriveStrengthSet

Value:
((void (*)(uint32_t ui32LowDrvStr, \
uint32_t ui32MedDrvStr, \
uint32_t ui32MaxDrvStr))ROM_AON_IOCTABLE[0])
ROM_AON_IOCTABLE
#define ROM_AON_IOCTABLE
Definition: rom.h:264

Definition at line 318 of file rom.h.

#define ROM_AONRTCChannelDisable ((void (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[8])

Definition at line 355 of file rom.h.

#define ROM_AONRTCChannelEnable ((void (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[7])

Definition at line 352 of file rom.h.

#define ROM_AONRTCCompareValueGet ((uint32_t (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[10])

Definition at line 362 of file rom.h.

#define ROM_AONRTCCompareValueSet

Value:
((void (*)(uint32_t ui32Channel, \
uint32_t ui32CompValue))ROM_AON_RTCTABLE[9])
ROM_AON_RTCTABLE
#define ROM_AON_RTCTABLE
Definition: rom.h:265

Definition at line 358 of file rom.h.

#define ROM_AONRTCEventClear ((void (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[1])

Definition at line 334 of file rom.h.

#define ROM_AONRTCEventGet ((bool (*)(uint32_t ui32Channel))ROM_AON_RTCTABLE[2])

Definition at line 337 of file rom.h.

#define ROM_AONRTCModeCh1Get ((uint32_t (*)(void))ROM_AON_RTCTABLE[4])

Definition at line 343 of file rom.h.

#define ROM_AONRTCModeCh1Set ((void (*)(uint32_t ui32Mode))ROM_AON_RTCTABLE[3])

Definition at line 340 of file rom.h.

#define ROM_AONRTCModeCh2Get ((uint32_t (*)(void))ROM_AON_RTCTABLE[6])

Definition at line 349 of file rom.h.

#define ROM_AONRTCModeCh2Set ((void (*)(uint32_t ui32Mode))ROM_AON_RTCTABLE[5])

Definition at line 346 of file rom.h.

#define ROM_AONRTCStatus ((uint32_t (*)(void))ROM_AON_RTCTABLE[0])

Definition at line 331 of file rom.h.

#define ROM_AONWUCAuxClockConfigSet

Value:
((void (*)(uint32_t ui32ClkSrc, \
uint32_t ui32ClkDiv))ROM_AON_WUCTABLE[0])
ROM_AON_WUCTABLE
#define ROM_AON_WUCTABLE
Definition: rom.h:266

Definition at line 371 of file rom.h.

#define ROM_AONWUCAuxReset ((void (*)(void))ROM_AON_WUCTABLE[3])

Definition at line 381 of file rom.h.

#define ROM_AONWUCAuxSRamConfig ((void (*)(uint32_t ui32Retention))ROM_AON_WUCTABLE[1])

Definition at line 375 of file rom.h.

#define ROM_AONWUCAuxWakeupEvent ((void (*)(uint32_t ui32Mode))ROM_AON_WUCTABLE[2])

Definition at line 378 of file rom.h.

#define ROM_AONWUCOscConfig ((void (*)(uint32_t ui32Period))ROM_AON_WUCTABLE[5])

Definition at line 390 of file rom.h.

#define ROM_AONWUCRechargeCtrlConfigSet

Value:
((void (*)(bool bAdaptEnable, \
uint32_t ui32AdaptRate, \
uint32_t ui32Period, \
uint32_t ui32MaxPeriod))ROM_AON_WUCTABLE[4])
ROM_AON_WUCTABLE
#define ROM_AON_WUCTABLE
Definition: rom.h:266

Definition at line 384 of file rom.h.

#define ROM_APITABLE ((uint32_t *)0x10000180)

Definition at line 261 of file rom.h.

#define ROM_AUX_CTRLTABLE ((uint32_t *)(ROM_APITABLE[5]))

Definition at line 267 of file rom.h.

#define ROM_AUX_TDCTABLE ((uint32_t *)(ROM_APITABLE[6]))

Definition at line 268 of file rom.h.

#define ROM_AUX_TIMERTABLE ((uint32_t *)(ROM_APITABLE[7]))

Definition at line 269 of file rom.h.

#define ROM_AUX_WUCTABLE ((uint32_t *)(ROM_APITABLE[8]))

Definition at line 270 of file rom.h.

#define ROM_AUXTDCConfigSet

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32StartCondition, \
uint32_t ui32StopCondition))ROM_AUX_TDCTABLE[0])
ROM_AUX_TDCTABLE
#define ROM_AUX_TDCTABLE
Definition: rom.h:268

Definition at line 398 of file rom.h.

#define ROM_AUXTDCMeasurementDone ((uint32_t (*)(uint32_t ui32Base))ROM_AUX_TDCTABLE[1])

Definition at line 403 of file rom.h.

#define ROM_AUXTimerConfigure

Value:
((void (*)(uint32_t ui32Timer, \
uint32_t ui32Config))ROM_AUX_TIMERTABLE[0])
ROM_AUX_TIMERTABLE
#define ROM_AUX_TIMERTABLE
Definition: rom.h:269

Definition at line 411 of file rom.h.

#define ROM_AUXTimerPrescaleGet ((uint32_t (*)(uint32_t ui32Timer))ROM_AUX_TIMERTABLE[4])

Definition at line 425 of file rom.h.

#define ROM_AUXTimerPrescaleSet

Value:
((void (*)(uint32_t ui32Timer, \
uint32_t ui32PrescaleDiv))ROM_AUX_TIMERTABLE[3])
ROM_AUX_TIMERTABLE
#define ROM_AUX_TIMERTABLE
Definition: rom.h:269

Definition at line 421 of file rom.h.

#define ROM_AUXTimerStart ((void (*)(uint32_t ui32Timer))ROM_AUX_TIMERTABLE[1])

Definition at line 415 of file rom.h.

#define ROM_AUXTimerStop ((void (*)(uint32_t ui32Timer))ROM_AUX_TIMERTABLE[2])

Definition at line 418 of file rom.h.

#define ROM_AUXWUCClockDisable ((void (*)(uint32_t ui32Clocks))ROM_AUX_WUCTABLE[1])

Definition at line 436 of file rom.h.

#define ROM_AUXWUCClockEnable ((void (*)(uint32_t ui32Clocks))ROM_AUX_WUCTABLE[0])

Definition at line 433 of file rom.h.

#define ROM_AUXWUCClockStatus ((uint32_t (*)(uint32_t ui32Clocks))ROM_AUX_WUCTABLE[2])

Definition at line 439 of file rom.h.

#define ROM_AUXWUCPowerCtrl ((void (*)(uint32_t ui32PowerMode))ROM_AUX_WUCTABLE[3])

Definition at line 442 of file rom.h.

#define ROM_DDITABLE ((uint32_t *)(ROM_APITABLE[9]))

Definition at line 271 of file rom.h.

#define ROM_FlashDisableSectorsForWrite ((void (*)(void))ROM_FLASHTABLE[9])

Definition at line 474 of file rom.h.

#define ROM_FlashEfuseReadRow

Value:
((bool (*)(uint32_t *pui32EfuseData, \
uint32_t ui32RowAddress))ROM_FLASHTABLE[8])
ROM_FLASHTABLE
#define ROM_FLASHTABLE
Definition: rom.h:272

Definition at line 470 of file rom.h.

#define ROM_FlashPowerModeGet ((uint32_t (*)(void))ROM_FLASHTABLE[1])

Definition at line 457 of file rom.h.

#define ROM_FlashProtectionGet ((uint32_t (*)(uint32_t ui32SectorAddress))ROM_FLASHTABLE[3])

Definition at line 464 of file rom.h.

#define ROM_FlashProtectionSave ((uint32_t (*)(uint32_t ui32SectorAddress))ROM_FLASHTABLE[4])

Definition at line 467 of file rom.h.

#define ROM_FlashProtectionSet

Value:
((void (*)(uint32_t ui32SectorAddress, \
uint32_t ui32ProtectMode))ROM_FLASHTABLE[2])
ROM_FLASHTABLE
#define ROM_FLASHTABLE
Definition: rom.h:272

Definition at line 460 of file rom.h.

#define ROM_FLASHTABLE ((uint32_t *)(ROM_APITABLE[10]))

Definition at line 272 of file rom.h.

Referenced by FlashProgram(), and FlashSectorErase().

#define ROM_HAPI_TABLE_ADDR 0x10000048

Definition at line 61 of file rom.h.

Referenced by MemBusWrkAroundHapiEraseSector(), and MemBusWrkAroundHapiProgramFlash().

#define ROM_I2CMasterErr ((uint32_t (*)(uint32_t ui32Base))ROM_I2CTABLE[1])

Definition at line 487 of file rom.h.

#define ROM_I2CMasterInitExpClk

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32I2CClk, \
bool bFast))ROM_I2CTABLE[0])
ROM_I2CTABLE
#define ROM_I2CTABLE
Definition: rom.h:273

Definition at line 482 of file rom.h.

#define ROM_I2CTABLE ((uint32_t *)(ROM_APITABLE[11]))

Definition at line 273 of file rom.h.

#define ROM_IntDisable ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[5])

Definition at line 511 of file rom.h.

#define ROM_IntEnable ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[4])

Definition at line 508 of file rom.h.

#define ROM_INTERRUPTTABLE ((uint32_t *)(ROM_APITABLE[12]))

Definition at line 274 of file rom.h.

#define ROM_IntPendClear ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[8])

Definition at line 520 of file rom.h.

#define ROM_IntPendGet ((bool (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[7])

Definition at line 517 of file rom.h.

#define ROM_IntPendSet ((void (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[6])

Definition at line 514 of file rom.h.

#define ROM_IntPriorityGet ((int32_t (*)(uint32_t ui32Interrupt))ROM_INTERRUPTTABLE[3])

Definition at line 505 of file rom.h.

#define ROM_IntPriorityGroupingGet ((uint32_t (*)(void))ROM_INTERRUPTTABLE[1])

Definition at line 498 of file rom.h.

#define ROM_IntPriorityGroupingSet ((void (*)(uint32_t ui32Bits))ROM_INTERRUPTTABLE[0])

Definition at line 495 of file rom.h.

#define ROM_IntPrioritySet

Value:
((void (*)(uint32_t ui32Interrupt, \
uint8_t ui8Priority))ROM_INTERRUPTTABLE[2])
ROM_INTERRUPTTABLE
#define ROM_INTERRUPTTABLE
Definition: rom.h:274

Definition at line 501 of file rom.h.

#define ROM_IOCIntDisable ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[13])

Definition at line 578 of file rom.h.

#define ROM_IOCIntEnable ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[12])

Definition at line 575 of file rom.h.

#define ROM_IOCIODrvStrengthSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32IOCurrent, \
uint32_t ui32DrvStrength))ROM_IOCTABLE[10])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 566 of file rom.h.

#define ROM_IOCIOHystSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32Hysteresis))ROM_IOCTABLE[7])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 554 of file rom.h.

#define ROM_IOCIOInputSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32Input))ROM_IOCTABLE[8])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 558 of file rom.h.

#define ROM_IOCIOIntSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32Int, \
uint32_t ui32EdgeDet))ROM_IOCTABLE[5])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 545 of file rom.h.

#define ROM_IOCIOModeSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32IOMode))ROM_IOCTABLE[4])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 541 of file rom.h.

#define ROM_IOCIOPortIdSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32PortId))ROM_IOCTABLE[11])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 571 of file rom.h.

#define ROM_IOCIOPortPullSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32Pull))ROM_IOCTABLE[6])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 550 of file rom.h.

#define ROM_IOCIOShutdownSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32IOShutdown))ROM_IOCTABLE[2])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 536 of file rom.h.

#define ROM_IOCIOSlewCtrlSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32SlewEnable))ROM_IOCTABLE[9])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 562 of file rom.h.

#define ROM_IOCPinTypeAux ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[21])

Definition at line 619 of file rom.h.

#define ROM_IOCPinTypeGpioInput ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[14])

Definition at line 581 of file rom.h.

#define ROM_IOCPinTypeGpioOutput ((void (*)(uint32_t ui32IOId))ROM_IOCTABLE[15])

Definition at line 584 of file rom.h.

#define ROM_IOCPinTypeI2c

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Data, \
uint32_t ui32Clk))ROM_IOCTABLE[19])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 608 of file rom.h.

#define ROM_IOCPinTypeSpis

Value:
((void (*)(uint32_t ui32Rx, \
uint32_t ui32Tx, \
uint32_t ui32Fss, \
uint32_t ui32Clk))ROM_IOCTABLE[20])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 613 of file rom.h.

#define ROM_IOCPinTypeSsiMaster

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Rx, \
uint32_t ui32Tx, \
uint32_t ui32Fss, \
uint32_t ui32Clk))ROM_IOCTABLE[17])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 594 of file rom.h.

#define ROM_IOCPinTypeSsiSlave

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Rx, \
uint32_t ui32Tx, \
uint32_t ui32Fss, \
uint32_t ui32Clk))ROM_IOCTABLE[18])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 601 of file rom.h.

#define ROM_IOCPinTypeUart

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Rx, \
uint32_t ui32Tx, \
uint32_t ui32Cts, \
uint32_t ui32Rts))ROM_IOCTABLE[16])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 587 of file rom.h.

#define ROM_IOCPortConfigureGet ((uint32_t (*)(uint32_t ui32IOId))ROM_IOCTABLE[1])

Definition at line 533 of file rom.h.

#define ROM_IOCPortConfigureSet

Value:
((void (*)(uint32_t ui32IOId, \
uint32_t ui32PortId, \
uint32_t ui32IOConfig))ROM_IOCTABLE[0])
ROM_IOCTABLE
#define ROM_IOCTABLE
Definition: rom.h:275

Definition at line 528 of file rom.h.

#define ROM_IOCTABLE ((uint32_t *)(ROM_APITABLE[13]))

Definition at line 275 of file rom.h.

#define ROM_PRCMAudioClockConfigSet

Value:
((void (*)(uint32_t ui32ClkConfig, \
uint32_t ui32SampleRate))ROM_PRCMTABLE[4])
ROM_PRCMTABLE
#define ROM_PRCMTABLE
Definition: rom.h:276

Definition at line 641 of file rom.h.

#define ROM_PRCMClockConfigureGet ((uint32_t (*)(uint32_t ui32Domain))ROM_PRCMTABLE[3])

Definition at line 638 of file rom.h.

#define ROM_PRCMClockConfigureSet

Value:
((void (*)(uint32_t ui32Domains, \
uint32_t ui32ClkDiv))ROM_PRCMTABLE[2])
ROM_PRCMTABLE
#define ROM_PRCMTABLE
Definition: rom.h:276

Definition at line 634 of file rom.h.

#define ROM_PRCMDeepSleep ((void (*)(void))ROM_PRCMTABLE[14])

Definition at line 672 of file rom.h.

#define ROM_PRCMInfClockConfigureGet ((uint32_t (*)(uint32_t ui32PowerMode))ROM_PRCMTABLE[1])

Definition at line 631 of file rom.h.

#define ROM_PRCMInfClockConfigureSet

Value:
((void (*)(uint32_t ui32ClkDiv, \
uint32_t ui32PowerMode))ROM_PRCMTABLE[0])
ROM_PRCMTABLE
#define ROM_PRCMTABLE
Definition: rom.h:276

Definition at line 627 of file rom.h.

#define ROM_PRCMPeripheralDeepSleepDisable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[12])

Definition at line 666 of file rom.h.

#define ROM_PRCMPeripheralDeepSleepEnable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[11])

Definition at line 663 of file rom.h.

#define ROM_PRCMPeripheralRunDisable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[8])

Definition at line 654 of file rom.h.

#define ROM_PRCMPeripheralRunEnable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[7])

Definition at line 651 of file rom.h.

#define ROM_PRCMPeripheralSleepDisable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[10])

Definition at line 660 of file rom.h.

#define ROM_PRCMPeripheralSleepEnable ((void (*)(uint32_t ui32Peripheral))ROM_PRCMTABLE[9])

Definition at line 657 of file rom.h.

#define ROM_PRCMPowerDomainOff ((void (*)(uint32_t ui32Domains))ROM_PRCMTABLE[6])

Definition at line 648 of file rom.h.

#define ROM_PRCMPowerDomainOn ((void (*)(uint32_t ui32Domains))ROM_PRCMTABLE[5])

Definition at line 645 of file rom.h.

#define ROM_PRCMPowerDomainStatus ((uint32_t (*)(uint32_t ui32Domains))ROM_PRCMTABLE[13])

Definition at line 669 of file rom.h.

#define ROM_PRCMRetentionDisable ((void (*)(uint32_t ui32PowerDomain))ROM_PRCMTABLE[16])

Definition at line 678 of file rom.h.

#define ROM_PRCMRetentionEnable ((void (*)(uint32_t ui32PowerDomain))ROM_PRCMTABLE[15])

Definition at line 675 of file rom.h.

#define ROM_PRCMTABLE ((uint32_t *)(ROM_APITABLE[14]))

Definition at line 276 of file rom.h.

#define ROM_SMPHAcquire ((void (*)(uint32_t ui32Semaphore))ROM_SMPHTABLE[0])

Definition at line 686 of file rom.h.

#define ROM_SMPHTABLE ((uint32_t *)(ROM_APITABLE[15]))

Definition at line 277 of file rom.h.

#define ROM_SPISDataGet ((void (*)(uint32_t *pui32Data))ROM_SPISTABLE[2])

Definition at line 700 of file rom.h.

#define ROM_SPISDataPut ((void (*)(uint32_t ui32Data))ROM_SPISTABLE[0])

Definition at line 694 of file rom.h.

#define ROM_SPISIntStatus ((uint32_t (*)(bool bMasked))ROM_SPISTABLE[4])

Definition at line 706 of file rom.h.

#define ROM_SPISRxGetValue ((uint32_t (*)(uint32_t ui32Index))ROM_SPISTABLE[3])

Definition at line 703 of file rom.h.

#define ROM_SPISTABLE ((uint32_t *)(ROM_APITABLE[16]))

Definition at line 278 of file rom.h.

#define ROM_SPISTxGetValue ((uint32_t (*)(uint32_t ui32Index))ROM_SPISTABLE[1])

Definition at line 697 of file rom.h.

#define ROM_SSIConfigSetExpClk

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32SSIClk, \
uint32_t ui32Protocol, \
uint32_t ui32Mode, \
uint32_t ui32BitRate, \
uint32_t ui32DataWidth))ROM_SSITABLE[0])
ROM_SSITABLE
#define ROM_SSITABLE
Definition: rom.h:279

Definition at line 714 of file rom.h.

#define ROM_SSIDataGet

Value:
((void (*)(uint32_t ui32Base, \
uint32_t *pui32Data))ROM_SSITABLE[3])
ROM_SSITABLE
#define ROM_SSITABLE
Definition: rom.h:279

Definition at line 730 of file rom.h.

#define ROM_SSIDataGetNonBlocking

Value:
((int32_t (*)(uint32_t ui32Base, \
uint32_t *pui32Data))ROM_SSITABLE[4])
ROM_SSITABLE
#define ROM_SSITABLE
Definition: rom.h:279

Definition at line 734 of file rom.h.

#define ROM_SSIDataPut

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Data))ROM_SSITABLE[1])
ROM_SSITABLE
#define ROM_SSITABLE
Definition: rom.h:279

Definition at line 722 of file rom.h.

#define ROM_SSIDataPutNonBlocking

Value:
((int32_t (*)(uint32_t ui32Base, \
uint32_t ui32Data))ROM_SSITABLE[2])
ROM_SSITABLE
#define ROM_SSITABLE
Definition: rom.h:279

Definition at line 726 of file rom.h.

#define ROM_SSITABLE ((uint32_t *)(ROM_APITABLE[17]))

Definition at line 279 of file rom.h.

#define ROM_TimerConfigure

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Config))ROM_TIMERTABLE[0])
ROM_TIMERTABLE
#define ROM_TIMERTABLE
Definition: rom.h:280

Definition at line 743 of file rom.h.

#define ROM_TimerLevelControl

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Timer, \
bool bInvert))ROM_TIMERTABLE[1])
ROM_TIMERTABLE
#define ROM_TIMERTABLE
Definition: rom.h:280

Definition at line 747 of file rom.h.

#define ROM_TimerStallControl

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Timer, \
bool bStall))ROM_TIMERTABLE[3])
ROM_TIMERTABLE
#define ROM_TIMERTABLE
Definition: rom.h:280

Definition at line 757 of file rom.h.

#define ROM_TIMERTABLE ((uint32_t *)(ROM_APITABLE[18]))

Definition at line 280 of file rom.h.

#define ROM_TimerTriggerControl

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Timer, \
bool bEnable))ROM_TIMERTABLE[2])
ROM_TIMERTABLE
#define ROM_TIMERTABLE
Definition: rom.h:280

Definition at line 752 of file rom.h.

#define ROM_TimerWaitOnTriggerControl

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Timer, \
bool bWait))ROM_TIMERTABLE[4])
ROM_TIMERTABLE
#define ROM_TIMERTABLE
Definition: rom.h:280

Definition at line 762 of file rom.h.

#define ROM_TRNGConfigure

Value:
((void (*)(uint32_t ui32MinSamplesPerCycle, \
uint32_t ui32MaxSamplesPerCycle, \
uint32_t ui32ClocksPerSample))ROM_TRNGTABLE[0])
ROM_TRNGTABLE
#define ROM_TRNGTABLE
Definition: rom.h:281

Definition at line 772 of file rom.h.

#define ROM_TRNGNumberGet ((uint32_t (*)(uint32_t ui32Word))ROM_TRNGTABLE[1])

Definition at line 777 of file rom.h.

#define ROM_TRNGTABLE ((uint32_t *)(ROM_APITABLE[19]))

Definition at line 281 of file rom.h.

#define ROM_UARTCharGet ((int32_t (*)(uint32_t ui32Base))ROM_UARTTABLE[5])

Definition at line 808 of file rom.h.

#define ROM_UARTCharGetNonBlocking ((int32_t (*)(uint32_t ui32Base))ROM_UARTTABLE[4])

Definition at line 805 of file rom.h.

#define ROM_UARTCharPut

Value:
((void (*)(uint32_t ui32Base, \
uint8_t ui8Data))ROM_UARTTABLE[7])
ROM_UARTTABLE
#define ROM_UARTTABLE
Definition: rom.h:282

Definition at line 815 of file rom.h.

#define ROM_UARTCharPutNonBlocking

Value:
((bool (*)(uint32_t ui32Base, \
uint8_t ui8Data))ROM_UARTTABLE[6])
ROM_UARTTABLE
#define ROM_UARTTABLE
Definition: rom.h:282

Definition at line 811 of file rom.h.

#define ROM_UARTConfigGetExpClk

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32UARTClk, \
uint32_t *pui32Baud, \
uint32_t *pui32Config))ROM_UARTTABLE[2])
ROM_UARTTABLE
#define ROM_UARTTABLE
Definition: rom.h:282

Definition at line 796 of file rom.h.

#define ROM_UARTConfigSetExpClk

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32UARTClk, \
uint32_t ui32Baud, \
uint32_t ui32Config))ROM_UARTTABLE[1])
ROM_UARTTABLE
#define ROM_UARTTABLE
Definition: rom.h:282

Definition at line 790 of file rom.h.

#define ROM_UARTDisable ((void (*)(uint32_t ui32Base))ROM_UARTTABLE[3])

Definition at line 802 of file rom.h.

#define ROM_UARTFIFOLevelGet

Value:
((void (*)(uint32_t ui32Base, \
uint32_t *pui32TxLevel, \
uint32_t *pui32RxLevel))ROM_UARTTABLE[0])
ROM_UARTTABLE
#define ROM_UARTTABLE
Definition: rom.h:282

Definition at line 785 of file rom.h.

#define ROM_UARTTABLE ((uint32_t *)(ROM_APITABLE[20]))

Definition at line 282 of file rom.h.

#define ROM_uDMAChannelAttributeDisable

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32ChannelNum, \
uint32_t ui32Attr))ROM_UDMATABLE[1])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 829 of file rom.h.

#define ROM_uDMAChannelAttributeEnable

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32ChannelNum, \
uint32_t ui32Attr))ROM_UDMATABLE[0])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 824 of file rom.h.

#define ROM_uDMAChannelAttributeGet

Value:
((uint32_t (*)(uint32_t ui32Base, \
uint32_t ui32ChannelNum))ROM_UDMATABLE[2])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 834 of file rom.h.

#define ROM_uDMAChannelControlSet

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32ChannelStructIndex, \
uint32_t ui32Control))ROM_UDMATABLE[3])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 838 of file rom.h.

#define ROM_uDMAChannelModeGet

Value:
((uint32_t (*)(uint32_t ui32Base, \
uint32_t ui32ChannelStructIndex))ROM_UDMATABLE[7])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 854 of file rom.h.

#define ROM_uDMAChannelScatterGatherSet

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32ChannelNum, \
uint32_t ui32TaskCount, \
void *pvTaskList, \
uint32_t ui32IsPeriphSG))ROM_UDMATABLE[5])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 843 of file rom.h.

#define ROM_uDMAChannelSizeGet

Value:
((uint32_t (*)(uint32_t ui32Base, \
uint32_t ui32ChannelStructIndex))ROM_UDMATABLE[6])
ROM_UDMATABLE
#define ROM_UDMATABLE
Definition: rom.h:283

Definition at line 850 of file rom.h.

#define ROM_UDMATABLE ((uint32_t *)(ROM_APITABLE[21]))

Definition at line 283 of file rom.h.

#define ROM_VERSION (ROM_APITABLE[0])

Definition at line 262 of file rom.h.

#define ROM_VIMSConfigure

Value:
((void (*)(uint32_t ui32Base, \
bool bRoundRobin, \
bool bPrefetch))ROM_VIMSTABLE[0])
ROM_VIMSTABLE
#define ROM_VIMSTABLE
Definition: rom.h:284

Definition at line 863 of file rom.h.

#define ROM_VIMSModeGet ((uint32_t (*)(uint32_t ui32Base))ROM_VIMSTABLE[2])

Definition at line 872 of file rom.h.

#define ROM_VIMSModeSet

Value:
((void (*)(uint32_t ui32Base, \
uint32_t ui32Mode))ROM_VIMSTABLE[1])
ROM_VIMSTABLE
#define ROM_VIMSTABLE
Definition: rom.h:284

Definition at line 868 of file rom.h.

#define ROM_VIMSTABLE ((uint32_t *)(ROM_APITABLE[22]))

Definition at line 284 of file rom.h.

## Typedef Documentation

typedef void(* FPTR_ADCCOMPBIN_T)(uint8_t)

Definition at line 128 of file rom.h.

typedef void(* FPTR_COMPAIN_T)(uint8_t)

Definition at line 122 of file rom.h.

typedef void(* FPTR_COMPAREF_T)(uint8_t)

Definition at line 125 of file rom.h.

typedef void(* FPTR_COMPBREF_T)(uint8_t)

Definition at line 131 of file rom.h.

typedef uint32_t(* FPTR_CRC32_T)(uint8_t *, uint32_t, uint32_t)

Definition at line 67 of file rom.h.

typedef uint32_t(* FPTR_FLETCHER32_T)(uint16_t *, uint16_t, uint16_t)

Definition at line 92 of file rom.h.

typedef uint32_t(* FPTR_GETCHIPID_T)(void)

Definition at line 75 of file rom.h.

typedef uint32_t(* FPTR_GETFLSIZE_T)(void)

Definition at line 72 of file rom.h.

typedef void(* FPTR_HFSOURCESAFESWITCH_T)(void)

Definition at line 113 of file rom.h.

typedef uint32_t(* FPTR_MAXVAL_T)(uint32_t *, uint32_t)

Definition at line 101 of file rom.h.

typedef uint32_t(* FPTR_MEANVAL_T)(uint32_t *, uint32_t)

Definition at line 105 of file rom.h.

typedef uint32_t(* FPTR_MINVAL_T)(uint32_t *, uint32_t)

Definition at line 97 of file rom.h.

typedef uint32_t(* FPTR_RESERVED1_T)(uint32_t)

Definition at line 78 of file rom.h.

typedef uint32_t(* FPTR_RESERVED2_T)(void)

Definition at line 81 of file rom.h.

typedef uint32_t(* FPTR_RESERVED3_T)(uint8_t *, uint32_t, uint32_t)

Definition at line 84 of file rom.h.

typedef void(* FPTR_RESETDEV_T)(void)

Definition at line 89 of file rom.h.

typedef void(* FPTR_RESETDOMAIN_T)(uint32_t)

Definition at line 119 of file rom.h.

typedef void(* FPTR_RESETPERIPHERAL_T)(uint32_t)

Definition at line 116 of file rom.h.

typedef uint32_t(* FPTR_STDDVAL_T)(uint32_t *, uint32_t)

Definition at line 109 of file rom.h.

## Function Documentation

uint32_t MemBusWrkAroundHapiEraseSector | ( | uint32_t | ui32Address | ) |

Definition at line 747 of file flash.c.

uint32_t MemBusWrkAroundHapiProgramFlash | ( | uint8_t * | pui8DataBuffer,
|  | uint32_t | ui32Address,
|  | uint32_t | ui32Count
| ) |  |

Definition at line 717 of file flash.c.

void SafeHapiAuxAdiSelect | ( | FPTR_VOID_UINT8_T | fPtr,
|  | uint8_t | ut8Signal
| ) |  |

Definition at line 53 of file adi.c.