STM32F0xx Standard Peripherals Firmware Library: stm32f0xx_i2c_cpal_conf.h File Reference

STM32F0xx Standard Peripherals Library

I2C_TwoBoards/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_10BIT_ADDR_MODE
#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_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_Manager   SysTick_Handler
#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_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 SysTick_Handler (void)
 This function handles SysTick Handler.

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_TwoBoards/stm32f0xx_i2c_cpal_conf.h.


Define Documentation

#define _CPAL_TIMEOUT_DEINIT ( )    SysTick->CTRL = 0

Definition at line 442 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define _CPAL_TIMEOUT_INIT ( )
Value:
SysTick_Config((SystemCoreClock / 1000));\
                                       NVIC_SetPriority (SysTick_IRQn, 0)

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

#define CPAL_EnterCriticalSection_UserCallback   __disable_irq

Definition at line 421 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_ExitCriticalSection_UserCallback   __enable_irq

Definition at line 422 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_10BIT_ADDR_MODE

Definition at line 363 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_AF_UserCallback   (void)

Definition at line 400 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_ARLO_UserCallback   (void)

Definition at line 398 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_BERR_UserCallback   (void)

Definition at line 397 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMA_PROGMODEL

Definition at line 351 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMARXHT_UserCallback   (void)

Definition at line 413 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMARXTC_UserCallback   (void)

Definition at line 412 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMARXTE_UserCallback   (void)

Definition at line 414 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMATXHT_UserCallback   (void)

Definition at line 410 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMATXTC_UserCallback   (void)

Definition at line 409 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DMATXTE_UserCallback   (void)

Definition at line 411 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_DUALF_UserCallback   (void)

Definition at line 418 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_GENCALL_UserCallback   (void)

Definition at line 417 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_MASTER_MODE

Definition at line 341 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_OVR_UserCallback   (void)

Definition at line 399 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_RX_UserCallback   (void)

Definition at line 404 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_SLAVE_MODE

Definition at line 346 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_BUSY   2

Definition at line 464 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_DEFAULT   ((uint32_t)0xFFFFFFFF)

Definition at line 467 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

Referenced by CPAL_TIMEOUT_UserCallback().

#define CPAL_I2C_TIMEOUT_DETECTED   ((uint32_t)0x00000000)

Definition at line 469 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_Manager   SysTick_Handler

Definition at line 445 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_MIN   ((uint32_t)0x00000001)

Definition at line 468 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_TC   5

Definition at line 461 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_TCR   5

Definition at line 462 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TIMEOUT_TXIS   2

Definition at line 463 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_I2C_TX_UserCallback   (void)

Definition at line 403 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_LOG (   Str)    ((void)0)

Definition at line 524 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define CPAL_USE_I2C1

Definition at line 329 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define I2C1_IT_OFFSET_PREPRIO   0

Definition at line 487 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define I2C1_IT_OFFSET_SUBPRIO   0

Definition at line 486 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define I2C2_IT_OFFSET_PREPRIO   0

Definition at line 490 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define I2C2_IT_OFFSET_SUBPRIO   0

Definition at line 489 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

#define USE_SINGLE_ERROR_CALLBACK

Definition at line 388 of file I2C_TwoBoards/stm32f0xx_i2c_cpal_conf.h.

STM32L1xx Standard Peripherals Library: Footer

 

 

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