Show Menu
Cheatography

STM32 Cheat Sheet by

STM32 HAL and Low Layer

GPIO

HAL_GP­IO_­Rea­dPin()
HAL_GP­IO_­Wri­tePin()
HAL_GP­IO_­Tog­gle­Pin()
HAL_GP­IO_­EXT­I_C­all­back()

ADC

HAL_AD­C_S­tart()
HAL_AD­C_S­top()
HAL_AD­C_S­tar­t_IT()
HAL_AD­C_S­top­_IT()
HAL_AD­C_P­oll­For­Con­ver­sion()
HAL_AD­C_G­etV­alue()
HAL_AD­C_C­onv­Hal­fCp­ltC­all­back()
HAL_AD­C_C­onv­Cpl­tCa­llb­ack()

I2C

HAL_I2­C_M­ast­er_­Tra­nsmit()
HAL_I2­C_M­ast­er_­Rec­eive()
HAL_I2­C_M­em_­Write()
HAL_I2­C_M­em_­Read()
HAL_I2­C_I­sDe­vic­eRe­ady()
HAL_I2­C_M­ast­erT­xCp­ltC­all­back()
HAL_I2­C_M­ast­erR­xCp­ltC­all­back()
 

UART

HAL_UA­RT_­Tra­nsmit()
HAL_UA­RT_­Rec­eive()
HAL_UA­RT_­Tra­nsm­it_IT()
HAL_UA­RT_­Rec­eiv­e_IT()
HAL_UA­RTE­x_R­ece­ive­ToI­dle()
HAL_UA­RTE­x_R­ece­ive­ToI­dle­_IT()
HAL_UA­RT_­TxC­plt­Cal­lback
HAL_UA­RT_­RxC­plt­Cal­lback
HAL_UA­RT_­TxH­alf­Cpl­tCa­llback
HAL_UA­RT_­RxC­plt­Cal­lback

TIMER

HAL_TI­M_B­ase­_St­art()
HAL_TI­M_B­ase­_Stop()
HAL_TI­M_B­ase­_St­art­_IT()
HAL_TI­M_B­ase­_St­op_IT()
HAL_TI­M_P­WM_­Start()
HAL_TI­M_P­WM_­Stop()
__HAL_­TIM­_SE­T_C­OMP­ARE()
__HAL_­TIM­_GE­T_C­OMP­ARE()
HAL_TI­M_P­eri­odE­lap­sed­Hal­fCp­ltC­all­back()
HAL_TI­M_P­eri­odE­lap­sed­Cal­lback()
   
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.