I2C_TSENSOR
[STM32F10x_StdPeriph_Examples]

Defines

#define TEMPERATURE_THYS   31
#define TEMPERATURE_TOS   32

Enumerations

enum  TestStatus {
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED
}

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
void I2C1_ER_IRQHandler (void)
 This function handles I2C2 Error interrupt request.
int main (void)
 Main program.
void MemManage_Handler (void)
 This function handles Memory Manage exception.
void NMI_Handler (void)
 This function handles NMI exception.
void NVIC_Configuration (void)
 Configures the different interrupt.
void PendSV_Handler (void)
 This function handles PendSV_Handler exception.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.

Variables

uint32_t index = 0
__IO uint8_t SMbusAlertOccurred
__IO uint8_t SMbusAlertOccurred = 0
static uint8_t TempCelsiusDisplay [] = " +abc.d C "
static uint8_t TempFahrenheitDisplay [] = " +abc.d F "
static int32_t TempValue = 0
static int32_t TempValueCelsius = 0
static int32_t TempValueFahrenheit = 0

Define Documentation

#define TEMPERATURE_THYS   31

Definition at line 49 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().

#define TEMPERATURE_TOS   32

Definition at line 50 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().


Enumeration Type Documentation

enum TestStatus
Enumerator:
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 
FAILED 
PASSED 

Definition at line 46 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.


Function Documentation

void BusFault_Handler ( void   ) 

This function handles Bus Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 88 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void DebugMon_Handler ( void   ) 

This function handles Debug Monitor exception.

Parameters:
None 
Return values:
None 

Definition at line 123 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void HardFault_Handler ( void   ) 

This function handles Hard Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 62 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void I2C1_ER_IRQHandler ( void   ) 

This function handles I2C2 Error interrupt request.

Parameters:
None 
Return values:
None 

Definition at line 156 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

References I2C_ClearITPendingBit(), I2C_GetITStatus(), I2C_IT_AF, I2C_IT_ARLO, I2C_IT_BERR, I2C_IT_OVR, I2C_IT_PECERR, I2C_IT_SMBALERT, I2C_IT_TIMEOUT, LM75_I2C, and SMbusAlertOccurred.

int main ( void   ) 
void MemManage_Handler ( void   ) 

This function handles Memory Manage exception.

Parameters:
None 
Return values:
None 

Definition at line 75 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void NMI_Handler ( void   ) 

This function handles NMI exception.

Parameters:
None 
Return values:
None 

Definition at line 53 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void NVIC_Configuration ( void   ) 
void PendSV_Handler ( void   ) 

This function handles PendSV_Handler exception.

Parameters:
None 
Return values:
None 

Definition at line 132 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void SVC_Handler ( void   ) 

This function handles SVCall exception.

Parameters:
None 
Return values:
None 

Definition at line 114 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void SysTick_Handler ( void   ) 

This function handles SysTick Handler.

Parameters:
None 
Return values:
None 

Definition at line 141 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.

void UsageFault_Handler ( void   ) 

This function handles Usage Fault exception.

Parameters:
None 
Return values:
None 

Definition at line 101 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/stm32f10x_it.c.


Variable Documentation

uint32_t index = 0
__IO uint8_t SMbusAlertOccurred

Definition at line 57 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by I2C1_ER_IRQHandler(), and main().

__IO uint8_t SMbusAlertOccurred = 0

Definition at line 57 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by I2C1_ER_IRQHandler(), and main().

uint8_t TempCelsiusDisplay[] = " +abc.d C " [static]

Definition at line 54 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().

uint8_t TempFahrenheitDisplay[] = " +abc.d F " [static]

Definition at line 55 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().

int32_t TempValue = 0 [static]

Definition at line 56 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().

int32_t TempValueCelsius = 0 [static]

Definition at line 56 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().

int32_t TempValueFahrenheit = 0 [static]

Definition at line 56 of file STM32F10x_StdPeriph_Examples/I2C/I2C_TSENSOR/main.c.

Referenced by main().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32