When to Use
- The user asks about registers, configuration, or initialization methods for any peripheral module of the HC32F4A0
- The user needs typical usage or official example reference for a certain module
- The user is debugging HC32F4A0-related code and needs to consult the manual to confirm behavior
- The user asks about chip selection (model comparison, package, Flash size, CAN FD support)
- The user asks about pin configuration (5V tolerance, Func Group grouping, pin multiplexing)
- The user asks about electrical parameters (power consumption, clock source characteristics, absolute maximum ratings, peripheral timing)
Retrieval Strategy
- Read the index first: Read 00-index.md to locate the target chapter number and corresponding file path
- Read the chapter knowledge card: Read
chapters/<编号>-<模块名>.mdto obtain refined knowledge - Go deeper as needed: If the knowledge card information is insufficient, use the absolute path recorded in the card to read the original manual Markdown or SDK example source code
- Read only 1 chapter at a time, batch reading of multiple chapters is prohibited
Core Rules
- Answers must cite specific register names and bit fields, and indicate the source chapter number
- When examples are involved, provide the example name and key code snippets; do not copy the entire file
Chapter Navigation
| # | Module | Knowledge Card |
|---|---|---|
| 1 | Memory Map + Bus Architecture | chapters/01-memory-map.md |
| 2 | RMU Reset Control | chapters/02-rmu.md |
| 3 | CMU Clock Controller | chapters/03-cmu.md |
| 4 | PWC Power Control | chapters/04-pwc.md |
| 5 | ICG Initialization Configuration | chapters/05-icg.md |
| 6 | EFM Embedded FLASH | chapters/06-efm.md |
| 7 | SRAM Built-in SRAM | chapters/07-sram.md |
| 8 | GPIO General Purpose IO | chapters/08-gpio.md |
| 9 | INTC Interrupt Controller | chapters/09-intc.md |
| 10 | AOS Automatic Operation System | chapters/10-aos.md |
| 11 | MPU Memory Protection Unit | chapters/11-mpu.md |
| 12 | KEYSCAN Keyboard Scan | chapters/12-keyscan.md |
| 13 | CTC Internal Clock Calibrator | chapters/13-ctc.md |
| 14 | DMA Controller | chapters/14-dma.md |
| 15 | CMP Voltage Comparator | chapters/15-cmp.md |
| 16 | ADC Analog-to-Digital Conversion | chapters/16-adc.md |
| 17 | DAC Digital-to-Analog Converter | chapters/17-dac.md |
| 18 | OTS Temperature Sensor | chapters/18-ots.md |
| 19 | Timer6 Advanced Control Timer | chapters/19-timer6.md |
| 20 | HRPWM High-Resolution PWM | chapters/20-hrpwm.md |
| 21 | Timer4 General Control Timer | chapters/21-timer4.md |
| 22 | EMB Emergency Brake Module | chapters/22-emb.md |
| 23 | TimerA General Timer | chapters/23-timera.md |
| 24 | Timer2 General Timer | chapters/24-timer2.md |
| 25 | Timer0 General Timer | chapters/25-timer0.md |
| 26 | RTC Real-Time Clock | chapters/26-rtc.md |
| 27 | SWDT Watchdog Counter | chapters/27-swdt.md |
| 28 | USART Universal Synchronous Asynchronous Receiver Transmitter | chapters/28-usart.md |
| 29 | I2C Inter-Integrated Circuit Bus | chapters/29-i2c.md |
| 30 | SPI Serial Peripheral Interface | chapters/30-spi.md |
| 31 | QSPI Quad Serial Peripheral Interface | chapters/31-qspi.md |
| 32 | I2S Audio Bus | chapters/32-i2s.md |
| 33 | USBHS USB2.0 High Speed | chapters/33-usbhs.md |
| 34 | USBFS USB2.0 Full Speed | chapters/34-usbfs.md |
| 35 | CANFD Controller | chapters/35-canfd.md |
| 36 | CAN2.0B Controller | chapters/36-can2b.md |
| 37 | SDIOC SDIO Controller | chapters/37-sdioc.md |
| 38 | ETHMAC Ethernet MAC | chapters/38-ethmac.md |
| 39 | EXMC External Memory Controller | chapters/39-exmc.md |
| 40 | DVP Digital Video Interface | chapters/40-dvp.md |
| 41 | CPM Cryptographic Coprocessor Module | chapters/41-cpm.md |
| 42 | CRC Operation | chapters/42-crc.md |
| 43 | DCU Data Computing Unit | chapters/43-dcu.md |
| 44 | MAU Math Arithmetic Unit | chapters/44-mau.md |
| 45 | FMAC Filtering Math Accelerator | chapters/45-fmac.md |
| 46 | DBGC Debug Controller | chapters/46-dbgc.md |
| DS-1 | Chip Overview and Selection | chapters/ds-overview.md |
| DS-2 | Pin Configuration and Multiplexing | chapters/ds-pinouts.md |
| DS-3 | Electrical Characteristics Quick Reference | chapters/ds-electrical.md |
When to load supporting files
| Requirement | Read |
|---|---|
| Find the manual/example path corresponding to a module | 00-index.md |
| Understand the writing standards for chapter knowledge cards | chapter-template.md |
| Look up specific module knowledge | The corresponding one in the navigation table above chapters/*.md |
| Chip selection, package comparison | chapters/ds-overview.md |
| Pin 5V tolerance, multiplexing groups | chapters/ds-pinouts.md |
| Power consumption, electrical parameters, clock source characteristics | chapters/ds-electrical.md |