PICSimLab - Programmable IC Simulator Laboratory 0.9.2
PICSimLab - API
Loading...
Searching...
No Matches
bridge_gpsim.h
1/*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6
7/*
8 * File: bridge_gpsim.h
9 * Author: gamboa
10 *
11 * Created on 20 de Agosto de 2020, 16:56
12 */
13
14#ifndef BRIGE_GPSIM_H
15#define BRIGE_GPSIM_H
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21int bridge_gpsim_init(const char* processor, const char* fileName, float freq);
22void bridge_gpsim_reset(void);
23unsigned char bridge_gpsim_get_pin_count(void);
24const char* bridge_gpsim_get_pin_name(int pin);
25unsigned char bridge_gpsim_get_pin_value(int pin);
26unsigned char bridge_gpsim_get_pin_dir(int pin);
27void bridge_gpsim_set_pin_value(int pin, unsigned char value);
28void bridge_gpsim_set_apin_value(int pin, float value);
29void bridge_gpsim_set_frequency(double freq);
30void bridge_gpsim_step(void);
31void bridge_gpsim_end(void);
32int bridge_gpsim_dump_memory(const char* fname);
33char* bridge_gpsim_get_processor_list(char* buff, unsigned int size);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* BRIGE_GPSIM_H */