libjoybus
Joybus implementation for 32-bit MCUs
Loading...
Searching...
No Matches
joybus_target_n64_pak_controller Struct Reference

N64 Controller Pak pak. More...

#include <n64_pak_controller.h>

Data Fields

struct joybus_target_n64_pak base
 Base pak interface.
joybus_target_n64_pak_controller_read_cb read
 Callback that reads a block from storage, the pak answers busy until set.
joybus_target_n64_pak_controller_write_cb write
 Callback that writes a block to storage, the pak answers busy until set.
void * user_data
 Pointer handed to the storage callbacks.
joybus_target_n64_pak_controller_select_cb on_select
 Callback for bank select events.
joybus_target_n64_pak_controller_written_cb on_written
 Callback for block written events.
uint8_t banks
 Banks the pak presents, 1 for an original pak.
uint8_t selected
 Bank the console has selected, always 0 on a one bank pak.

Detailed Description

N64 Controller Pak pak.


The documentation for this struct was generated from the following file: