WISP ERT (Client)  1.0.0
The WISP Extended Runtime (WISP side)
wisp-base.h File Reference
#include "globals.h"
#include "wired/spi.h"
#include "wired/uart.h"
#include "Sensors/accel.h"
#include "Sensors/adc.h"
#include "nvm/fram.h"
#include "RFID/rfid.h"
#include "config/wispGuts.h"
#include "Timing/timer.h"
#include "rand/rand.h"

Go to the source code of this file.

Functions

void WISP_init (void)
 Called by client code as a first step after PUC. More...
 
void WISP_getDataBuffers (WISP_dataStructInterface_t *clientStruct)
 

Detailed Description

The interface for the standard WISP library, including all definitions required to communicate with an RFID reader and use onboard peripherals.

Author
Aaron Parks, Saman Naderiparizi

Function Documentation

◆ WISP_getDataBuffers()

void WISP_getDataBuffers ( WISP_dataStructInterface_t clientStruct)

◆ WISP_init()

void WISP_init ( void  )

Called by client code as a first step after PUC.

void WISP_init (void)

Purpose

Postcondition
the RAM, clock and peripherals are initialized for use

Timing

  1. The routine is entered X cycles into the CPU's operation.
  2. The routine tries to sleep Y cycles into the CPU's operation.
  3. From a cold-boot, the CPU is configured for fCPU = Z MHz. (i.e. ...?)

Considerations

  1. If preforming a 'sleep_till_full_power' operation,

TODO: enable PIN_RX_EN only when needed in the future