Skip to content
Snippets Groups Projects
minic.h 350 B
Newer Older
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
#ifndef __MINIC_H
#define __MINIC_H

#include "types.h"

Grzegorz Daniluk's avatar
Grzegorz Daniluk committed
#define ETH_HEADER_SIZE 14

Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
void minic_init();
Grzegorz Daniluk's avatar
Grzegorz Daniluk committed
void minic_disable();
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
int minic_poll_rx();

int minic_rx_frame(uint8_t *hdr, uint8_t *payload, uint32_t buf_size, struct hw_timestamp *hwts);
int minic_tx_frame(uint8_t *hdr, uint8_t *payload, uint32_t size, struct hw_timestamp *hwts);



#endif