Datasheet 搜索 > 微控制器 > ST Microelectronics(意法半导体) > STM32F302VBT6 数据手册 > STM32F302VBT6 产品设计参考手册 6/66 页


¥ 45.195
STM32F302VBT6 产品设计参考手册 - ST Microelectronics(意法半导体)
制造商:
ST Microelectronics(意法半导体)
分类:
微控制器
封装:
LQFP-100
描述:
STMICROELECTRONICS STM32F302VBT6 微控制器, 32位, 通用, ARM 皮质-M4, 72 MHz, 128 KB, 24 KB, 100 引脚, LQFP
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
应用领域在P66
型号编号列表在P1
导航目录
STM32F302VBT6数据手册
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.
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件