Go to the source code of this file.
Defines | |
#define | ARM_MODE_USER 0x10 |
#define | ARM_MODE_FIQ 0x11 |
#define | ARM_MODE_IRQ 0x12 |
#define | ARM_MODE_SVC 0x13 |
#define | ARM_MODE_ABORT 0x17 |
#define | ARM_MODE_UNDEF 0x1B |
#define | ARM_MODE_SYS 0x1F |
#define | ARM_MODE_MASK 0x1F |
#define | I_BIT 0x80 |
#define | ARM_CPSR_I_BIT 0x80 |
#define | F_BIT 0x40 |
#define | ARM_CPSR_F_BIT 0x40 |
#define | T_BIT 0x20 |
#define | ARM_CPSR_T_BIT 0x20 |
#define | CONST const |
#define | INLINE inline |
#define | PSTR(p) (p) |
#define | PRG_RDB(p) (*((const char *)(p))) |
#define | prog_char const char |
#define | PGM_P prog_char * |
#define | SIGNAL(x) __attribute__((interrupt_handler)) void x(void) |
#define | RAMFUNC __attribute__ ((long_call, section (".ramfunc"))) |
#define | main NutAppMain |
#define | strlen_P(x) strlen((char *)(x)) |
#define | strcpy_P(x, y) strcpy(x,(char *)(y)) |
#define | strcmp_P(x, y) strcmp((char *)(x), (char *)(y)) |
#define | memcpy_P(x, y, z) memcpy(x, y, z) |
#define | _NOP() __asm__ __volatile__ ("mov r0, r0 @ _NOP") |
#define | outb(_reg, _val) (*((volatile unsigned char *)(_reg)) = (_val)) |
#define | outw(_reg, _val) (*((volatile unsigned short *)(_reg)) = (_val)) |
#define | outr(_reg, _val) (*((volatile unsigned int *)(_reg)) = (_val)) |
#define | inb(_reg) (*((volatile unsigned char *)(_reg))) |
#define | inw(_reg) (*((volatile unsigned short *)(_reg))) |
#define | inr(_reg) (*((volatile unsigned int *)(_reg))) |
#define | _BV(bit) (1 << (bit)) |
#define | _SFR_MEM8(addr) (addr) |
#define | _SFR_MEM16(addr) (addr) |
#define | ARM_SET_CP15_CR(val) __asm__ __volatile__("mcr p15, 0, %0, c1, c0, 0" :: "r"(val) : "cc") |
#define | ARM_GET_CP15_CR() |
Variables | |
void * | __bss_end |
End of uninitialised data segment. Defined in the linker script. | |
void * | __stack |
Begin of the stack segment. Defined in the linker script. |
#define ARM_MODE_SYS 0x1F |
#define ARM_CPSR_I_BIT 0x80 |
#define ARM_CPSR_F_BIT 0x40 |
#define ARM_CPSR_T_BIT 0x20 |
#define CONST const |
Definition at line 143 of file arm.h.
Referenced by _open(), AcePut(), AceWrite_P(), AhdlcAt91Put(), AhdlcAt91Write_P(), AhdlcAvrPut(), AhdlcAvrWrite_P(), AsnBitStringParse(), AsnHeaderParse(), AsnIntegerParse(), AsnNullParse(), AsnOctetStringParse(), AsnOidBuild(), AsnOidParse(), AsnUnsigned64Parse(), AsnUnsignedParse(), basename(), DebugWrite(), dirname(), DS1307RamWrite(), ether_aton(), memchr(), memcmp(), memcpy(), NutBlockDeviceWrite(), NutCgiCheckRequest(), opendir(), PhatDirDelEntry(), PhatDirEntryStatus(), PhatDirRenameEntry(), PhatFileOpen(), rename(), Sbbi0Transact(), SnmpAgentProcessRequest(), SnmpVarParse(), Sppi0Transact(), stat(), stricmp(), strlen(), strncat(), strncpy(), strnicmp(), strtol(), strtoul(), TermWrite_P(), UartAvrPut(), UartAvrWrite_P(), UsartWrite_P(), VsCodecBeep(), VsCodecWrite(), vsscanf(), vsscanf_P(), and X12EepromWrite().
#define PSTR | ( | p | ) | (p) |
Definition at line 154 of file arm.h.
Referenced by cs8900Init(), cs8900Output(), CSNicInit(), CSNicOutput(), CSNICrx(), ShowForm(), and SSIDemoCGI().
#define PRG_RDB | ( | p | ) | (*((const char *)(p))) |
Definition at line 155 of file arm.h.
Referenced by AcePut(), AhdlcAt91Put(), AhdlcAvrPut(), AhdlcRx(), and UartAvrPut().
#define prog_char const char |
Definition at line 157 of file arm.h.
Referenced by NutChatExpectString(), NutDumpHeap(), NutDumpSocketList(), NutDumpTcpHeader(), NutDumpThreadList(), NutDumpThreadQueue(), NutDumpTimerList(), NutFtpRespondBad(), NutFtpRespondOk(), NutFtpSendMode(), NutHttpSendError(), NutHttpSendHeaderBottom(), NutHttpSendHeaderTop(), NutTraceChat(), ShowForm(), VsBeep(), and VsMemoryTest().
#define PGM_P prog_char * |
Definition at line 158 of file arm.h.
Referenced by _putf(), NutBlockDeviceWrite_P(), and sscanf_P().
#define SIGNAL | ( | x | ) | __attribute__((interrupt_handler)) void x(void) |
#define RAMFUNC __attribute__ ((long_call, section (".ramfunc"))) |
#define main NutAppMain |
Definition at line 164 of file arm.h.
Referenced by NutIdle().
#define strlen_P | ( | x | ) | strlen((char *)(x)) |
Definition at line 167 of file arm.h.
Referenced by _putf(), fputs_P(), NutChat_P(), vfprintf_P(), vfscanf_P(), vsprintf_P(), vsscanf_P(), and vsyslog_P().
#define strcpy_P | ( | x, | |||
y | ) | strcpy(x,(char *)(y)) |
#define strcmp_P | ( | x, | |||
y | ) | strcmp((char *)(x), (char *)(y)) |
#define memcpy_P | ( | x, | |||
y, | |||||
z | ) | memcpy(x, y, z) |
Definition at line 171 of file arm.h.
Referenced by NutTcpDeviceWrite_P(), vfprintf_P(), vfscanf_P(), vsprintf_P(), and vsscanf_P().
#define _NOP | ( | ) | __asm__ __volatile__ ("mov r0, r0 @ _NOP") |
Definition at line 187 of file arm.h.
Referenced by Delay16Cycles(), NutMicroDelay(), and VsPlayerReset().
#define outb | ( | _reg, | |||
_val | ) | (*((volatile unsigned char *)(_reg)) = (_val)) |
Definition at line 193 of file arm.h.
Referenced by ADCSetChannel(), At91SpiBus0Interrupt(), AvrSpiBus0Select(), AvrSpiBus0Transfer(), GpioPortConfigSet(), GpioPortSet(), NplSpiBusPollTransfer(), NplUledCntl(), NutIrInitSony(), NutRegisterTimer(), SIG_OVERFLOW2(), Sppi0Byte(), Sppi0Enable(), TwInit(), TwIOCtl(), TwMasterRegWrite(), TwMasterTransact(), TwSlaveListen(), TwSlaveRespond(), VsPlayerInit(), and VsPlayerReset().
#define outw | ( | _reg, | |||
_val | ) | (*((volatile unsigned short *)(_reg)) = (_val)) |
#define outr | ( | _reg, | |||
_val | ) | (*((volatile unsigned int *)(_reg)) = (_val)) |
Definition at line 195 of file arm.h.
Referenced by ADCDisableChannel(), ADCEnableChannel(), ADCInit(), ADCSetMode(), ADCSetPrescale(), ADCStartConversion(), AhdlcAt91Init(), AhdlcAt91IOCtl(), AhdlcAt91Open(), AhdlcAt91Put(), AsixInit(), At91EfcCmd(), At91EfcSectorWrite(), At91Reset(), At91Spi0Enable(), At91Spi0Init(), At91Spi0InitChipSelects(), At91SpiBus0Select(), At91SpiBus0Transfer(), At91SpiBusNodeInit(), At91SpiDisable(), At91SpiEnable(), At91SpiReset(), At91SpiSetBits(), At91SpiSetCsDelay(), At91SpiSetModeFlags(), At91SpiSetRate(), At91SpiSetSckDelay(), At91SpiSetTxDelay(), At91SpiTransfer2(), At91WatchDogDisable(), At91WatchDogEnable(), At91WatchDogRestart(), At91WatchDogStart(), DmInit(), EmacOutput(), EmacRxThread(), FeederThread(), GpioPinSetHigh(), GpioPinSetLow(), GpioPortConfigSet(), GpioPortSetHigh(), GpioPortSetLow(), McuInit(), NicRxLanc(), NplRegisterIrqHandler(), NutInit(), NutRegisterTimer(), TwInit(), TwIOCtl(), TwMasterRegRead(), TwMasterRegWrite(), and TwMasterTransact().
#define inb | ( | _reg | ) | (*((volatile unsigned char *)(_reg))) |
Definition at line 197 of file arm.h.
Referenced by ADCSetChannel(), At91SpiBus0Interrupt(), AvrSpiBus0Select(), AvrSpiBus0Transfer(), GpioPinConfigGet(), GpioPortConfigSet(), GpioPortGet(), NplSpiBusPollTransfer(), NplUledCntl(), NplUledStatus(), NutRegisterTimer(), SIG_INTERRUPT4(), Sppi0Byte(), Sppi0Enable(), TwIOCtl(), TwMasterTransact(), TwSlaveListen(), and TwSlaveRespond().
#define inr | ( | _reg | ) | (*((volatile unsigned int *)(_reg))) |
Definition at line 199 of file arm.h.
Referenced by ADCSetMode(), ADCSetPrescale(), AhdlcAt91IOCtl(), At91EfcCmd(), At91EfcSectorWrite(), At91ResetCause(), At91SpiBusWait(), At91SpiGetBits(), At91SpiGetCsDelay(), At91SpiGetModeFlags(), At91SpiGetSckDelay(), At91SpiGetTxDelay(), At91SpiSetBits(), At91SpiSetCsDelay(), At91SpiSetModeFlags(), At91SpiSetRate(), At91SpiSetSckDelay(), At91SpiSetTxDelay(), At91SpiTransfer2(), At91WatchDogDisable(), At91WatchDogEnable(), EmacOutput(), GpioPinConfigGet(), GpioPinGet(), GpioPortGet(), NutGetTickClock(), NutRegisterTimer(), and TwIOCtl().
#define _BV | ( | bit | ) | (1 << (bit)) |
Definition at line 201 of file arm.h.
Referenced by ADCDisableChannel(), ADCEnableChannel(), ADCInit(), ADCStartLowNoiseConversion(), AhdlcAt91Init(), AsixInit(), At45dbInit(), At91Spi0Init(), At91Spi0InitChipSelects(), At91SpiBus0Select(), AtCanEnableMsgObj(), AtCanGetBusState(), AtCanGetFreeMob(), AtCanInit(), AtCanSendMsg(), AvrSpiBus0Select(), AvrSpiSetup(), DebugInit(), DmInit(), FeederThread(), GpioPinConfigGet(), GpioPinConfigSet(), GpioPinGet(), GpioPinSetHigh(), GpioPinSetLow(), GpioPortConfigSet(), IDEInit(), NicRxLanc(), NplRegisterIrqHandler(), NutIdle(), NutRegisterTimer(), SIG_INTERRUPT4(), Sppi0Enable(), Sppi0SetMode(), Sppi0SetSpeed(), TwInit(), TwMasterTransact(), TwSlaveListen(), and TwSlaveRespond().
#define ARM_SET_CP15_CR | ( | val | ) | __asm__ __volatile__("mcr p15, 0, %0, c1, c0, 0" :: "r"(val) : "cc") |
#define ARM_GET_CP15_CR | ( | ) |
void* __bss_end |
End of uninitialised data segment. Defined in the linker script.
void* __stack |
Begin of the stack segment. Defined in the linker script.