Rev. 1.10
4
November 26, 2019
Rev. 1.10
5
November 26, 2019
HT68FB240
USB Low Speed Flash MCU
SPI Interface ........................................................................................................................ 76
SPI Interface Operation ........................................................................................................ 76
SPI Registers ........................................................................................................................ 77
SPI Communication ............................................................................................................. 80
SPI Bus Enable/Disable ........................................................................................................ 82
SPI Operation ........................................................................................................................ 82
PWM Operation ..................................................................................................................... 94
6+2 PWM Mode .................................................................................................................... 95
7+1 PWM Mode .................................................................................................................... 96
PWM Output Control ............................................................................................................. 97
PWM Programming Example ................................................................................................ 97
Interrupt Registers ................................................................................................................. 98
Interrupt Operation .............................................................................................................. 101
External Interrupt ................................................................................................................. 103
USB SIE Interrupt ................................................................................................................ 103
USB Setup Token Interrupt ................................................................................................. 103
USB Endpoint 0 IN Token Interrupt ..................................................................................... 103
USB Endpoint 0 OUT Token Interrupt ................................................................................. 104
Serial Interface Module Interrupt ......................................................................................... 104
LVD Interrupt ...................................................................................................................... 104
Multi-function Interrupt ........................................................................................................ 104
TM Interrupts ...................................................................................................................... 105
Interrupt Wake-up Function ................................................................................................. 105
Programming Considerations .............................................................................................. 105
LVD Register ....................................................................................................................... 106
LVD Operation ..................................................................................................................... 107