📄 rom_map.h
字号:
#define MAP_EthernetInitExpClk \
EthernetInitExpClk
#endif
#ifdef ROM_EthernetConfigSet
#define MAP_EthernetConfigSet \
ROM_EthernetConfigSet
#else
#define MAP_EthernetConfigSet \
EthernetConfigSet
#endif
#ifdef ROM_EthernetConfigGet
#define MAP_EthernetConfigGet \
ROM_EthernetConfigGet
#else
#define MAP_EthernetConfigGet \
EthernetConfigGet
#endif
#ifdef ROM_EthernetMACAddrSet
#define MAP_EthernetMACAddrSet \
ROM_EthernetMACAddrSet
#else
#define MAP_EthernetMACAddrSet \
EthernetMACAddrSet
#endif
#ifdef ROM_EthernetMACAddrGet
#define MAP_EthernetMACAddrGet \
ROM_EthernetMACAddrGet
#else
#define MAP_EthernetMACAddrGet \
EthernetMACAddrGet
#endif
#ifdef ROM_EthernetEnable
#define MAP_EthernetEnable \
ROM_EthernetEnable
#else
#define MAP_EthernetEnable \
EthernetEnable
#endif
#ifdef ROM_EthernetDisable
#define MAP_EthernetDisable \
ROM_EthernetDisable
#else
#define MAP_EthernetDisable \
EthernetDisable
#endif
#ifdef ROM_EthernetPacketAvail
#define MAP_EthernetPacketAvail \
ROM_EthernetPacketAvail
#else
#define MAP_EthernetPacketAvail \
EthernetPacketAvail
#endif
#ifdef ROM_EthernetSpaceAvail
#define MAP_EthernetSpaceAvail \
ROM_EthernetSpaceAvail
#else
#define MAP_EthernetSpaceAvail \
EthernetSpaceAvail
#endif
#ifdef ROM_EthernetPacketGetNonBlocking
#define MAP_EthernetPacketGetNonBlocking \
ROM_EthernetPacketGetNonBlocking
#else
#define MAP_EthernetPacketGetNonBlocking \
EthernetPacketGetNonBlocking
#endif
#ifdef ROM_EthernetPacketGet
#define MAP_EthernetPacketGet \
ROM_EthernetPacketGet
#else
#define MAP_EthernetPacketGet \
EthernetPacketGet
#endif
#ifdef ROM_EthernetPacketPutNonBlocking
#define MAP_EthernetPacketPutNonBlocking \
ROM_EthernetPacketPutNonBlocking
#else
#define MAP_EthernetPacketPutNonBlocking \
EthernetPacketPutNonBlocking
#endif
#ifdef ROM_EthernetPacketPut
#define MAP_EthernetPacketPut \
ROM_EthernetPacketPut
#else
#define MAP_EthernetPacketPut \
EthernetPacketPut
#endif
#ifdef ROM_EthernetIntEnable
#define MAP_EthernetIntEnable \
ROM_EthernetIntEnable
#else
#define MAP_EthernetIntEnable \
EthernetIntEnable
#endif
#ifdef ROM_EthernetIntDisable
#define MAP_EthernetIntDisable \
ROM_EthernetIntDisable
#else
#define MAP_EthernetIntDisable \
EthernetIntDisable
#endif
#ifdef ROM_EthernetIntStatus
#define MAP_EthernetIntStatus \
ROM_EthernetIntStatus
#else
#define MAP_EthernetIntStatus \
EthernetIntStatus
#endif
#ifdef ROM_EthernetPHYWrite
#define MAP_EthernetPHYWrite \
ROM_EthernetPHYWrite
#else
#define MAP_EthernetPHYWrite \
EthernetPHYWrite
#endif
#ifdef ROM_EthernetPHYRead
#define MAP_EthernetPHYRead \
ROM_EthernetPHYRead
#else
#define MAP_EthernetPHYRead \
EthernetPHYRead
#endif
//*****************************************************************************
//
// Macros for the Flash API.
//
//*****************************************************************************
#ifdef ROM_FlashProgram
#define MAP_FlashProgram \
ROM_FlashProgram
#else
#define MAP_FlashProgram \
FlashProgram
#endif
#ifdef ROM_FlashUsecGet
#define MAP_FlashUsecGet \
ROM_FlashUsecGet
#else
#define MAP_FlashUsecGet \
FlashUsecGet
#endif
#ifdef ROM_FlashUsecSet
#define MAP_FlashUsecSet \
ROM_FlashUsecSet
#else
#define MAP_FlashUsecSet \
FlashUsecSet
#endif
#ifdef ROM_FlashErase
#define MAP_FlashErase \
ROM_FlashErase
#else
#define MAP_FlashErase \
FlashErase
#endif
#ifdef ROM_FlashProtectGet
#define MAP_FlashProtectGet \
ROM_FlashProtectGet
#else
#define MAP_FlashProtectGet \
FlashProtectGet
#endif
#ifdef ROM_FlashProtectSet
#define MAP_FlashProtectSet \
ROM_FlashProtectSet
#else
#define MAP_FlashProtectSet \
FlashProtectSet
#endif
#ifdef ROM_FlashProtectSave
#define MAP_FlashProtectSave \
ROM_FlashProtectSave
#else
#define MAP_FlashProtectSave \
FlashProtectSave
#endif
#ifdef ROM_FlashUserGet
#define MAP_FlashUserGet \
ROM_FlashUserGet
#else
#define MAP_FlashUserGet \
FlashUserGet
#endif
#ifdef ROM_FlashUserSet
#define MAP_FlashUserSet \
ROM_FlashUserSet
#else
#define MAP_FlashUserSet \
FlashUserSet
#endif
#ifdef ROM_FlashUserSave
#define MAP_FlashUserSave \
ROM_FlashUserSave
#else
#define MAP_FlashUserSave \
FlashUserSave
#endif
#ifdef ROM_FlashIntEnable
#define MAP_FlashIntEnable \
ROM_FlashIntEnable
#else
#define MAP_FlashIntEnable \
FlashIntEnable
#endif
#ifdef ROM_FlashIntDisable
#define MAP_FlashIntDisable \
ROM_FlashIntDisable
#else
#define MAP_FlashIntDisable \
FlashIntDisable
#endif
#ifdef ROM_FlashIntStatus
#define MAP_FlashIntStatus \
ROM_FlashIntStatus
#else
#define MAP_FlashIntStatus \
FlashIntStatus
#endif
#ifdef ROM_FlashIntClear
#define MAP_FlashIntClear \
ROM_FlashIntClear
#else
#define MAP_FlashIntClear \
FlashIntClear
#endif
//*****************************************************************************
//
// Macros for the GPIO API.
//
//*****************************************************************************
#ifdef ROM_GPIOPinWrite
#define MAP_GPIOPinWrite \
ROM_GPIOPinWrite
#else
#define MAP_GPIOPinWrite \
GPIOPinWrite
#endif
#ifdef ROM_GPIODirModeSet
#define MAP_GPIODirModeSet \
ROM_GPIODirModeSet
#else
#define MAP_GPIODirModeSet \
GPIODirModeSet
#endif
#ifdef ROM_GPIODirModeGet
#define MAP_GPIODirModeGet \
ROM_GPIODirModeGet
#else
#define MAP_GPIODirModeGet \
GPIODirModeGet
#endif
#ifdef ROM_GPIOIntTypeSet
#define MAP_GPIOIntTypeSet \
ROM_GPIOIntTypeSet
#else
#define MAP_GPIOIntTypeSet \
GPIOIntTypeSet
#endif
#ifdef ROM_GPIOIntTypeGet
#define MAP_GPIOIntTypeGet \
ROM_GPIOIntTypeGet
#else
#define MAP_GPIOIntTypeGet \
GPIOIntTypeGet
#endif
#ifdef ROM_GPIOPadConfigSet
#define MAP_GPIOPadConfigSet \
ROM_GPIOPadConfigSet
#else
#define MAP_GPIOPadConfigSet \
GPIOPadConfigSet
#endif
#ifdef ROM_GPIOPadConfigGet
#define MAP_GPIOPadConfigGet \
ROM_GPIOPadConfigGet
#else
#define MAP_GPIOPadConfigGet \
GPIOPadConfigGet
#endif
#ifdef ROM_GPIOPinIntEnable
#define MAP_GPIOPinIntEnable \
ROM_GPIOPinIntEnable
#else
#define MAP_GPIOPinIntEnable \
GPIOPinIntEnable
#endif
#ifdef ROM_GPIOPinIntDisable
#define MAP_GPIOPinIntDisable \
ROM_GPIOPinIntDisable
#else
#define MAP_GPIOPinIntDisable \
GPIOPinIntDisable
#endif
#ifdef ROM_GPIOPinIntStatus
#define MAP_GPIOPinIntStatus \
ROM_GPIOPinIntStatus
#else
#define MAP_GPIOPinIntStatus \
GPIOPinIntStatus
#endif
#ifdef ROM_GPIOPinIntClear
#define MAP_GPIOPinIntClear \
ROM_GPIOPinIntClear
#else
#define MAP_GPIOPinIntClear \
GPIOPinIntClear
#endif
#ifdef ROM_GPIOPinRead
#define MAP_GPIOPinRead \
ROM_GPIOPinRead
#else
#define MAP_GPIOPinRead \
GPIOPinRead
#endif
#ifdef ROM_GPIOPinTypeCAN
#define MAP_GPIOPinTypeCAN \
ROM_GPIOPinTypeCAN
#else
#define MAP_GPIOPinTypeCAN \
GPIOPinTypeCAN
#endif
#ifdef ROM_GPIOPinTypeComparator
#define MAP_GPIOPinTypeComparator \
ROM_GPIOPinTypeComparator
#else
#define MAP_GPIOPinTypeComparator \
GPIOPinTypeComparator
#endif
#ifdef ROM_GPIOPinTypeGPIOInput
#define MAP_GPIOPinTypeGPIOInput \
ROM_GPIOPinTypeGPIOInput
#else
#define MAP_GPIOPinTypeGPIOInput \
GPIOPinTypeGPIOInput
#endif
#ifdef ROM_GPIOPinTypeGPIOOutput
#define MAP_GPIOPinTypeGPIOOutput \
ROM_GPIOPinTypeGPIOOutput
#else
#define MAP_GPIOPinTypeGPIOOutput \
GPIOPinTypeGPIOOutput
#endif
#ifdef ROM_GPIOPinTypeI2C
#define MAP_GPIOPinTypeI2C \
ROM_GPIOPinTypeI2C
#else
#define MAP_GPIOPinTypeI2C \
GPIOPinTypeI2C
#endif
#ifdef ROM_GPIOPinTypePWM
#define MAP_GPIOPinTypePWM \
ROM_GPIOPinTypePWM
#else
#define MAP_GPIOPinTypePWM \
GPIOPinTypePWM
#endif
#ifdef ROM_GPIOPinTypeQEI
#define MAP_GPIOPinTypeQEI \
ROM_GPIOPinTypeQEI
#else
#define MAP_GPIOPinTypeQEI \
GPIOPinTypeQEI
#endif
#ifdef ROM_GPIOPinTypeSSI
#define MAP_GPIOPinTypeSSI \
ROM_GPIOPinTypeSSI
#else
#define MAP_GPIOPinTypeSSI \
GPIOPinTypeSSI
#endif
#ifdef ROM_GPIOPinTypeTimer
#define MAP_GPIOPinTypeTimer \
ROM_GPIOPinTypeTimer
#else
#define MAP_GPIOPinTypeTimer \
GPIOPinTypeTimer
#endif
#ifdef ROM_GPIOPinTypeUART
#define MAP_GPIOPinTypeUART \
ROM_GPIOPinTypeUART
#else
#define MAP_GPIOPinTypeUART \
GPIOPinTypeUART
#endif
#ifdef ROM_GPIOPinTypeGPIOOutputOD
#define MAP_GPIOPinTypeGPIOOutputOD \
ROM_GPIOPinTypeGPIOOutputOD
#else
#define MAP_GPIOPinTypeGPIOOutputOD \
GPIOPinTypeGPIOOutputOD
#endif
#ifdef ROM_GPIOPinTypeADC
#define MAP_GPIOPinTypeADC \
ROM_GPIOPinTypeADC
#else
#define MAP_GPIOPinTypeADC \
GPIOPinTypeADC
#endif
#ifdef ROM_GPIOPinTypeUSBDigital
#define MAP_GPIOPinTypeUSBDigital \
ROM_GPIOPinTypeUSBDigital
#else
#define MAP_GPIOPinTypeUSBDigital \
GPIOPinTypeUSBDigital
#endif
#ifdef ROM_GPIOPinTypeI2S
#define MAP_GPIOPinTypeI2S \
ROM_GPIOPinTypeI2S
#else
#define MAP_GPIOPinTypeI2S \
GPIOPinTypeI2S
#endif
#ifdef ROM_GPIOPinConfigure
#define MAP_GPIOPinConfigure \
ROM_GPIOPinConfigure
#else
#define MAP_GPIOPinConfigure \
GPIOPinConfigure
#endif
#ifdef ROM_GPIOPinTypeEthernetLED
#define MAP_GPIOPinTypeEthernetLED \
ROM_GPIOPinTypeEthernetLED
#else
#define MAP_GPIOPinTypeEthernetLED \
GPIOPinTypeEthernetLED
#endif
#ifdef ROM_GPIOPinTypeUSBAnalog
#define MAP_GPIOPinTypeUSBAnalog \
ROM_GPIOPinTypeUSBAnalog
#else
#define MAP_GPIOPinTypeUSBAnalog \
GPIOPinTypeUSBAnalog
#endif
//*****************************************************************************
//
// Macros for the Hibernate API.
//
//*****************************************************************************
#ifdef ROM_HibernateIntClear
#define MAP_HibernateIntClear \
ROM_HibernateIntClear
#else
#define MAP_HibernateIntClear \
HibernateIntClear
#endif
#ifdef ROM_HibernateEnableExpClk
#define MAP_HibernateEnableExpClk \
ROM_HibernateEnableExpClk
#else
#define MAP_HibernateEnableExpClk \
HibernateEnableExpClk
#endif
#ifdef ROM_HibernateDisable
#define MAP_HibernateDisable \
ROM_HibernateDisable
#else
#define MAP_HibernateDisable \
HibernateDisable
#endif
#ifdef ROM_HibernateClockSelect
#define MAP_HibernateClockSelect \
ROM_HibernateClockSelect
#else
#define MAP_HibernateClockSelect \
HibernateClockSelect
#endif
#ifdef ROM_HibernateRTCEnable
#define MAP_HibernateRTCEnable \
ROM_HibernateRTCEnable
#else
#define MAP_HibernateRTCEnable \
HibernateRTCEnable
#endif
#ifdef ROM_HibernateRTCDisable
#define MAP_HibernateRTCDisable \
ROM_HibernateRTCDisable
#else
#define MAP_HibernateRTCDisable \
HibernateRTCDisable
#endif
#ifdef ROM_HibernateWakeSet
#define MAP_HibernateWakeSet \
ROM_HibernateWakeSet
#else
#define MAP_HibernateWakeSet \
HibernateWakeSet
#endif
#ifdef ROM_HibernateWakeGet
#define MAP_HibernateWakeGet \
ROM_HibernateWakeGet
#else
#define MAP_HibernateWakeGet \
HibernateWakeGet
#endif
#ifdef ROM_HibernateLowBatSet
#define MAP_HibernateLowBatSet \
ROM_HibernateLowBatSet
#else
#define MAP_HibernateLowBatSet \
HibernateLowBatSet
#endif
#ifdef ROM_HibernateLowBatGet
#define MAP_HibernateLowBatGet \
ROM_HibernateLowBatGet
#else
#define MAP_HibernateLowBatGet \
HibernateLowBatGet
#endif
#ifdef ROM_HibernateRTCSet
#define MAP_HibernateRTCSet \
ROM_HibernateRTCSet
#else
#define MAP_HibernateRTCSet \
HibernateRTCSet
#endif
#ifdef ROM_HibernateRTCGet
#define MAP_HibernateRTCGet \
ROM_HibernateRTCGet
#else
#define MAP_HibernateRTCGet \
HibernateRTCGet
#endif
#ifdef ROM_HibernateRTCMatch0Set
#define MAP_HibernateRTCMatch0Set \
ROM_HibernateRTCMatch0Set
#else
#define MAP_HibernateRTCMatch0Set \
HibernateRTCMatch0Set
#endif
#ifdef ROM_HibernateRTCMatch0Get
#define MAP_HibernateRTCMatch0Get \
ROM_HibernateRTCMatch0Get
#else
#define MAP_HibernateRTCMatch0Get \
HibernateRTCMatch0Get
#endif
#ifdef ROM_HibernateRTCMatch1Set
#define MAP_HibernateRTCMatch1Set \
ROM_HibernateRTCMatch1Set
#else
#define MAP_HibernateRTCMatch1Set \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -