Functions
ONET_Initialize
u8 ONET_Initialize()

ObsoNET searching routine /!\ Must not be call from page 1 /!\ Must not be call before any other function from this module

ONET_GetSlot
inline u8 ONET_GetSlot()

Obtains the ObsoNET slot (or 0xFF is not found)

ONET_HasBIOS
inline bool ONET_HasBIOS()

Check if ObsoNET card has a BIOS

ONET_Reset
void ONET_Reset()

Initializes the ObsoNET card

ONET_GetVersion
inline const u8* ONET_GetVersion()

Obtains the BIOS version

ONET_GetPhysicalAddr
inline const u8* ONET_GetPhysicalAddr()

Obtains the ObsoNET physical address

ONET_GetMACAddress
inline const u8* ONET_GetMACAddress()

Obtains the ObsoNET physical address See ONET_GetPhysicalAddr

ONET_GetStatus
bool ONET_GetStatus()

Obtains the network connection status

ONET_Activation
u8 ONET_Activation(
u8 flag
)

Activates or deactivates ObsoNET

ONET_Activate
inline void ONET_Activate()

Activates ObsoNET

ONET_Disactivate
inline void ONET_Disactivate()

Deactivates ObsoNET

ONET_IsActivate
inline bool ONET_IsActivate()

Check Activates or deactivates ObsoNET

ONET_ReceptConfig
u8 ONET_ReceptConfig(
u8 flag
)

Configuration of the reception parameters

ONET_SetReceptConfig
inline void ONET_SetReceptConfig(
u8 flag
)

Set Configuration of the reception parameters

ONET_SetReceptConfig

Get Configuration of the reception parameters

ONET_SetMulticastMask
void ONET_SetMulticastMask(
u8* addr
)

Set Configuration of the multicast mask

ONET_GetMulticastMask
void ONET_GetMulticastMask(
u8* addr
)

Get Configuration of the multicast mask

ONET_GetPacketInfo
bool ONET_GetPacketInfo(
struct ONET_PacketInfo* info
)

Obtains information about the oldest received packet

ONET_GetPacket
bool ONET_GetPacket(
u8* addr
)

Obtains the oldest captured incoming packet

ONET_DiscardPacket
void ONET_DiscardPacket()

Discard the oldest captured incoming packet

ONET_SendPacketSync
u8 ONET_SendPacketSync(
const u8* addr,
u16 size
)

Sends a packet to the network (Synchronous execution)

ONET_SendPacketAsync
u8 ONET_SendPacketAsync(
const u8* addr,
u16 size
)

Sends a packet to the network (Asynchronous execution)

ONET_GetSendStatus
u8 ONET_GetSendStatus()

Obtains the status of the packet transmission