• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/04-Jan-2025-205126

CMakeLists.txtD04-Jan-2025235 106

README.rstD04-Jan-2025742 2719

prj.confD04-Jan-202559 54

sample.yamlD04-Jan-2025137 76

README.rst

1.. zephyr:code-sample:: twinkie_v2_pda
2   :name: Power Delivery Analyzer
3   :relevant-api: adc_interface
4
5   Implement a basic Power Delivery Analyzer to determine if a USB device is currently charging.
6
7Overview
8********
9
10This provides access to :zephyr:board:`google_twinkie_v2` so you can try out
11the supported features.
12
13Building and Running
14********************
15
16Build and flash Twinkie as follows:
17
18.. zephyr-app-commands::
19   :zephyr-app: samples/boards/google/twinkie_v2/pda
20   :board: google_twinkie_v2
21   :goals: build flash
22   :compact:
23
24After flashing, the LED will start red. Putting the Twinkie in between any
25usbc connection will cause the LED to turn blue. The LED will turn green instead
26if the device is currently charging.
27