
2.6. Channel Registers ...................................................................................................................................55
3. ADC Example with PIT and eMIOS ............................................................................................................55
Chapter 7 CTU: Cross Triggering Unit ............................................................................................................58
1. Introduction........................................................................................................................................................58
2. Configuring CTU................................................................................................................................................59
3. Configuring ADC................................................................................................................................................60
4. Implementing a feedback loop with ADC-CTU-eMIOS......................................................................60
Chapter 8 WKPU: Wakeup Unit.........................................................................................................................62
1. Low power consumption modes................................................................................................................62
1.1. STOP .............................................................................................................................................................62
1.2. STANDBY....................................................................................................................................................62
2. Introduction........................................................................................................................................................63
3. Configuration of wakeup events.................................................................................................................65
Chapter 9 DSPI: Deserial Serial Peripheral Interface...............................................................................66
1. Introduction........................................................................................................................................................66
1.1. SPI Protocol Description......................................................................................................................66
1.2. Module Presentation .............................................................................................................................68
2. Configuration......................................................................................................................................................69
2.1. Signal Configuration ..............................................................................................................................69
2.2. Module Configuration Register .........................................................................................................69
2.3. Transfer Configuration Register.......................................................................................................70
2.3.1. Data attributes.....................................................................................................................................71
2.3.2. Baud rate ...............................................................................................................................................72
2.3.3. CS to SCK delay....................................................................................................................................73
2.3.4. After SCK delay....................................................................................................................................73
2.3.5. After transfer delay ...........................................................................................................................73
2.4. Status and Interrupt Registers ..........................................................................................................73
2.5. Transmit/Receive Registers...............................................................................................................74
3. Developing a general purpose SPI Driver...............................................................................................75
4. Driving smart-MOS switches MC33984 using SPI Driver................................................................77
4.1. Introduction to MC33984....................................................................................................................77
4.2. Driver’s components .............................................................................................................................77
4.2.1. Definitions.............................................................................................................................................79
4.2.2. Initialization .........................................................................................................................................79
4.2.3. Operations.............................................................................................................................................80