Updated the header with the needed function prototypes.

This commit is contained in:
jakeg00dwin 2024-08-21 20:12:40 -07:00
parent e00c2824d4
commit e7f40f795e
1 changed files with 24 additions and 5 deletions

View File

@ -11,12 +11,31 @@
#define LEDCONTROLLER
/**
* A function that adds two to a number
* @param a The first argument
*/
int add_two(int a);
#include <stdint.h>
/**
* Sets the default PORTB pins for output.
*/
void LedControler_SetPortADefault(void);
/**
* Sets the default PORTA pins for output.
*/
void LedControler_SetPortBDefault(void);
/**
* Allows the setting or changing of which pins represent which bits.
* @param port The address of the port.
* @param pin The pin number for the port.
* @param bit The bit that the pin should represent.
*/
void LedController_SetLedBitNum(void * port, uint8_t pin, uint8_t bit);
/**
* Displays the byte of data via led pins.
*/
void LedController_ShowByte(uint8_t byte);