MAXREFDES70# Code Documentation
V02.00
High-precision long battery life heat/flow meter
|
#include <stdint.h>
Go to the source code of this file.
Functions | |
int | DOGM163_SpiTransmit (uint8_t *data, uint32_t len) |
Transmit data on the SPI interface. | |
int | DOGM163_WriteCmdByte (uint8_t byte) |
Write a command byte to the DOGM163. | |
int | DOGM163_WriteDataByte (uint8_t byte) |
Write a data byte to the DOGM163. | |
void | DOGM163_Init (void) |
Initialize DOGM163 display. | |
void | DOGM163_PowerOff (void) |
Power off DOGM163 display. | |
int | DOGM163_ClearChars (uint8_t start_row, uint8_t start_column, uint8_t number) |
int | DOGM163_PrintChars (uint8_t start_row, uint8_t start_column, uint8_t number, char *string) |
int | DOGM163_PrintInteger (uint8_t start_row, uint8_t start_column, uint8_t width, uint16_t integer) |
void | DOGM163_PrintWelcomeMsg (void) |
****************************************************** Project: MAXREFDES70 Filename: dogm163.h Description: This module contains the display module functions for the implementation of the example program for the MAXREFDES70. Revision History:
09-26-2014 Rev 01.00 MG Initial release.
/* Copyright (C) 2012 Maxim Integrated Products, Inc., All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL MAXIM INTEGRATED PRODUCTS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of Maxim Integrated Products shall not be used except as stated in the Maxim Integrated Products Branding Policy.
The mere transfer of this software does not imply any licenses of trade secrets, proprietary technology, copyrights, patents, trademarks, maskwork rights, or any other form of intellectual property whatsoever. Maxim Integrated Products retains all ownership rights.
Definition in file dogm163.h.
int DOGM163_ClearChars | ( | uint8_t | start_row, |
uint8_t | start_column, | ||
uint8_t | number | ||
) |
void DOGM163_Init | ( | void | ) |
Initialize DOGM163 display.
This function initializes the DOGM163 display module.
Check the battery voltage level to adjust LCD contrast. Calibrated relationship between LCD contrast and battery voltage level: LCD contrast C5|C4|C3|C2|C1|C0 = 85 - battery voltage level (22: 2.4V ... 58: 3.6V, each level increase = 0.034V).
void DOGM163_PowerOff | ( | void | ) |
int DOGM163_PrintChars | ( | uint8_t | start_row, |
uint8_t | start_column, | ||
uint8_t | number, | ||
char * | string | ||
) |
int DOGM163_PrintInteger | ( | uint8_t | start_row, |
uint8_t | start_column, | ||
uint8_t | width, | ||
uint16_t | integer | ||
) |
int DOGM163_SpiTransmit | ( | uint8_t * | data, |
uint32_t | len | ||
) |
int DOGM163_WriteCmdByte | ( | uint8_t | byte | ) |