Data Structures | Macros | Functions
PowerMSP432E4.h File Reference

Detailed Description

Power manager interface for MSP432E.

============================================================================

The Power header files should be included in an application as follows:

Refer to Power.h for a complete description of APIs.

Implementation

This module defines the Power APIs and resources for MSP432E.

A reference power policy is provided to transition the CPU from the active state to a clock-gated sleep state (WFI) when the CPU is idle.


#include <stdint.h>
#include <ti/drivers/Power.h>
Include dependency graph for PowerMSP432E4.h:

Go to the source code of this file.

Data Structures

struct  PowerMSP432E4_Config
 Power global configuration structure. More...
 

Macros

#define PowerMSP432E4_PERIPH_ADC0   0
 
#define PowerMSP432E4_PERIPH_ADC1   1
 
#define PowerMSP432E4_PERIPH_CAN0   2
 
#define PowerMSP432E4_PERIPH_CAN1   3
 
#define PowerMSP432E4_PERIPH_CCM0   4
 
#define PowerMSP432E4_PERIPH_COMP0   5
 
#define PowerMSP432E4_PERIPH_GPIOA   6
 
#define PowerMSP432E4_PERIPH_GPIOB   7
 
#define PowerMSP432E4_PERIPH_GPIOC   8
 
#define PowerMSP432E4_PERIPH_GPIOD   9
 
#define PowerMSP432E4_PERIPH_GPIOE   10
 
#define PowerMSP432E4_PERIPH_GPIOF   11
 
#define PowerMSP432E4_PERIPH_GPIOG   12
 
#define PowerMSP432E4_PERIPH_GPIOH   13
 
#define PowerMSP432E4_PERIPH_GPIOJ   14
 
#define PowerMSP432E4_PERIPH_GPIOK   15
 
#define PowerMSP432E4_PERIPH_GPIOL   16
 
#define PowerMSP432E4_PERIPH_GPIOM   17
 
#define PowerMSP432E4_PERIPH_GPION   18
 
#define PowerMSP432E4_PERIPH_GPIOP   19
 
#define PowerMSP432E4_PERIPH_GPIOQ   20
 
#define PowerMSP432E4_PERIPH_GPIOR   21
 
#define PowerMSP432E4_PERIPH_GPIOS   22
 
#define PowerMSP432E4_PERIPH_GPIOT   23
 
#define PowerMSP432E4_PERIPH_EMAC0   24
 
#define PowerMSP432E4_PERIPH_EPHY0   25
 
#define PowerMSP432E4_PERIPH_EPI0   26
 
#define PowerMSP432E4_PERIPH_I2C0   27
 
#define PowerMSP432E4_PERIPH_I2C1   28
 
#define PowerMSP432E4_PERIPH_I2C2   29
 
#define PowerMSP432E4_PERIPH_I2C3   30
 
#define PowerMSP432E4_PERIPH_I2C4   31
 
#define PowerMSP432E4_PERIPH_I2C5   32
 
#define PowerMSP432E4_PERIPH_I2C6   33
 
#define PowerMSP432E4_PERIPH_I2C7   34
 
#define PowerMSP432E4_PERIPH_I2C8   35
 
#define PowerMSP432E4_PERIPH_I2C9   36
 
#define PowerMSP432E4_PERIPH_LCD0   37
 
#define PowerMSP432E4_PERIPH_ONEWIRE0   38
 
#define PowerMSP432E4_PERIPH_PWM0   39
 
#define PowerMSP432E4_PERIPH_QEI0   40
 
#define PowerMSP432E4_PERIPH_SSI0   41
 
#define PowerMSP432E4_PERIPH_SSI1   42
 
#define PowerMSP432E4_PERIPH_SSI2   43
 
#define PowerMSP432E4_PERIPH_SSI3   44
 
#define PowerMSP432E4_PERIPH_TIMER0   45
 
#define PowerMSP432E4_PERIPH_TIMER1   46
 
#define PowerMSP432E4_PERIPH_TIMER2   47
 
#define PowerMSP432E4_PERIPH_TIMER3   48
 
#define PowerMSP432E4_PERIPH_TIMER4   49
 
#define PowerMSP432E4_PERIPH_TIMER5   50
 
#define PowerMSP432E4_PERIPH_TIMER6   51
 
#define PowerMSP432E4_PERIPH_TIMER7   52
 
#define PowerMSP432E4_PERIPH_UART0   53
 
#define PowerMSP432E4_PERIPH_UART1   54
 
#define PowerMSP432E4_PERIPH_UART2   55
 
#define PowerMSP432E4_PERIPH_UART3   56
 
#define PowerMSP432E4_PERIPH_UART4   57
 
#define PowerMSP432E4_PERIPH_UART5   58
 
#define PowerMSP432E4_PERIPH_UART6   59
 
#define PowerMSP432E4_PERIPH_UART7   60
 
#define PowerMSP432E4_PERIPH_UDMA   61
 
#define PowerMSP432E4_PERIPH_USB0   62
 
#define PowerMSP432E4_PERIPH_WDOG0   63
 
#define PowerMSP432E4_PERIPH_WDOG1   64
 
#define PowerMSP432E4_DOMAIN_CAN0   65
 
#define PowerMSP432E4_DOMAIN_CAN1   66
 
#define PowerMSP432E4_DOMAIN_CCM0   67
 
#define PowerMSP432E4_DOMAIN_EMAC0   68
 
#define PowerMSP432E4_DOMAIN_EPHY0   69
 
#define PowerMSP432E4_DOMAIN_USB0   70
 

Functions

void PowerMSP432E4_sleepPolicy (void)
 

Macro Definition Documentation

§ PowerMSP432E4_PERIPH_ADC0

#define PowerMSP432E4_PERIPH_ADC0   0

Resource ID: ADC Module 0

§ PowerMSP432E4_PERIPH_ADC1

#define PowerMSP432E4_PERIPH_ADC1   1

Resource ID: ADC Module 1

§ PowerMSP432E4_PERIPH_CAN0

#define PowerMSP432E4_PERIPH_CAN0   2

Resource ID: CAN Controller 0

§ PowerMSP432E4_PERIPH_CAN1

#define PowerMSP432E4_PERIPH_CAN1   3

Resource ID: CAN Controller 1

§ PowerMSP432E4_PERIPH_CCM0

#define PowerMSP432E4_PERIPH_CCM0   4

Resource ID: CRC Module

§ PowerMSP432E4_PERIPH_COMP0

#define PowerMSP432E4_PERIPH_COMP0   5

Resource ID: Analog Comparator Module

§ PowerMSP432E4_PERIPH_GPIOA

#define PowerMSP432E4_PERIPH_GPIOA   6

Resource ID: GPIO Port A

§ PowerMSP432E4_PERIPH_GPIOB

#define PowerMSP432E4_PERIPH_GPIOB   7

Resource ID: GPIO Port B

§ PowerMSP432E4_PERIPH_GPIOC

#define PowerMSP432E4_PERIPH_GPIOC   8

Resource ID: GPIO Port C

§ PowerMSP432E4_PERIPH_GPIOD

#define PowerMSP432E4_PERIPH_GPIOD   9

Resource ID: GPIO Port D

§ PowerMSP432E4_PERIPH_GPIOE

#define PowerMSP432E4_PERIPH_GPIOE   10

Resource ID: GPIO Port E

§ PowerMSP432E4_PERIPH_GPIOF

#define PowerMSP432E4_PERIPH_GPIOF   11

Resource ID: GPIO Port F

§ PowerMSP432E4_PERIPH_GPIOG

#define PowerMSP432E4_PERIPH_GPIOG   12

Resource ID: GPIO Port G

§ PowerMSP432E4_PERIPH_GPIOH

#define PowerMSP432E4_PERIPH_GPIOH   13

Resource ID: GPIO Port H

§ PowerMSP432E4_PERIPH_GPIOJ

#define PowerMSP432E4_PERIPH_GPIOJ   14

Resource ID: GPIO Port J

§ PowerMSP432E4_PERIPH_GPIOK

#define PowerMSP432E4_PERIPH_GPIOK   15

Resource ID: GPIO Port K

§ PowerMSP432E4_PERIPH_GPIOL

#define PowerMSP432E4_PERIPH_GPIOL   16

Resource ID: GPIO Port L

§ PowerMSP432E4_PERIPH_GPIOM

#define PowerMSP432E4_PERIPH_GPIOM   17

Resource ID: GPIO Port M

§ PowerMSP432E4_PERIPH_GPION

#define PowerMSP432E4_PERIPH_GPION   18

Resource ID: GPIO Port N

§ PowerMSP432E4_PERIPH_GPIOP

#define PowerMSP432E4_PERIPH_GPIOP   19

Resource ID: GPIO Port P

§ PowerMSP432E4_PERIPH_GPIOQ

#define PowerMSP432E4_PERIPH_GPIOQ   20

Resource ID: GPIO Port Q

§ PowerMSP432E4_PERIPH_GPIOR

#define PowerMSP432E4_PERIPH_GPIOR   21

Resource ID: GPIO Port R

§ PowerMSP432E4_PERIPH_GPIOS

#define PowerMSP432E4_PERIPH_GPIOS   22

Resource ID: GPIO Port S

§ PowerMSP432E4_PERIPH_GPIOT

#define PowerMSP432E4_PERIPH_GPIOT   23

Resource ID: GPIO Port T

§ PowerMSP432E4_PERIPH_EMAC0

#define PowerMSP432E4_PERIPH_EMAC0   24

Resource ID: Ethernet Controller Module

§ PowerMSP432E4_PERIPH_EPHY0

#define PowerMSP432E4_PERIPH_EPHY0   25

Resource ID: Ethernet PHY

§ PowerMSP432E4_PERIPH_EPI0

#define PowerMSP432E4_PERIPH_EPI0   26

Resource ID: External Peripheral Interface

§ PowerMSP432E4_PERIPH_I2C0

#define PowerMSP432E4_PERIPH_I2C0   27

Resource ID: I2C Module 0

§ PowerMSP432E4_PERIPH_I2C1

#define PowerMSP432E4_PERIPH_I2C1   28

Resource ID: I2C Module 1

§ PowerMSP432E4_PERIPH_I2C2

#define PowerMSP432E4_PERIPH_I2C2   29

Resource ID: I2C Module 2

§ PowerMSP432E4_PERIPH_I2C3

#define PowerMSP432E4_PERIPH_I2C3   30

Resource ID: I2C Module 3

§ PowerMSP432E4_PERIPH_I2C4

#define PowerMSP432E4_PERIPH_I2C4   31

Resource ID: I2C Module 4

§ PowerMSP432E4_PERIPH_I2C5

#define PowerMSP432E4_PERIPH_I2C5   32

Resource ID: I2C Module 5

§ PowerMSP432E4_PERIPH_I2C6

#define PowerMSP432E4_PERIPH_I2C6   33

Resource ID: I2C Module 6

§ PowerMSP432E4_PERIPH_I2C7

#define PowerMSP432E4_PERIPH_I2C7   34

Resource ID: I2C Module 7

§ PowerMSP432E4_PERIPH_I2C8

#define PowerMSP432E4_PERIPH_I2C8   35

Resource ID: I2C Module 8

§ PowerMSP432E4_PERIPH_I2C9

#define PowerMSP432E4_PERIPH_I2C9   36

Resource ID: I2C Module 9

§ PowerMSP432E4_PERIPH_LCD0

#define PowerMSP432E4_PERIPH_LCD0   37

Resource ID: LCD Controller

§ PowerMSP432E4_PERIPH_ONEWIRE0

#define PowerMSP432E4_PERIPH_ONEWIRE0   38

Resource ID: 1-Wire Master Module

§ PowerMSP432E4_PERIPH_PWM0

#define PowerMSP432E4_PERIPH_PWM0   39

Resource ID: Pulse Width Modulator0

§ PowerMSP432E4_PERIPH_QEI0

#define PowerMSP432E4_PERIPH_QEI0   40

Resource ID: Quadrature Encoder Interface

§ PowerMSP432E4_PERIPH_SSI0

#define PowerMSP432E4_PERIPH_SSI0   41

Resource ID: QSSI Module 0

§ PowerMSP432E4_PERIPH_SSI1

#define PowerMSP432E4_PERIPH_SSI1   42

Resource ID: QSSI Module 1

§ PowerMSP432E4_PERIPH_SSI2

#define PowerMSP432E4_PERIPH_SSI2   43

Resource ID: QSSI Module 2

§ PowerMSP432E4_PERIPH_SSI3

#define PowerMSP432E4_PERIPH_SSI3   44

Resource ID: QSSI Module 3

§ PowerMSP432E4_PERIPH_TIMER0

#define PowerMSP432E4_PERIPH_TIMER0   45

Resource ID: General Purpose Timer Module 0

§ PowerMSP432E4_PERIPH_TIMER1

#define PowerMSP432E4_PERIPH_TIMER1   46

Resource ID: General Purpose Timer Module 1

§ PowerMSP432E4_PERIPH_TIMER2

#define PowerMSP432E4_PERIPH_TIMER2   47

Resource ID: General Purpose Timer Module 2

§ PowerMSP432E4_PERIPH_TIMER3

#define PowerMSP432E4_PERIPH_TIMER3   48

Resource ID: General Purpose Timer Module 3

§ PowerMSP432E4_PERIPH_TIMER4

#define PowerMSP432E4_PERIPH_TIMER4   49

Resource ID: General Purpose Timer Module 4

§ PowerMSP432E4_PERIPH_TIMER5

#define PowerMSP432E4_PERIPH_TIMER5   50

Resource ID: General Purpose Timer Module 5

§ PowerMSP432E4_PERIPH_TIMER6

#define PowerMSP432E4_PERIPH_TIMER6   51

Resource ID: General Purpose Timer Module 6

§ PowerMSP432E4_PERIPH_TIMER7

#define PowerMSP432E4_PERIPH_TIMER7   52

Resource ID: General Purpose Timer Module 7

§ PowerMSP432E4_PERIPH_UART0

#define PowerMSP432E4_PERIPH_UART0   53

Resource ID: UART Module 0

§ PowerMSP432E4_PERIPH_UART1

#define PowerMSP432E4_PERIPH_UART1   54

Resource ID: UART Module 1

§ PowerMSP432E4_PERIPH_UART2

#define PowerMSP432E4_PERIPH_UART2   55

Resource ID: UART Module 2

§ PowerMSP432E4_PERIPH_UART3

#define PowerMSP432E4_PERIPH_UART3   56

Resource ID: UART Module 3

§ PowerMSP432E4_PERIPH_UART4

#define PowerMSP432E4_PERIPH_UART4   57

Resource ID: UART Module 4

§ PowerMSP432E4_PERIPH_UART5

#define PowerMSP432E4_PERIPH_UART5   58

Resource ID: UART Module 5

§ PowerMSP432E4_PERIPH_UART6

#define PowerMSP432E4_PERIPH_UART6   59

Resource ID: UART Module 6

§ PowerMSP432E4_PERIPH_UART7

#define PowerMSP432E4_PERIPH_UART7   60

Resource ID: UART Module 7

§ PowerMSP432E4_PERIPH_UDMA

#define PowerMSP432E4_PERIPH_UDMA   61

Resource ID: uDMA Controller

§ PowerMSP432E4_PERIPH_USB0

#define PowerMSP432E4_PERIPH_USB0   62

Resource ID: USB Controller

§ PowerMSP432E4_PERIPH_WDOG0

#define PowerMSP432E4_PERIPH_WDOG0   63

Resource ID: Watchdog Timer 0

§ PowerMSP432E4_PERIPH_WDOG1

#define PowerMSP432E4_PERIPH_WDOG1   64

Resource ID: Watchdog Timer 1

§ PowerMSP432E4_DOMAIN_CAN0

#define PowerMSP432E4_DOMAIN_CAN0   65

Resource ID: CAN0 Power Domain

§ PowerMSP432E4_DOMAIN_CAN1

#define PowerMSP432E4_DOMAIN_CAN1   66

Resource ID: CAN1 Power Domain

§ PowerMSP432E4_DOMAIN_CCM0

#define PowerMSP432E4_DOMAIN_CCM0   67

Resource ID: CCM0 Power Domain

§ PowerMSP432E4_DOMAIN_EMAC0

#define PowerMSP432E4_DOMAIN_EMAC0   68

Resource ID: EMAC0 Power Domain

§ PowerMSP432E4_DOMAIN_EPHY0

#define PowerMSP432E4_DOMAIN_EPHY0   69

Resource ID: EPHY0 Power Domain

§ PowerMSP432E4_DOMAIN_USB0

#define PowerMSP432E4_DOMAIN_USB0   70

Resource ID: USB0 Power Domain

Function Documentation

§ PowerMSP432E4_sleepPolicy()

void PowerMSP432E4_sleepPolicy ( void  )

OS-specific power policy function

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale