21 #ifndef _AVRIO_WUSB_IFACE_H_ 22 #define _AVRIO_WUSB_IFACE_H_ 24 #include <avrio/defs.h> 30 void vWIfcInit (
void);
31 void vWIfcReset (
void);
32 uint8_t ucWIfcRead (uint8_t ucAddress);
33 void vWIfcWrite (uint8_t ucAddress, uint8_t ucData);
34 void vWIfcBurstRead (uint8_t ucAddress, uint8_t * pucData, uint8_t ucLength);
35 void vWIfcBurstWrite (uint8_t ucAddress,
const uint8_t * pucData, uint8_t ucLength);
36 void vWIfcBurstWrite_P ( uint8_t ucAddress,
const uint8_t * pucData, uint8_t ucLength);
38 # if ! defined(__DOXYGEN__) 40 #include "avrio-config.h" 42 #ifdef AVRIO_WUSB_ENABLE 44 # include <avrio/delay.h> 45 # include "avrio-board-wusb.h" 46 # include "wusb-config.h" 49 __STATIC_ALWAYS_INLINE(
void 52 vWusbIoSet (WUSBIO_PD);
56 __STATIC_ALWAYS_INLINE(
void 59 vWusbIoClear (WUSBIO_PD);
#define delay_ms(__ms)
Temporisation en millisecondes.