Defines |
| #define | API_DEBUG CH_DEBUG |
| #define | API_HEADER_VERSION CH_HEADER_VERSION |
| #define | API_INCOMPATIBLE_LIBRARY CH_INCOMPATIBLE_LIBRARY |
| #define | API_NAME "cheetah" |
| #define | API_OK CH_OK |
| #define | API_REQ_SW_VERSION CH_REQ_SW_VERSION |
| #define | API_UNABLE_TO_LOAD_FUNCTION CH_UNABLE_TO_LOAD_FUNCTION |
| #define | API_UNABLE_TO_LOAD_LIBRARY CH_UNABLE_TO_LOAD_LIBRARY |
| #define | CH_CFILE_VERSION 0x0300 /* v3.00 */ |
| #define | CH_REQ_SW_VERSION 0x0300 /* v3.00 */ |
Functions |
| static void * | _loadFunction (const char *name, int *result) |
| int | ch_close (Cheetah cheetah) |
| int | ch_dev_addr (Cheetah cheetah) |
| int | ch_find_devices (int num_devices, u16 *devices) |
| int | ch_find_devices_ext (int num_devices, u16 *devices, int num_ids, u32 *unique_ids) |
| int | ch_host_ifce_speed (Cheetah cheetah) |
| Cheetah | ch_open (int port_number) |
| Cheetah | ch_open_ext (int port_number, CheetahExt *ch_ext) |
| int | ch_port (Cheetah cheetah) |
| u32 | ch_sleep_ms (u32 milliseconds) |
| int | ch_spi_async_collect (Cheetah cheetah, int num_bytes, u08 *data_in) |
| int | ch_spi_async_submit (Cheetah cheetah) |
| int | ch_spi_batch_length (Cheetah cheetah) |
| int | ch_spi_batch_shift (Cheetah cheetah, int num_bytes, u08 *data_in) |
| int | ch_spi_bitrate (Cheetah cheetah, int bitrate_khz) |
| int | ch_spi_configure (Cheetah cheetah, CheetahSpiPolarity polarity, CheetahSpiPhase phase, CheetahSpiBitorder bitorder, u08 ss_polarity) |
| int | ch_spi_queue_array (Cheetah cheetah, int num_bytes, const u08 *data_out) |
| int | ch_spi_queue_byte (Cheetah cheetah, int count, u08 data) |
| int | ch_spi_queue_clear (Cheetah cheetah) |
| int | ch_spi_queue_delay_cycles (Cheetah cheetah, int cycles) |
| int | ch_spi_queue_delay_ns (Cheetah cheetah, int nanoseconds) |
| int | ch_spi_queue_oe (Cheetah cheetah, u08 oe) |
| int | ch_spi_queue_ss (Cheetah cheetah, u08 active) |
| const char * | ch_status_string (int status) |
| int | ch_target_power (Cheetah cheetah, u08 power_flag) |
| u32 | ch_unique_id (Cheetah cheetah) |
| int | ch_version (Cheetah cheetah, CheetahVersion *version) |
Variables |
| static int(* | c_ch_close )(Cheetah)=0 |
| static int(* | c_ch_dev_addr )(Cheetah)=0 |
| static int(* | c_ch_find_devices )(int, u16 *)=0 |
| static int(* | c_ch_find_devices_ext )(int, u16 *, int, u32 *)=0 |
| static int(* | c_ch_host_ifce_speed )(Cheetah)=0 |
| static Cheetah(* | c_ch_open )(int)=0 |
| static Cheetah(* | c_ch_open_ext )(int, CheetahExt *)=0 |
| static int(* | c_ch_port )(Cheetah)=0 |
| static u32(* | c_ch_sleep_ms )(u32)=0 |
| static int(* | c_ch_spi_async_collect )(Cheetah, int, u08 *)=0 |
| static int(* | c_ch_spi_async_submit )(Cheetah)=0 |
| static int(* | c_ch_spi_batch_length )(Cheetah)=0 |
| static int(* | c_ch_spi_batch_shift )(Cheetah, int, u08 *)=0 |
| static int(* | c_ch_spi_bitrate )(Cheetah, int)=0 |
| static int(* | c_ch_spi_configure )(Cheetah, CheetahSpiPolarity, CheetahSpiPhase, CheetahSpiBitorder, u08)=0 |
| static int(* | c_ch_spi_queue_array )(Cheetah, int, const u08 *)=0 |
| static int(* | c_ch_spi_queue_byte )(Cheetah, int, u08)=0 |
| static int(* | c_ch_spi_queue_clear )(Cheetah)=0 |
| static int(* | c_ch_spi_queue_delay_cycles )(Cheetah, int)=0 |
| static int(* | c_ch_spi_queue_delay_ns )(Cheetah, int)=0 |
| static int(* | c_ch_spi_queue_oe )(Cheetah, u08)=0 |
| static int(* | c_ch_spi_queue_ss )(Cheetah, u08)=0 |
| static const char *(* | c_ch_status_string )(int)=0 |
| static int(* | c_ch_target_power )(Cheetah, u08)=0 |
| static u32(* | c_ch_unique_id )(Cheetah)=0 |
| static int(* | c_ch_version )(Cheetah, CheetahVersion *)=0 |