/*
 * [Warning!] This file is auto-generated by pika compiler.
 * Do not edit it manually.
 * The source code is *.pyi file.
 * More details: 
 * English Doc:
 * https://pikadoc-en.readthedocs.io/en/latest/PikaScript%20%E6%A8%A1%E5%9D%97%E6%A6%82%E8%BF%B0.html
 * Chinese Doc:
 * http://pikapython.com/doc/PikaScript%20%E6%A8%A1%E5%9D%97%E6%A6%82%E8%BF%B0.html
 */

#ifndef __PikaStdDevice_CAN__H
#define __PikaStdDevice_CAN__H
#include <stdio.h>
#include <stdlib.h>
#include "PikaObj.h"

PikaObj *New_PikaStdDevice_CAN(Args *args);

void PikaStdDevice_CAN___init__(PikaObj *self);
void PikaStdDevice_CAN_addFilter(PikaObj *self, int id, int ide, int rtr, int mode, int mask, int hdr);
void PikaStdDevice_CAN_disable(PikaObj *self);
void PikaStdDevice_CAN_enable(PikaObj *self);
char* PikaStdDevice_CAN_read(PikaObj *self, int length);
Arg* PikaStdDevice_CAN_readBytes(PikaObj *self, int length);
void PikaStdDevice_CAN_setBaudRate(PikaObj *self, int baudRate);
void PikaStdDevice_CAN_setId(PikaObj *self, int id);
void PikaStdDevice_CAN_setMode(PikaObj *self, char* mode);
void PikaStdDevice_CAN_setName(PikaObj *self, char* name);
void PikaStdDevice_CAN_write(PikaObj *self, char* data);
void PikaStdDevice_CAN_writeBytes(PikaObj *self, uint8_t* data, int length);

#endif
