16#ifndef __SEND_SPIKE_H__
17#define __SEND_SPIKE_H__
20#include <common/send_mc.h>
29extern uint32_t earliest_send_time;
32extern uint32_t latest_send_time;
41static inline void send_spike(UNUSED uint32_t timer_count, uint32_t time,
42 uint32_t neuron_index) {
44 synapse_dynamics_process_post_synaptic_event(time, neuron_index);
47 send_spike_mc(neuron_keys[neuron_index] | colour);
51 if (clocks > earliest_send_time) {
52 earliest_send_time = clocks;
54 if (clocks < latest_send_time) {
55 latest_send_time = clocks;
uint32_t colour
The colour of the time step to handle delayed spikes.
bool use_key
Whether to use key from neuron.c.
uint32_t * neuron_keys
The keys to be used by the neurons (one per neuron)
API for synapse dynamics.