Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘board’ BSP module
emulates: void board_init()
emulates void board_init()
Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘bsp_timer’ BSP module.
emulates void bsp_timer_cancel_schedule()
emulates uin16_t bsp_timer_get_currentValue()
emulates void bsp_timer_init()
emulates void bsp_timer_reset()
emulates void bsp_timer_scheduleIn(PORT_TIMER_WIDTH delayTicks)
A compare event happened.
An (internal) overflow event happened.
Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘debugpins’ BSP module
emulates void debugpins_debug_clr()
emulates void debugpins_debug_set()
emulates void debugpins_frame_clr()
emulates void debugpins_frame_set()
emulates void debugpins_frame_toggle()
emulates void debugpins_fsm_clr()
emulates void debugpins_fsm_set()
emulates void debugpins_fsm_toggle()
emulates void debugpins_init()
emulates void debugpins_isr_clr()
emulates void debugpins_isr_set()
emulates void debugpins_isr_toggle()
emulates void debugpins_ka_clr()
emulates void debugpins_ka_set()
emulates void debugpins_radio_clr()
emulates void debugpins_radio_set()
emulates void debugpins_radio_toggle()
emulates void debugpins_slot_clr()
emulates void debugpins_slot_set()
emulates void debugpins_slot_toggle()
emulates void debugpins_syncAck_clr()
emulates void debugpins_syncAck_set()
emulates void debugpins_syncPacket_clr()
emulates void debugpins_syncPacket_set()
emulates void debugpins_task_clr()
emulates void debugpins_task_set()
emulates void debugpins_task_toggle()
Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘eui64’ BSP module
emulates void eui64_get(uint8_t* addressToWrite)
Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘leds’ BSP module
emulates void leds_all_off()
emulates’ void leds_all_on()
emulates void leds_all_toggle()
emulates void leds_circular_shift()
emulates uint8_t leds_debug_isOn()
emulates void leds_debug_off()
emulates void leds_debug_on()
emulates void leds_debug_toggle()
emulates uint8_t leds_error_isOn()
emulates void leds_error_off()
emulates void leds_error_on()
emulates void leds_error_toggle()
emulates void leds_increment()
emulates void leds_init()
emulates uint8_t leds_radio_isOn()
emulates void leds_radio_off()
emulates void leds_radio_on()
emulates void leds_radio_toggle()
emulates uint8_t leds_sync_isOn()
emulates void leds_sync_off()
emulates void leds_sync_on()
emulates void leds_sync_toggle()
Bases: openvisualizer.BspEmulator.BspModule.BspModule, openvisualizer.eventBus.eventBusClient.eventBusClient
Emulates the ‘radio’ BSP module
emulates void radio_getReceivedFrame( uint8_t* pBufRead, uint8_t* pLenRead, uint8_t maxBufLen, int8_t* pRssi, uint8_t* pLqi, uint8_t* pCrc)
emulates PORT_TIMER_WIDTH radio_getTimerPeriod()
emulates PORT_TIMER_WIDTH radio_getTimerValue()
emulates void radio_init()
emulates void radio_loadPacket(uint8_t* packet, uint8_t len)
emulates void radio_reset()
emulates void radio_rfOff()
emulates void radio_rfOn()
emulates void radio_rxEnable()
emulates void radio_rxNow()
emulates void radio_setFrequency(uint8_t frequency)
emulates void radio_setTimerPeriod(PORT_TIMER_WIDTH period)
emulates void radio_startTimer(PORT_TIMER_WIDTH period)
emulates void radio_txEnable()
emulates void radio_txNow()
Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘radiotimer’ BSP module
emulates void radiotimer_cancel()
emulates uint16_t radiotimer_getCapturedTime()
emulates uint16_t radiotimer_getPeriod()
emulates uint16_t radiotimer_getValue()
emulates void radiotimer_init()
emulates void radiotimer_schedule(uint16_t offset)
emulates void radiotimer_setPeriod(uint16_t period)
emulates void radiotimer_start(uint16_t period)
A compare event happened.
An overflow event happened.
Bases: openvisualizer.BspEmulator.BspModule.BspModule
Emulates the ‘uart’ BSP module
emulates void uart_clearRxInterrupts()
emulates void uart_clearTxInterrupts()
emulates void uart_disableInterrupts()
emulates void uart_enableInterrupts()
emulates void uart_init()
emulates uint8_t uart_readByte()
emulates void uart_writeByte(uint8_t byteToWrite)
emulates void uart_writeCircularBuffer_FASTSIM(uint8_t* buffer, uint8_t len)
Interrupt to indicate to mote it received a byte from the UART.
Mote is done sending a byte over the UART.
Read a byte from the mote.
emulates void uart_writeBufferByLen_FASTSIM(uint8_t* buffer, uint8_t len)
Write a string of bytes to the mote.
Bases: openvisualizer.BspEmulator.HwModule.HwModule
Emulates the mote’s crystal.
Return the number of ticks since some timestamp.
Parameters: | eventTime – The time of the event of interest.
|
---|
| | | | | |
timeLastTick
^ ^ ^ ^ | | | | +———-+———-+———-+
Returns: | The number of ticks since the time passed. |
---|
Return the time it will be in a given number of ticks.
param numticks: The number of ticks of interest.
- called here
periodV <———->
| | | | | |^ ^ ^ ^ | | | | +———-+———-+——— +
numticks ticks^ ^ | |
timeLastTick returned value
returns: The time it will be in a given number of ticks.
Return the timestamp of the last tick.
| periodV v <———->
| ... | | | | |
- <————————->
- timeSinceLast
timeLastTick
returns: | The timestamp of the last tick. |
---|
Start the crystal.