Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function.

Spell check source code files.
This commit is contained in:
Dean Camera 2011-01-13 22:56:49 +00:00
parent 9c7594e7db
commit 70d55f6e0c
13 changed files with 225 additions and 92 deletions

View file

@ -111,12 +111,11 @@
} DS1307_DateTimeRegs_t;
/* Macros: */
#define DS1307_ADDRESS_READ (0xD0 | TWI_ADDRESS_READ)
#define DS1307_ADDRESS_WRITE (0xD0 | TWI_ADDRESS_WRITE)
#define DS1307_ADDRESS 0xD0
/* Function Prototypes: */
void DS1307_SetTimeDate(const TimeDate_t* NewTimeDate);
void DS1307_GetTimeDate(TimeDate_t* const TimeDate);
bool DS1307_SetTimeDate(const TimeDate_t* NewTimeDate);
bool DS1307_GetTimeDate(TimeDate_t* const TimeDate);
#endif