libexsid  2.1
xSconsts_s Struct Reference

This private structure holds hardware-dependent constants. More...

Data Fields

unsigned int model
 exSID device model in use More...
 
clkdrift_t write_cycles
 number of SID clocks spent in write ops More...
 
clkdrift_t read_pre_cycles
 number of SID clocks spent in read op before data is actually read More...
 
clkdrift_t read_post_cycles
 number of SID clocks spent in read op after data is actually read More...
 
clkdrift_t read_offset_cycles
 read offset adjustment to align with writes (see function documentation) More...
 
clkdrift_t csioctl_cycles
 number of SID clocks spent in chip select ioctl More...
 
clkdrift_t mindel_cycles
 lowest number of SID clocks that can be accounted for in delay More...
 
clkdrift_t max_adj
 maximum number of SID clocks that can be encoded in final delay for read()/write() More...
 
size_t buff_size
 output buffer size More...
 

Detailed Description

This private structure holds hardware-dependent constants.

Definition at line 59 of file exSID.c.

Field Documentation

size_t xSconsts_s::buff_size

output buffer size

Definition at line 68 of file exSID.c.

Referenced by exSID_init().

clkdrift_t xSconsts_s::csioctl_cycles

number of SID clocks spent in chip select ioctl

Definition at line 65 of file exSID.c.

Referenced by exSID_chipselect().

clkdrift_t xSconsts_s::max_adj

maximum number of SID clocks that can be encoded in final delay for read()/write()

Definition at line 67 of file exSID.c.

Referenced by exSID_clkdread(), and exSID_clkdwrite().

clkdrift_t xSconsts_s::mindel_cycles

lowest number of SID clocks that can be accounted for in delay

Definition at line 66 of file exSID.c.

Referenced by exSID_clkdread(), and exSID_clkdwrite().

unsigned int xSconsts_s::model

exSID device model in use

Definition at line 60 of file exSID.c.

Referenced by exSID_audio_op(), exSID_clockselect(), and exSID_hwmodel().

clkdrift_t xSconsts_s::read_offset_cycles

read offset adjustment to align with writes (see function documentation)

Definition at line 64 of file exSID.c.

Referenced by exSID_clkdread().

clkdrift_t xSconsts_s::read_post_cycles

number of SID clocks spent in read op after data is actually read

Definition at line 63 of file exSID.c.

Referenced by exSID_clkdread().

clkdrift_t xSconsts_s::read_pre_cycles

number of SID clocks spent in read op before data is actually read

Definition at line 62 of file exSID.c.

Referenced by exSID_clkdread().

clkdrift_t xSconsts_s::write_cycles

number of SID clocks spent in write ops

Definition at line 61 of file exSID.c.

Referenced by exSID_clkdwrite(), and exSID_delay().


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