upsd_st85.h

来自「ST uPSD32XX I2C This example demo code i」· C头文件 代码 · 共 25 行

H
25
字号
/*---------------------------------------------------------------------------- 
Title: upsd_st85.h
Date: October 7, 2002
Author: Alec Bath

Description:
Function prototypes for upsd_st85.c   M41ST85 Timekeeper Routines

Copyright 2002  ST Microelectronics
----------------------------------------------------------------------------*/ 

#ifndef _UPSD_ST85_H_
#define _UPSD_ST85_H_

void uPSD_st85_write (void);
void uPSD_i2c_st85_read_clock(void);
void set_hour(void);
void set_minutes(void);
unsigned char Conv_Int_to_BCD(int integ);
int Conv_BCD_to_Int(unsigned char BCD);
void read_switch (void);
void uPSD_read_clock_init (void);
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?