Merge commit '474f163b53d438955dae1a0cc9d7df46344b3950' as 'Code/devterm_wiringpi_cpi'

This commit is contained in:
cuu
2021-08-23 15:47:39 +08:00
206 changed files with 29366 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#ifndef _CPI_H_
#define _CPI_H_
extern int wiringPiSetupRaw (void);
extern void CPiBoardId (int *model, int *rev, int *mem, int *maker, int *warranty);
extern int CPi_get_gpio_mode(int pin);
extern int CPi_digitalRead(int pin);
extern void CPi_digitalWrite(int pin, int value);
extern void CPiReadAll(void);
extern void CPiReadAllRaw(void);
#endif