#include <p24FJ128GB106.h>
#include "i2c.h"
#include "definitions.h"
#include "init.h"
Go to the source code of this file.
void configTimer1 |
( |
void |
| ) |
|
Function: configTimer1
Preconditions: None.
Overview: Configures Timer1 module.
Arguments: None.
Returns: None.
Definition at line 39 of file init.c.
unsigned char I2C_getByte |
( |
char |
do_ack | ) |
|
Function: I2C_getByte
Preconditions: I2C module initialized.
Overview: Retrieves data from the bus.
Arguments: Do acknowledge.
Returns: unsigned char data.
Definition at line 152 of file init.c.
Function: I2C_Start
Preconditions: I2C module initialized.
Overview: Sends a start condition on the I2C bus.
Arguments: None.
Returns: None.
Definition at line 98 of file init.c.
Function: I2C_Stop
Preconditions: I2C module initialized.
Overview: Sends a stop condition on the I2C bus.
Arguments: None.
Returns: None.
Definition at line 115 of file init.c.
void I2CsendByte |
( |
unsigned char |
j | ) |
|
Function: I2CsendByte
Preconditions: I2C module initialized.
Overview: Sends a byte over the I2C bus.
Arguments: None.
Returns: None.
Definition at line 132 of file init.c.
Function: InitI2C
Preconditions: I2C via hardware is selected.
Overview: Initializes internal I2C1 module.
Arguments: None.
Returns: None.
Definition at line 67 of file init.c.
Function: LCDInit
Preconditions: None.
Overview: Initializes the LCD controller (ST7036i) in normal mode.
Arguments: None.
Returns: None.
Definition at line 236 of file init.c.
Function: LCDInit2
Preconditions: None.
Overview: Initializes the LCD controller (ST7036i) in double line mode.
Arguments: None.
Returns: None.
Definition at line 271 of file init.c.