Aguijón Software Libraries  1.0
Documentation for the included Libraries
 All Files Functions Variables Typedefs Enumerations Enumerator Macros
outputs.h File Reference

Go to the source code of this file.

Macros

#define Buzzer_OFF()   buzzer(0,0);
 Turn buzzer off.
 

Functions

void LEDport (unsigned char lednum, char state)
 
void RLYport (unsigned char rlynum, char state)
 
void OCport (unsigned char ocnum, char state)
 
void buzzer (unsigned int period_uS, unsigned int duty_div)
 
void backlight (unsigned int value)
 

Macro Definition Documentation

#define Buzzer_OFF ( )    buzzer(0,0);

Turn buzzer off.

Definition at line 4 of file outputs.h.

Function Documentation

void backlight ( unsigned int  value)

Function: backlight

Preconditions: Remmaped Backlight pin.

Overview: Dims the LCD backlight intensity.

Arguments: Duty Cycle, see "definitions.h".

Returns: None.

Definition at line 198 of file outputs.c.

void buzzer ( unsigned int  period_uS,
unsigned int  duty_div 
)

Function: buzzer

Preconditions: Remapped PWM pins.

Overview: Activates a PWM on the corresponding OutputCompare pins.

Arguments: Signal period (uS), Desired Duty Cycle (0-100).

Returns: None.

Definition at line 167 of file outputs.c.

void LEDport ( unsigned char  lednum,
char  state 
)

Function: LEDport

Preconditions: None.

Overview: Turns ON/OFF the specified LED output.

Arguments: Physical LED number, Logic State (0-1).

Returns: None.

Definition at line 48 of file outputs.c.

void OCport ( unsigned char  ocnum,
char  state 
)

Function: OCport

Preconditions: None.

Overview: Turns ON/OFF the specified Open Collector output.

Arguments: Physical Open Collector number, Logic State (0-1).

Returns: None.

Definition at line 132 of file outputs.c.

void RLYport ( unsigned char  rlynum,
char  state 
)

Function: RLYport

Preconditions: None.

Overview: Turns ON/OFF the specified Relay output.

Arguments: Physical Relay number, Logic State (0-1).

Returns: None.

Definition at line 98 of file outputs.c.