uC chip interface arduino  0.9.0
A interface for async and neuromrphic IC testing
Loading...
Searching...
No Matches
AER_from_chip Class Reference

#include <interface_AER_from_chip.h>

Collaboration diagram for AER_from_chip:

Public Member Functions

void ackWrite (bool val) volatile
 
 AER_from_chip (uint8_t id, uint8_t reqPin, uint8_t ackPin, volatile uint8_t dataPins[], uint8_t numDataPins, uint8_t delay=0, bool activeLow=false, bool dataActiveLow=false, uint8_t type=ASYNC_4Phase_Chigh_Dhigh)
 
void handshake ()
 
void recordEvent () volatile
 
bool reqRead () volatile
 

Static Public Member Functions

static void configure (uint8_t id, uint8_t config, uint8_t data)
 

Static Public Attributes

static volatile uint8_t ack_pin [8] = {}
 
static volatile bool active [8] = {}
 
static volatile bool data_lowactive [8] = {}
 
static volatile uint8_t data_pins [8][32] = {}
 
static volatile uint8_t data_width [8] = {}
 
static volatile bool hs_lowactive [8] = {}
 
static volatile AER_from_chipinst [8] = {}
 
static volatile uint8_t port [8] = {}
 
static volatile uint8_t req_delay [8] = {}
 
static volatile uint8_t req_pin [8] = {}
 
static volatile uint8_t type [8] = {}
 

Protected Member Functions

uint32_t getData () volatile
 
bool setupPins ()
 

Protected Attributes

uint8_t _ackPin
 
bool _dataActiveLow
 
volatile uint8_t * _dataPins
 
uint8_t _delay
 
bool _handshakeActiveLow
 
uint8_t _id
 
uint8_t _numDataPins
 
uint8_t _reqPin
 
uint8_t _type
 

Detailed Description

Definition at line 31 of file interface_AER_from_chip.h.

Constructor & Destructor Documentation

◆ AER_from_chip()

AER_from_chip ( uint8_t  id,
uint8_t  reqPin,
uint8_t  ackPin,
volatile uint8_t  dataPins[],
uint8_t  numDataPins,
uint8_t  delay = 0,
bool  activeLow = false,
bool  dataActiveLow = false,
uint8_t  type = ASYNC_4Phase_Chigh_Dhigh 
)

Definition at line 138 of file interface_AER_from_chip.cpp.

Member Function Documentation

◆ ackWrite()

void ackWrite ( bool  val) volatile

Definition at line 211 of file interface_AER_from_chip.cpp.

◆ configure()

void configure ( uint8_t  id,
uint8_t  config,
uint8_t  data 
)
static

Definition at line 40 of file interface_AER_from_chip.cpp.

◆ getData()

uint32_t getData ( ) volatile
protected

Definition at line 293 of file interface_AER_from_chip.cpp.

◆ handshake()

void handshake ( )

Definition at line 242 of file interface_AER_from_chip.cpp.

◆ recordEvent()

void recordEvent ( ) volatile

Definition at line 223 of file interface_AER_from_chip.cpp.

◆ reqRead()

bool reqRead ( ) volatile

Definition at line 198 of file interface_AER_from_chip.cpp.

◆ setupPins()

bool setupPins ( )
protected

Definition at line 269 of file interface_AER_from_chip.cpp.

Member Data Documentation

◆ _ackPin

uint8_t _ackPin
protected

Definition at line 109 of file interface_AER_from_chip.h.

◆ _dataActiveLow

bool _dataActiveLow
protected

Definition at line 114 of file interface_AER_from_chip.h.

◆ _dataPins

volatile uint8_t* _dataPins
protected

Definition at line 110 of file interface_AER_from_chip.h.

◆ _delay

uint8_t _delay
protected

Definition at line 112 of file interface_AER_from_chip.h.

◆ _handshakeActiveLow

bool _handshakeActiveLow
protected

Definition at line 113 of file interface_AER_from_chip.h.

◆ _id

uint8_t _id
protected

Definition at line 115 of file interface_AER_from_chip.h.

◆ _numDataPins

uint8_t _numDataPins
protected

Definition at line 111 of file interface_AER_from_chip.h.

◆ _reqPin

uint8_t _reqPin
protected

Definition at line 108 of file interface_AER_from_chip.h.

◆ _type

uint8_t _type
protected

Definition at line 116 of file interface_AER_from_chip.h.

◆ ack_pin

volatile uint8_t ack_pin = {}
static

Definition at line 58 of file interface_AER_from_chip.h.

◆ active

volatile bool active = {}
static

Definition at line 62 of file interface_AER_from_chip.h.

◆ data_lowactive

volatile bool data_lowactive = {}
static

Definition at line 61 of file interface_AER_from_chip.h.

◆ data_pins

volatile uint8_t data_pins = {}
static

Definition at line 55 of file interface_AER_from_chip.h.

◆ data_width

volatile uint8_t data_width = {}
static

Definition at line 56 of file interface_AER_from_chip.h.

◆ hs_lowactive

volatile bool hs_lowactive = {}
static

Definition at line 60 of file interface_AER_from_chip.h.

◆ inst

volatile AER_from_chip * inst = {}
static

Definition at line 68 of file interface_AER_from_chip.h.

◆ port

volatile uint8_t port = {}
static

Definition at line 64 of file interface_AER_from_chip.h.

◆ req_delay

volatile uint8_t req_delay = {}
static

Definition at line 59 of file interface_AER_from_chip.h.

◆ req_pin

volatile uint8_t req_pin = {}
static

Definition at line 57 of file interface_AER_from_chip.h.

◆ type

volatile uint8_t type = {}
static

Definition at line 63 of file interface_AER_from_chip.h.


The documentation for this class was generated from the following files: