Rev. 1.00 8 of 474 June 01, 2023
32-Bit Arm® Cortex®-M4 MCU
HT32F49365/HT32F49395
Table of Contents
I2S full-duplex ............................................................................................................................... 194
Operation mode selector .............................................................................................................. 194
Audio protocol selector ................................................................................................................. 196
I2S_CLK controller ........................................................................................................................ 197
DMA transfer ................................................................................................................................. 200
Transmitter/Receiver .................................................................................................................... 200
Interrupts ...................................................................................................................................... 202
IO pin control ................................................................................................................................ 202
SPI registers ...................................................................................................................... 202
SPI control register1 (SPI_CTRL1) (Not used in I2S mode) ......................................................... 203
SPI control register2 (SPI_CTRL2) .............................................................................................. 204
SPI status register (SPI_STS) ...................................................................................................... 205
SPI data register (SPI_DT) ........................................................................................................... 206
SPICRC register (SPI_CPOLY) (Not used in I2S mode) ............................................................... 206
SPIRxCRC register (SPI_RCRC) (Not used in I2S mode) ............................................................ 206
SPITxCRC register (SPI_TCRC) ................................................................................................. 206
SPI_I2S register (SPI_I2SCTRL) ................................................................................................. 207
SPI_I2S prescaler register (SPI_I2SCLKP) ................................................................................. 208
14 Timer .................................................................................................................. 209
Basic timer (TMR6 and TMR7) .......................................................................................... 210
TMR6 and TMR7 introduction ....................................................................................................... 210
TMR6 and TMR7 main features ................................................................................................... 210
TMR6 and TMR7 functional descriptions ...................................................................................... 210
TMR6 and TMR7 registers ........................................................................................................... 212
General-purpose timer (TMR2 to TMR5) ........................................................................... 214
TMRx introduction ......................................................................................................................... 214
TMRx main features ..................................................................................................................... 214
TMRx functional descriptions ........................................................................................................ 215
TMRx registers ............................................................................................................................. 228
General-purpose timer (TMR9 to TMR14) ......................................................................... 241
TMRx introduction ......................................................................................................................... 241
TMRx main features ..................................................................................................................... 241
TMRx functional descriptions ........................................................................................................ 242
TMR9 and TMR12 registers ......................................................................................................... 250
TMR10,TMR11, TMR13 and TMR14 registers ............................................................................. 258
Advanced-control timers (TMR1 and TMR8) ..................................................................... 264
TMR1 and TMR8 introduction ....................................................................................................... 264
TMR1 and TMR8 main features ................................................................................................... 264
TMR1 and TMR8 functional descriptions ...................................................................................... 265
TMR1 and TMR8 registers ........................................................................................................... 278
15 Window watchdog timer (WWDT) ................................................................... 295
WWDT introduction ............................................................................................................ 295
Main features ..................................................................................................................... 295