00001 #include "../buffer/vm-buffer.h" 00002 #include "can-net.h" 00003 00004 void AsebaSendBuffer(AsebaVMState *vm, const uint8* data, uint16 length) 00005 { 00006 while (AsebaCanSend(data, length) == 0) 00007 AsebaIdle(); 00008 } 00009 00010 uint16 AsebaGetBuffer(AsebaVMState *vm, uint8* data, uint16 maxLength, uint16* source) 00011 { 00012 return AsebaCanRecv(data, maxLength, source); 00013 } 00014 00015 00016