Web Analytics
Datasheet 搜索 > 微控制器 > ST Microelectronics(意法半导体) > STM32F372V8H6 数据手册 > STM32F372V8H6 产品设计参考手册 6/66 页
STM32F372V8H6
32.582
导航目录
  • 应用领域在P66
  • 型号编号列表在P1
STM32F372V8H6数据手册
Page:
of 66 Go
若手册格式错乱,请下载阅览PDF原文件
CPAL overview UM1566
6/66 Doc ID 023577 Rev 1
1 CPAL overview
The purpose of this document is to explain the architecture and the implementation of the
CPAL Library (Communication Peripheral Application Library):
CPAL v2 is a Library providing high layer API for STM32F0/F3 communication peripherals
(I
2
C). It provides CPAL drivers for each device, some illustrating examples showing how to
use and customize the CPAL drivers.
It mainly aims to:
Provide intuitive, easy to use and sufficient API (Init, Deinit, Read, Write):
All configurations needed for the communication peripheral (I/O pins, Clocks,
Interrupt vectors, DMA channels …) are internally managed by the CPAL low layer
drivers.
The communication operations are also managed internally by the CPAL drivers
(communication headers, address sending, Interrupt and/DMA control, error
management …).
All operations are controlled and monitored through a single configuration
structure (one structure instance for each device) holding all necessary
configuration parameters (device configuration, buffers addresses and sizes…) as
well as the current communication status and error codes.
Provide efficient and complete management of device and communication errors.
Device events and errors are managed by the CPAL low layer drivers and allow user to
integrate easily a specific code for each event and error. Communication errors are also
managed by a timeout mechanism that can be customized by user application.
Provide high customization and integration level:
Several static configurations allow reducing code size when some options are not
used (i.e., Reduce the number of used devices, disable management of some
modes: 10-bit addressing, General call …).
Dynamic and easy configuration through a unique control structure allowing
dynamically enabling/disabling device and communication options.
Several user callbacks: functions declared and called by the CPAL drivers and
implemented by user application when needed. These functions allow user
application to perform specific actions relative to specific communication
events/errors.
Provide device abstraction layer: CPAL library supports all STM32 device families.
Provide efficient and simple debug feature through CPAL_DEBUG option: debug
messages are sent through customizable macro. Log messages are sent at each step
of the CPAL driver (this macro can be customized to send messages through serial
interface, debug IDE interface, LCD screen…).
In order to optimize CPAL driver performances, all operations, except device
initialization, are preformed through direct register access.

STM32F372V8H6 数据手册

ST Microelectronics(意法半导体)
128 页 / 2.03 MByte
ST Microelectronics(意法半导体)
66 页 / 0.5 MByte
ST Microelectronics(意法半导体)
260 页 / 3.17 MByte
ST Microelectronics(意法半导体)
132 页 / 1.77 MByte
ST Microelectronics(意法半导体)
28 页 / 0.29 MByte
ST Microelectronics(意法半导体)
6 页 / 0.09 MByte
ST Microelectronics(意法半导体)
9 页 / 0.02 MByte
ST Microelectronics(意法半导体)
3 页 / 0.1 MByte

STM32F372V8 数据手册

ST Microelectronics(意法半导体)
STMICROELECTRONICS  STM32F372V8H6  微控制器, 32位, 浮点单元, ARM 皮质-M4F, 72 MHz, 64 KB, 16 KB, 100 引脚, BGA
ST Microelectronics(意法半导体)
STMICROELECTRONICS  STM32F372V8T6  芯片, 微控制器, 32位, CORTEX-M4F, 72MHZ, LQFP-100
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件