
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
//-------------------------------------------------------//
// Project Code : CodeLibrary
// File Name : Ntc.h
// Created on : 2022. 11. 5.
// Description : 테이블 방식의 NTC 온도계산 프로그램
// Author : KimJeongWoo
// Last modified Date :
//-------------------------------------------------------//
#ifndef NTC_NTC_H_
#define NTC_NTC_H_
#ifdef __cplusplus
extern "C" {
#endif
struct sNTCTABLE
{
float R25;
float Rset;
float Vset;
float Beta;
unsigned int Size;
unsigned int TempStep;
unsigned int Table[200];
};
extern void NtcTableGen(struct sNTCTABLE *Ntc);
extern void NtcTableReadTemp(float *NtcTemp, int *AdcVal, struct sNTCTABLE *Ntc);
#ifdef __cplusplus
}
#endif /* extern "C" */
#endif /* COMMON_RESOURCE_CODELIBRARY_NTC_NTC_H_ */