NAME

k8055m_reset -- Restore card to power on defaults

LIBRARY

k8055-pic18f access library

SYNOPSIS

#include "k8055m.h"

int
k8055m_reset(int cardNumber);
    

DESCRIPTION

Restore the power on default configuration and output port settings of card number cardNumber. All digital ports will be set to normal mode and off. All pwm ports will be set to pwm mode and 0% duty cycle. All counters will be reset to zero and configured for 1 ms debounce time.

RETURN VALUES

Returns 0 on success, -1 on error.