#ifndef ONE_H #define ONE_H /********************************************************************* * Funzione: unsigned char OWReset(void) * * Input: Nessuno * Output: 1 = Dispositivo presente * 0 = Dispositivo non presente * Descrizione: Reset ONWIRE * ********************************************************************/ unsigned char OWReset(void); /********************************************************************* * Funzione: void OWTX(unsigned char DATO) * * Input: Byte da inviare * Output: Nessuno * Descrizione: Invia un byte al dispositivo ONWIRE * ********************************************************************/ void OWTX(unsigned char DATO); /********************************************************************* * Funzione: unsigned char OWRX(void) * * Input: Nessuno * Output: Byte ricevuto * Descrizione: Riceve un byte dal dispositivo ONWIRE * ********************************************************************/ unsigned char OWRX(void); /********************************************************************* * Funzione: unsigned char OWRX1(void) * * Input: Nessuno * Output: Bit ricevuto * Descrizione: Riceve un bit dal dispositivo ONWIRE * ********************************************************************/ unsigned char OWRX1(void); #endif