Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5054

Bare metal, Assembly language • Re: RPi5 power button

$
0
0
Another possibility to switch off the Raspberry Pi 5 is this call to the PCSI interface, provided by the Trusted Firmware module:

Code:

asm volatile("movx0, %0\n""smc#0\n":: "r" (0x84000008U)// function code SYSTEM_OFF);

Statistics: Posted by rst — Tue Feb 20, 2024 11:42 am



Viewing all articles
Browse latest Browse all 5054

Trending Articles