STM32F0xx Standard Peripherals Firmware Library: stm32f0xx_i2c_cpal_conf.h File Reference

STM32F0xx Standard Peripherals Library

I2C_WakeUpFromStop/stm32f0xx_i2c_cpal_conf.h File Reference

Library configuration file. More...

Go to the source code of this file.

Defines

#define _CPAL_TIMEOUT_DEINIT()   SysTick->CTRL = 0
#define _CPAL_TIMEOUT_INIT()
#define CPAL_EnterCriticalSection_UserCallback   __disable_irq
#define CPAL_ExitCriticalSection_UserCallback   __enable_irq
#define CPAL_I2C_AF_UserCallback   (void)
#define CPAL_I2C_ARLO_UserCallback   (void)
#define CPAL_I2C_BERR_UserCallback   (void)
#define CPAL_I2C_DMA_PROGMODEL
#define CPAL_I2C_DMARXHT_UserCallback   (void)
#define CPAL_I2C_DMARXTC_UserCallback   (void)
#define CPAL_I2C_DMARXTE_UserCallback   (void)
#define CPAL_I2C_DMATXHT_UserCallback   (void)
#define CPAL_I2C_DMATXTC_UserCallback   (void)
#define CPAL_I2C_DMATXTE_UserCallback   (void)
#define CPAL_I2C_DUALF_UserCallback   (void)
#define CPAL_I2C_GENCALL_UserCallback   (void)
#define CPAL_I2C_MASTER_MODE
#define CPAL_I2C_OVR_UserCallback   (void)
#define CPAL_I2C_RX_UserCallback   (void)
#define CPAL_I2C_RXTC_UserCallback   (void)
#define CPAL_I2C_SLAVE_MODE
#define CPAL_I2C_TIMEOUT_BUSY   2
#define CPAL_I2C_TIMEOUT_DEFAULT   ((uint32_t)0xFFFFFFFF)
#define CPAL_I2C_TIMEOUT_DETECTED   ((uint32_t)0x00000000)
#define CPAL_I2C_TIMEOUT_MIN   ((uint32_t)0x00000001)
#define CPAL_I2C_TIMEOUT_TC   5
#define CPAL_I2C_TIMEOUT_TCR   5
#define CPAL_I2C_TIMEOUT_TXIS   2
#define CPAL_I2C_TX_UserCallback   (void)
#define CPAL_I2C_TXTC_UserCallback   (void)
#define CPAL_LOG(Str)   ((void)0)
#define CPAL_USE_I2C1
#define I2C1_IT_OFFSET_PREPRIO   0
#define I2C1_IT_OFFSET_SUBPRIO   0
#define I2C2_IT_OFFSET_PREPRIO   0
#define I2C2_IT_OFFSET_SUBPRIO   0
#define USE_SINGLE_ERROR_CALLBACK

Functions

void CPAL_I2C_TIMEOUT_Manager (void)

Detailed Description

Library configuration file.

Author:
MCD Application Team
Version:
V1.4.0
Date:
24-July-2014
Attention:

© COPYRIGHT 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file I2C_WakeUpFromStop/stm32f0xx_i2c_cpal_conf.h.


Define Documentation

#define _CPAL_TIMEOUT_DEINIT ( )    SysTick->CTRL = 0
#define _CPAL_TIMEOUT_INIT ( )
Value:
SysTick_Config((SystemCoreClock / 1000));\
                                       NVIC_SetPriority (SysTick_IRQn, 0)

Definition at line 435 of file I2C_WakeUpFromStop/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_EnterCriticalSection_UserCallback   __disable_irq
#define CPAL_ExitCriticalSection_UserCallback   __enable_irq
#define CPAL_I2C_AF_UserCallback   (void)
#define CPAL_I2C_ARLO_UserCallback   (void)
#define CPAL_I2C_BERR_UserCallback   (void)
#define CPAL_I2C_DMA_PROGMODEL
#define CPAL_I2C_DMARXHT_UserCallback   (void)
#define CPAL_I2C_DMARXTC_UserCallback   (void)
#define CPAL_I2C_DMARXTE_UserCallback   (void)
#define CPAL_I2C_DMATXHT_UserCallback   (void)
#define CPAL_I2C_DMATXTC_UserCallback   (void)
#define CPAL_I2C_DMATXTE_UserCallback   (void)
#define CPAL_I2C_DUALF_UserCallback   (void)
#define CPAL_I2C_GENCALL_UserCallback   (void)
#define CPAL_I2C_MASTER_MODE
#define CPAL_I2C_OVR_UserCallback   (void)
#define CPAL_I2C_RX_UserCallback   (void)
#define CPAL_I2C_RXTC_UserCallback   (void)
#define CPAL_I2C_SLAVE_MODE
#define CPAL_I2C_TIMEOUT_BUSY   2
#define CPAL_I2C_TIMEOUT_DEFAULT   ((uint32_t)0xFFFFFFFF)
#define CPAL_I2C_TIMEOUT_DETECTED   ((uint32_t)0x00000000)
#define CPAL_I2C_TIMEOUT_MIN   ((uint32_t)0x00000001)
#define CPAL_I2C_TIMEOUT_TC   5
#define CPAL_I2C_TIMEOUT_TCR   5
#define CPAL_I2C_TIMEOUT_TXIS   2
#define CPAL_I2C_TX_UserCallback   (void)
#define CPAL_I2C_TXTC_UserCallback   (void)
#define CPAL_LOG (   Str)    ((void)0)
#define CPAL_USE_I2C1
#define I2C1_IT_OFFSET_PREPRIO   0
#define I2C1_IT_OFFSET_SUBPRIO   0
#define I2C2_IT_OFFSET_PREPRIO   0
#define I2C2_IT_OFFSET_SUBPRIO   0
#define USE_SINGLE_ERROR_CALLBACK

Function Documentation

void CPAL_I2C_TIMEOUT_Manager ( void  )

Referenced by SysTick_Handler().

STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32