#include <config.h>
#include <sw.h>
#include <hal.h>
#include <transaction.h>
#include <types.h>
Functions | |
bool | ta_setdata (iu8 *data, iu8 len, iu16 dst) |
Begins a transaction and sets the data. More... | |
bool | ta_commit (void) |
Commits the data in the transaction buffer. More... |
|
Commits the data in the transaction buffer. Data is written to the destination specified in ta_setdata(). The state is then set to clean. This function must be called after each reset to commit pending transactions.
|
|
Begins a transaction and sets the data. data/len bytes are written to the transaction buffer. The destination address is also stored there. Then the state is set to TRANSAC_STATE_DATA.
|