mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
add_files
This commit is contained in:
parent
11080aa513
commit
ea40ab79a5
30
package/pikaRTDevice/pika_hal_RTT_ADC.c
Normal file
30
package/pikaRTDevice/pika_hal_RTT_ADC.c
Normal file
@ -0,0 +1,30 @@
|
||||
#include "../PikaStdDevice/pika_hal.h"
|
||||
|
||||
int pika_hal_platform_ADC_open(pika_dev* dev, char* name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_ADC_close(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_ADC_ioctl_config(pika_dev* dev,
|
||||
pika_hal_ADC_config* cfg) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_ADC_read(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_ADC_write(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_ADC_ioctl_enable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_ADC_ioctl_disable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
30
package/pikaRTDevice/pika_hal_RTT_DAC.c
Normal file
30
package/pikaRTDevice/pika_hal_RTT_DAC.c
Normal file
@ -0,0 +1,30 @@
|
||||
#include "../PikaStdDevice/pika_hal.h"
|
||||
|
||||
int pika_hal_platform_DAC_open(pika_dev* dev, char* name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_DAC_close(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_DAC_ioctl_config(pika_dev* dev,
|
||||
pika_hal_DAC_config* cfg) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_DAC_read(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_DAC_write(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_DAC_ioctl_enable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_DAC_ioctl_disable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
31
package/pikaRTDevice/pika_hal_RTT_IIC.c
Normal file
31
package/pikaRTDevice/pika_hal_RTT_IIC.c
Normal file
@ -0,0 +1,31 @@
|
||||
#include <hosal_i2c.h>
|
||||
#include "../PikaStdDevice/pika_hal.h"
|
||||
|
||||
int pika_hal_platform_IIC_open(pika_dev* dev, char* name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_IIC_close(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_IIC_ioctl_config(pika_dev* dev,
|
||||
pika_hal_IIC_config* cfg) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_IIC_ioctl_enable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_IIC_ioctl_disable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_IIC_write(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_IIC_read(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
31
package/pikaRTDevice/pika_hal_RTT_PWM.c
Normal file
31
package/pikaRTDevice/pika_hal_RTT_PWM.c
Normal file
@ -0,0 +1,31 @@
|
||||
#include "../PikaStdDevice/pika_hal.h"
|
||||
int pika_hal_platform_PWM_open(pika_dev* dev, char* name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_PWM_close(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_PWM_read(pika_dev* dev, void* buf, size_t count) {
|
||||
/* not support */
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_PWM_write(pika_dev* dev, void* buf, size_t count) {
|
||||
/* not support */
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_PWM_ioctl_enable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_PWM_ioctl_disable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_PWM_ioctl_config(pika_dev* dev,
|
||||
pika_hal_PWM_config* cfg) {
|
||||
return -1;
|
||||
}
|
31
package/pikaRTDevice/pika_hal_RTT_SPI.c
Normal file
31
package/pikaRTDevice/pika_hal_RTT_SPI.c
Normal file
@ -0,0 +1,31 @@
|
||||
#include "../PikaStdDevice/pika_hal.h"
|
||||
|
||||
|
||||
int pika_hal_platform_SPI_open(pika_dev* dev, char* name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_SPI_close(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_SPI_ioctl_config(pika_dev* dev,
|
||||
pika_hal_SPI_config* cfg) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_SPI_ioctl_enable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_SPI_ioctl_disable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_SPI_write(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_SPI_read(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
31
package/pikaRTDevice/pika_hal_RTT_UART.c
Normal file
31
package/pikaRTDevice/pika_hal_RTT_UART.c
Normal file
@ -0,0 +1,31 @@
|
||||
#include "../PikaStdDevice/pika_hal.h"
|
||||
|
||||
|
||||
int pika_hal_platform_UART_open(pika_dev* dev, char* name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_UART_close(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_UART_ioctl_config(pika_dev* dev,
|
||||
pika_hal_UART_config* cfg) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_UART_ioctl_enable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_UART_ioctl_disable(pika_dev* dev) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_UART_write(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int pika_hal_platform_UART_read(pika_dev* dev, void* buf, size_t count) {
|
||||
return -1;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user