LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/usb-c - nxp_nx20p3483.h Hit Total Coverage
Test: new.info Lines: 24 24 100.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           1 : /*
       2             :  * Copyright 2023 Google LLC
       3             :  * SPDX-License-Identifier: Apache-2.0
       4             :  */
       5             : 
       6             : /**
       7             :  * @file
       8             :  * @brief Values used to define the sink overvoltage and source overcurrent protections thresholds.
       9             :  */
      10             : 
      11             : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_USBC_NXP_NX20P3483_H_
      12             : #define ZEPHYR_INCLUDE_DT_BINDINGS_USBC_NXP_NX20P3483_H_
      13             : 
      14             : /** Voltage limit of 6.0V */
      15           1 : #define NX20P3483_U_THRESHOLD_6_0 0
      16             : /** Voltage limit of 6.8V */
      17           1 : #define NX20P3483_U_THRESHOLD_6_8 1 /* <-- default */
      18             : /** Voltage limit of 10.0V */
      19           1 : #define NX20P3483_U_THRESHOLD_10_0 2
      20             : /** Voltage limit of 11.5V */
      21           1 : #define NX20P3483_U_THRESHOLD_11_5 3
      22             : /** Voltage limit of 14.0V */
      23           1 : #define NX20P3483_U_THRESHOLD_14_0 4
      24             : /** Voltage limit of 17.0V */
      25           1 : #define NX20P3483_U_THRESHOLD_17_0 5
      26             : /** Voltage limit of 23.0V */
      27           1 : #define NX20P3483_U_THRESHOLD_23_0 6
      28             : 
      29             : /** Current limit of 400mA */
      30           1 : #define NX20P3483_I_THRESHOLD_0_400 0
      31             : /** Current limit of 600mA */
      32           1 : #define NX20P3483_I_THRESHOLD_0_600 1
      33             : /** Current limit of 800mA */
      34           1 : #define NX20P3483_I_THRESHOLD_0_800 2
      35             : /** Current limit of 1000mA */
      36           1 : #define NX20P3483_I_THRESHOLD_1_000 3
      37             : /** Current limit of 1200mA */
      38           1 : #define NX20P3483_I_THRESHOLD_1_200 4
      39             : /** Current limit of 1400mA */
      40           1 : #define NX20P3483_I_THRESHOLD_1_400 5
      41             : /** Current limit of 1600mA */
      42           1 : #define NX20P3483_I_THRESHOLD_1_600 6 /* <-- default */
      43             : /** Current limit of 1800mA */
      44           1 : #define NX20P3483_I_THRESHOLD_1_800 7
      45             : /** Current limit of 2000mA */
      46           1 : #define NX20P3483_I_THRESHOLD_2_000 8
      47             : /** Current limit of 2200mA */
      48           1 : #define NX20P3483_I_THRESHOLD_2_200 9
      49             : /** Current limit of 2400mA */
      50           1 : #define NX20P3483_I_THRESHOLD_2_400 10
      51             : /** Current limit of 2600mA */
      52           1 : #define NX20P3483_I_THRESHOLD_2_600 11
      53             : /** Current limit of 2800mA */
      54           1 : #define NX20P3483_I_THRESHOLD_2_800 12
      55             : /** Current limit of 3000mA */
      56           1 : #define NX20P3483_I_THRESHOLD_3_000 13
      57             : /** Current limit of 3200mA */
      58           1 : #define NX20P3483_I_THRESHOLD_3_200 14
      59             : /** Current limit of 3400mA */
      60           1 : #define NX20P3483_I_THRESHOLD_3_400 15
      61             : 
      62             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_USBC_NXP_NX20P3483_H_ */

Generated by: LCOV version 1.14