TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
arc.h File Reference
#include "reg.h"
#include "status_reg.h"
#include <stdint.h>
#include <zephyr/sys/util_macro.h>

Go to the source code of this file.

Macros

#define ARC_AUX_TIMER_0_COUNT   (0x21)
#define ARC_AUX_TIMER_0_CONTROL   (0x22)
#define ARC_AUX_TIMER_0_LIMIT   (0x23)
#define ARC_CSM_START_ADDR   (0x10000000)
#define ARC_ICCM_START_ADDR   (0x00000000)
#define ARC_AUX_INT_VECTOR_BASE   (0x25)
#define ARC_ICAUSE   (0x40a)
#define ARC_IRQ_SELECT   (0x40b)
#define ARC_IRQ_ENABLE   (0x40c)
#define ARC_IRQ_TRIGGER   (0x40d)
#define ARC_IRQ_PULSE_CANCEL   (0x415)
#define ARC_IRQ_PRIORITY   (0x206)

Functions

static unsigned int ArcGetTimer0 (void)
static void ArcWriteAux (unsigned int addr, unsigned int value)
static unsigned int ArcReadAux (unsigned int addr)
static void _clri (void)
static void _rtie (void)
static void _seti (unsigned int flags)
static void ArcDumpIsrVects (void)
static void ArcSetIsrVect (uint32_t volatile intvec, volatile uint32_t intvec_num)
static void ArcSleep (void)

Macro Definition Documentation

◆ ARC_AUX_INT_VECTOR_BASE

#define ARC_AUX_INT_VECTOR_BASE   (0x25)

◆ ARC_AUX_TIMER_0_CONTROL

#define ARC_AUX_TIMER_0_CONTROL   (0x22)

◆ ARC_AUX_TIMER_0_COUNT

#define ARC_AUX_TIMER_0_COUNT   (0x21)

◆ ARC_AUX_TIMER_0_LIMIT

#define ARC_AUX_TIMER_0_LIMIT   (0x23)

◆ ARC_CSM_START_ADDR

#define ARC_CSM_START_ADDR   (0x10000000)

◆ ARC_ICAUSE

#define ARC_ICAUSE   (0x40a)

◆ ARC_ICCM_START_ADDR

#define ARC_ICCM_START_ADDR   (0x00000000)

◆ ARC_IRQ_ENABLE

#define ARC_IRQ_ENABLE   (0x40c)

◆ ARC_IRQ_PRIORITY

#define ARC_IRQ_PRIORITY   (0x206)

◆ ARC_IRQ_PULSE_CANCEL

#define ARC_IRQ_PULSE_CANCEL   (0x415)

◆ ARC_IRQ_SELECT

#define ARC_IRQ_SELECT   (0x40b)

◆ ARC_IRQ_TRIGGER

#define ARC_IRQ_TRIGGER   (0x40d)

Function Documentation

◆ _clri()

void _clri ( void )
inlinestatic

◆ _rtie()

void _rtie ( void )
inlinestatic

◆ _seti()

void _seti ( unsigned int flags)
inlinestatic

◆ ArcDumpIsrVects()

void ArcDumpIsrVects ( void )
inlinestatic

◆ ArcGetTimer0()

unsigned int ArcGetTimer0 ( void )
inlinestatic

◆ ArcReadAux()

unsigned int ArcReadAux ( unsigned int addr)
inlinestatic

◆ ArcSetIsrVect()

void ArcSetIsrVect ( uint32_t volatile intvec,
volatile uint32_t intvec_num )
inlinestatic

◆ ArcSleep()

void ArcSleep ( void )
inlinestatic

◆ ArcWriteAux()

void ArcWriteAux ( unsigned int addr,
unsigned int value )
inlinestatic