LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/pinctrl - mspm0-pinctrl.h Coverage Total Hit
Test: new.info Lines: 0.0 % 19 0
Test Date: 2025-09-05 16:43:28

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2025 Texas Instruments
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : #ifndef _MSPM0_DT_BINDINGS_PINCTRL_H_
       8              : #define _MSPM0_DT_BINDINGS_PINCTRL_H_
       9              : 
      10            0 : #define MSP_PORT_INDEX_BY_NAME(x) ((x == "PORTA") ? 0 : 1)
      11              : 
      12            0 : #define MSPM0_PIN_FUNCTION_ANALOG (0x00000000)
      13            0 : #define MSPM0_PIN_FUNCTION_GPIO   (0x00000001)
      14            0 : #define MSPM0_PIN_FUNCTION_2      (0x00000002)
      15            0 : #define MSPM0_PIN_FUNCTION_3      (0x00000003)
      16            0 : #define MSPM0_PIN_FUNCTION_4      (0x00000004)
      17            0 : #define MSPM0_PIN_FUNCTION_5      (0x00000005)
      18            0 : #define MSPM0_PIN_FUNCTION_6      (0x00000006)
      19            0 : #define MSPM0_PIN_FUNCTION_7      (0x00000007)
      20            0 : #define MSPM0_PIN_FUNCTION_8      (0x00000008)
      21            0 : #define MSPM0_PIN_FUNCTION_9      (0x00000009)
      22            0 : #define MSPM0_PIN_FUNCTION_10     (0x0000000A)
      23            0 : #define MSPM0_PIN_FUNCTION_11     (0x0000000B)
      24            0 : #define MSPM0_PIN_FUNCTION_12     (0x0000000C)
      25            0 : #define MSPM0_PIN_FUNCTION_13     (0x0000000D)
      26            0 : #define MSPM0_PIN_FUNCTION_14     (0x0000000E)
      27            0 : #define MSPM0_PIN_FUNCTION_15     (0x0000000F)
      28              : 
      29              : /* Creates a concatenation of the correct pin function based on the pin control
      30              :  * management register offset and the function suffix.
      31              :  */
      32            0 : #define MSP_PINMUX(pincm, function) (((pincm - 1) << 0x10) | function)
      33              : 
      34              : #endif
        

Generated by: LCOV version 2.0-1