libnile
Loading...
Searching...
No Matches
system.h File Reference
#include "../mcu.h"

Go to the source code of this file.

Functions

static int16_t nile_mcu_native_mcu_switch_mode (uint8_t mode)
 Switch the mode in which the MCU is operating.
static int16_t nile_mcu_native_mcu_spi_set_speed_sync (uint8_t speed)
 Tell the MCU to operate at a specific SPI speed.
static int16_t nile_mcu_native_mcu_get_uuid_sync (void __far *buffer, uint16_t buflen)
static int16_t nile_mcu_native_mcu_get_info_sync (void __far *buffer, uint16_t buflen)
static int16_t nile_mcu_native_mcu_reg_read_sync (uint16_t addr)
static int16_t nile_mcu_native_mcu_reg_write_sync (uint16_t addr, uint16_t value)
static int16_t nile_mcu_native_mcu_get_version_sync (void __far *buffer, uint16_t buflen)
static int16_t nile_mcu_native_mcu_set_save_id_sync (uint16_t domain, uint32_t value)
static int16_t nile_mcu_native_mcu_get_save_id_sync (uint16_t domain, uint32_t __wf_cram *value)

Function Documentation

◆ nile_mcu_native_mcu_get_info_sync()

int16_t nile_mcu_native_mcu_get_info_sync ( void __far * buffer,
uint16_t buflen )
inlinestatic

Definition at line 54 of file system.h.

◆ nile_mcu_native_mcu_get_save_id_sync()

int16_t nile_mcu_native_mcu_get_save_id_sync ( uint16_t domain,
uint32_t __wf_cram * value )
inlinestatic

Definition at line 89 of file system.h.

◆ nile_mcu_native_mcu_get_uuid_sync()

int16_t nile_mcu_native_mcu_get_uuid_sync ( void __far * buffer,
uint16_t buflen )
inlinestatic

Definition at line 48 of file system.h.

◆ nile_mcu_native_mcu_get_version_sync()

int16_t nile_mcu_native_mcu_get_version_sync ( void __far * buffer,
uint16_t buflen )
inlinestatic

Definition at line 75 of file system.h.

◆ nile_mcu_native_mcu_reg_read_sync()

int16_t nile_mcu_native_mcu_reg_read_sync ( uint16_t addr)
inlinestatic

Definition at line 60 of file system.h.

◆ nile_mcu_native_mcu_reg_write_sync()

int16_t nile_mcu_native_mcu_reg_write_sync ( uint16_t addr,
uint16_t value )
inlinestatic

Definition at line 68 of file system.h.

◆ nile_mcu_native_mcu_set_save_id_sync()

int16_t nile_mcu_native_mcu_set_save_id_sync ( uint16_t domain,
uint32_t value )
inlinestatic

Definition at line 81 of file system.h.

◆ nile_mcu_native_mcu_spi_set_speed_sync()

int16_t nile_mcu_native_mcu_spi_set_speed_sync ( uint8_t speed)
inlinestatic

Tell the MCU to operate at a specific SPI speed.

This does not actually change the speed used by the cartridge by itself!

Definition at line 40 of file system.h.

◆ nile_mcu_native_mcu_switch_mode()

int16_t nile_mcu_native_mcu_switch_mode ( uint8_t mode)
inlinestatic

Switch the mode in which the MCU is operating.

Definition at line 31 of file system.h.