Difference between revisions of "Unit PlatformRPi3"
Line 14: | Line 14: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 ARM physical to VC IO mapping | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 ARM physical to VC IO mapping''' <code> RPI3_VCIO_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 25: | Line 25: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 ARM physical to VC bus mapping | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 ARM physical to VC bus mapping''' <code> RPI3_VCBUS_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 36: | Line 36: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 secure world boot | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 secure world boot''' <code> RPI3_SECURE_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 47: | Line 47: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 address of StartupHandler on reset | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 address of StartupHandler on reset''' <code> RPI3_STARTUP_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 58: | Line 58: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 page table address and size | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 page table address and size''' <code> RPI3_PAGE_TABLE_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 72: | Line 72: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 vector table address and size | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 vector table address and size''' <code> RPI3_VECTOR_TABLE_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 89: | Line 89: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 CPU count | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 CPU count''' <code> RPI3_CPU_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 106: | Line 106: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 IRQ/FIQ start/routing | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 IRQ/FIQ start/routing''' <code> RPI3_IRQ_*, RPI3_FIQ_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 130: | Line 130: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 SWI | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 SWI''' <code> RPI3_SWI_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 141: | Line 141: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 core timer prescaler | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 core timer prescaler''' <code> RPI3_*_TIMER_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 158: | Line 158: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 kernel image name | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 kernel image name''' <code> RPI3_KERNEL_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 182: | Line 182: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 mailbox | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 mailbox''' <code> RPI3_MAILBOX_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 196: | Line 196: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
− | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 local mailbox | + | <div style="font-size: 14px; padding-left: 12px;">'''RPi3 local mailbox''' <code> RPI3_LOCAL_MAILBOX_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" |
Revision as of 05:08, 3 April 2017
Return to Unit Reference
Contents
[hide]Description
Ultibo Platform interface unit for Raspberry Pi 3
The RPi3 B has the Activity LED connected to the GPU, access is via a Virtual GPIO (Power LED appears to be unavailable).
Constants
RPI3_VCIO_*
RPI3_VCBUS_*
RPI3_SECURE_*
RPI3_STARTUP_*
RPI3_PAGE_TABLE_*
RPI3_VECTOR_TABLE_*
RPI3_CPU_*
RPI3_IRQ_*, RPI3_FIQ_*
RPI3_SWI_*
RPI3_*_TIMER_*
RPI3_KERNEL_*
RPI3_MAILBOX_*
RPI3_LOCAL_MAILBOX_*
Type definitions
None defined
Public variables
RPi3 specific Ultibo variables
RPi3Initialized:Boolean;
|
RPi3CNTVOFFLow:LongWord = 0;
|
The low 32 bits of the Virtual Counter Offset register at boot time (CPU0 only) (Set by Startup). Must be initialized to remain in .data or else rewritten to zero with .bss |
RPi3CNTVOFFHigh:LongWord = 0;
|
The high 32 bits of the Virtual Counter Offset register at boot time (CPU0 only) (Set by Startup). Must be initialized to remain in .data or else rewritten to zero with .bss |
Timer variables
TimerRegisters:PBCM2837SystemTimerRegisters;
|
Mailbox variables
Mailbox0Registers:PBCM2837Mailbox0Registers;
|
Interrupt variables
InterruptRegisters:PBCM2837InterruptRegisters;
|
InterruptEntries:array[0..(BCM2837_GPU_IRQ_COUNT + BCM2837_ARM_IRQ_COUNT - 1)] of TInterruptEntry;
|
LocalInterruptEntries:array[RPI3_IRQ_LOCAL_START..(BCM2837_IRQ_COUNT - 1),0..(RPI3_CPU_COUNT - 1)] of TInterruptEntry;
|
System call variables
SystemCallEntries:array[0..RPI3_SWI_COUNT - 1] of TSystemCallEntry;
|
IRQ/FIQ variables
IRQEnabled:array[0..2] of LongWord;
|
3 groups of IRQs to Enable/Disable (See: TBCM2837InterruptRegisters) |
FIQEnabled:LongWord;
|
The single IRQ number to Enable as FIQ instead (See: TBCM2837InterruptRegisters) |
IRQLocalEnabled:array[0..(RPI3_CPU_COUNT - 1)] of LongWord;
|
1 group of local IRQs to Enable/Disable per CPU (See: TBCM2837ARMLocalRegisters) |
FIQLocalEnabled:array[0..(RPI3_CPU_COUNT - 1)] of LongWord;
|
1 group of local FIQs to Enable/Disable per CPU (See: TBCM2837ARMLocalRegisters) |
Watchdog variables
WatchdogRegisters:PBCM2837PMWatchdogRegisters;
|
ARM local variables
ARMLocalRegisters:PBCM2837ARMLocalRegisters;
|
Virtual GPIO variables
VirtualGPIOBuffer:TBCM2837VirtualGPIOBuffer;
|
Function declarations
Initialization functions
procedure RPi3SecondarySwitch; assembler; nostackframe;
procedure RPi3SecondarySecure; assembler; nostackframe;
procedure RPi3SecondaryHandler; assembler; nostackframe;
RPi3 platform functions
procedure RPi3PageTableInit;
function RPi3MailboxReceive(Mailbox,Channel:LongWord):LongWord;
procedure RPi3MailboxSend(Mailbox,Channel,Data:LongWord);
function RPi3MailboxCall(Mailbox,Channel,Data:LongWord; var Response:LongWord):LongWord;
function RPi3MailboxCallEx(Mailbox,Channel,Data:LongWord; var Response:LongWord; Timeout:LongWord):LongWord;
function RPi3MailboxPropertyCall(Mailbox,Channel:LongWord; Data:Pointer; var Response:LongWord):LongWord;
function RPi3MailboxPropertyCallEx(Mailbox,Channel:LongWord; Data:Pointer; var Response:LongWord; Timeout:LongWord):LongWord;
function RPi3RequestExIRQ(CPUID,Number:LongWord; Handler:TInterruptHandler; HandlerEx:TInterruptExHandler; Parameter:Pointer):LongWord;
function RPi3ReleaseExIRQ(CPUID,Number:LongWord; Handler:TInterruptHandler; HandlerEx:TInterruptExHandler; Parameter:Pointer):LongWord;
function RPi3RequestExFIQ(CPUID,Number:LongWord; Handler:TInterruptHandler; HandlerEx:TInterruptExHandler; Parameter:Pointer):LongWord;
function RPi3ReleaseExFIQ(CPUID,Number:LongWord; Handler:TInterruptHandler; HandlerEx:TInterruptExHandler; Parameter:Pointer):LongWord;
function RPi3RegisterSystemCallEx(CPUID,Number:LongWord; Handler:TSystemCallHandler; HandlerEx:TSystemCallExHandler):LongWord;
function RPi3DeregisterSystemCallEx(CPUID,Number:LongWord; Handler:TSystemCallHandler; HandlerEx:TSystemCallExHandler):LongWord;
function RPi3GetInterruptEntry(Number:LongWord):TInterruptEntry;
function RPi3GetLocalInterruptEntry(CPUID,Number:LongWord):TInterruptEntry;
function RPi3GetSystemCallEntry(Number:LongWord):TSystemCallEntry;
function RPi3SystemGetCommandLine:String;
function RPi3CPUGetMemory(var Address:PtrUInt; var Length:LongWord):LongWord;
function RPi3GPUGetMemory(var Address:PtrUInt; var Length:LongWord):LongWord;
function RPi3BoardGetModel:LongWord;
function RPi3BoardGetSerial:Int64;
function RPi3BoardGetRevision:LongWord;
function RPi3BoardGetMACAddress:String;
function RPi3FirmwareGetRevision:LongWord;
function RPi3PowerGetWait(PowerId:LongWord):LongWord;
function RPi3PowerGetState(PowerId:LongWord):LongWord;
function RPi3PowerSetState(PowerId,State:LongWord; Wait:Boolean):LongWord;
function RPi3ClockGetCount:LongWord;
function RPi3ClockGetRate(ClockId:LongWord):LongWord;
function RPi3ClockSetRate(ClockId,Rate:LongWord; Turbo:Boolean):LongWord;
function RPi3ClockGetState(ClockId:LongWord):LongWord;
function RPi3ClockSetState(ClockId,State:LongWord):LongWord;
function RPi3ClockGetMinRate(ClockId:LongWord):LongWord;
function RPi3ClockGetMaxRate(ClockId:LongWord):LongWord;
function RPi3TurboGetState(TurboId:LongWord):LongWord;
function RPi3TurboSetState(TurboId,State:LongWord):LongWord;
function RPi3VoltageGetValue(VoltageId:LongWord):LongWord;
function RPi3VoltageSetValue(VoltageId,Value:LongWord):LongWord;
function RPi3VoltageGetMinValue(VoltageId:LongWord):LongWord;
function RPi3VoltageGetMaxValue(VoltageId:LongWord):LongWord;
function RPi3TemperatureGetCurrent(TemperatureId:LongWord):LongWord;
function RPi3TemperatureGetMaximum(TemperatureId:LongWord):LongWord;
function RPi3GPUMemoryAllocate(Length,Alignment,Flags:LongWord):THandle;
function RPi3GPUMemoryRelease(Handle:THandle):LongWord;
function RPi3GPUMemoryLock(Handle:THandle):LongWord;
function RPi3GPUMemoryUnlock(Handle:THandle):LongWord;
function RPi3GPUExecuteCode(Address:Pointer; R0,R1,R2,R3,R4,R5:LongWord):LongWord;
function RPi3DispmanxHandleGet(Resource:THandle):THandle;
function RPi3EDIDBlockGet(Block:LongWord; Buffer:Pointer; Length:LongWord):LongWord;
function RPi3FramebufferAllocate(Alignment:LongWord; var Address,Length:LongWord):LongWord;
function RPi3FramebufferRelease:LongWord;
function RPi3FramebufferSetState(State:LongWord):LongWord;
function RPi3FramebufferGetDimensions(var Width,Height,Top,Bottom,Left,Right:LongWord):LongWord;
function RPi3FramebufferGetPhysical(var Width,Height:LongWord):LongWord;
function RPi3FramebufferSetPhysical(var Width,Height:LongWord):LongWord;
function RPi3FramebufferTestPhysical(var Width,Height:LongWord):LongWord;
function RPi3FramebufferGetVirtual(var Width,Height:LongWord):LongWord;
function RPi3FramebufferSetVirtual(var Width,Height:LongWord):LongWord;
function RPi3FramebufferTestVirtual(var Width,Height:LongWord):LongWord;
function RPi3FramebufferGetDepth(var Depth:LongWord):LongWord;
function RPi3FramebufferSetDepth(var Depth:LongWord):LongWord;
function RPi3FramebufferTestDepth(var Depth:LongWord):LongWord;
function RPi3FramebufferGetPixelOrder(var Order:LongWord):LongWord;
function RPi3FramebufferSetPixelOrder(var Order:LongWord):LongWord;
function RPi3FramebufferTestPixelOrder(var Order:LongWord):LongWord;
function RPi3FramebufferGetAlphaMode(var Mode:LongWord):LongWord;
function RPi3FramebufferSetAlphaMode(var Mode:LongWord):LongWord;
function RPi3FramebufferTestAlphaMode(var Mode:LongWord):LongWord;
function RPi3FramebufferGetPitch:LongWord;
function RPi3FramebufferGetOffset(var X,Y:LongWord):LongWord;
function RPi3FramebufferSetOffset(var X,Y:LongWord):LongWord;
function RPi3FramebufferTestOffset(var X,Y:LongWord):LongWord;
function RPi3FramebufferGetOverscan(var Top,Bottom,Left,Right:LongWord):LongWord;
function RPi3FramebufferSetOverscan(var Top,Bottom,Left,Right:LongWord):LongWord;
function RPi3FramebufferTestOverscan(var Top,Bottom,Left,Right:LongWord):LongWord;
function RPi3FramebufferGetPalette(Buffer:Pointer; Length:LongWord):LongWord;
function RPi3FramebufferSetPalette(Start,Count:LongWord; Buffer:Pointer; Length:LongWord):LongWord;
function RPi3FramebufferTestPalette(Start,Count:LongWord; Buffer:Pointer; Length:LongWord):LongWord;
function RPi3FramebufferTestVsync:LongWord;
function RPi3FramebufferSetVsync:LongWord;
function RPi3FramebufferSetBacklight(Brightness:LongWord):LongWord;
function RPi3TouchGetBuffer(var Address:LongWord):LongWord;
function RPi3VirtualGPIOGetBuffer(var Address:LongWord):LongWord;
function RPi3CursorSetDefault:LongWord;
function RPi3CursorSetInfo(Width,Height,HotspotX,HotspotY:LongWord; Pixels:Pointer; Length:LongWord):LongWord;
function RPi3CursorSetState(Enabled:Boolean; X,Y:LongWord; Relative:Boolean):LongWord;
function RPi3DMAGetChannels:LongWord;
function RPi3VirtualGPIOOutputSet(Pin,Level:LongWord):LongWord;
function RPi3VirtualGPIOFunctionSelect(Pin,Mode:LongWord):LongWord;
RPi3 thread functions
procedure RPi3SchedulerInit;
procedure RPi3SchedulerStart(CPUID:LongWord);
RPi3 IRQ functions
function RPi3DispatchIRQ(CPUID:LongWord; Thread:TThreadHandle):TThreadHandle;
function RPi3HandleIRQ(Number,CPUID:LongWord; Thread:TThreadHandle):TThreadHandle;
RPi3 FIQ functions
function RPi3DispatchFIQ(CPUID:LongWord; Thread:TThreadHandle):TThreadHandle;
function RPi3HandleFIQ(Number,CPUID:LongWord; Thread:TThreadHandle):TThreadHandle;
RPi3 SWI functions
function RPi3DispatchSWI(CPUID:LongWord; Thread:TThreadHandle; Request:PSystemCallRequest):TThreadHandle;
RPi3 clock functions
procedure RPi3ClockInterrupt(Parameter:Pointer);
procedure RPi3ClockUpdate(Cycles:LongWord; var Last:LongWord);
RPi3 ccheduler functions
function RPi3SchedulerInterrupt(CPUID:LongWord; Thread:TThreadHandle; Parameter:Pointer):TThreadHandle;
procedure RPi3SchedulerUpdate(Cycles:LongWord; var Last:LongWord);
procedure RPi3SchedulerSystemCall(Request:PSystemCallRequest);
RPi3 framebuffer functions
function RPi3FramebufferDeviceAllocate(Framebuffer:PFramebufferDevice; Properties:PFramebufferProperties):LongWord;
function RPi3FramebufferDeviceAllocateAlt(Framebuffer:PFramebufferDevice; Properties:PFramebufferProperties):LongWord;
function RPi3FramebufferDeviceRelease(Framebuffer:PFramebufferDevice):LongWord;
function RPi3FramebufferDeviceBlank(Framebuffer:PFramebufferDevice; Blank:Boolean):LongWord;
function RPi3FramebufferDeviceCommit(Framebuffer:PFramebufferDevice; Address,Size,Flags:LongWord):LongWord;
function RPi3FramebufferDeviceSetBacklight(Framebuffer:PFramebufferDevice; Brightness:LongWord):LongWord;
function RPi3FramebufferDeviceSetProperties(Framebuffer:PFramebufferDevice; Properties:PFramebufferProperties):LongWord;
RPi3 helper functions
procedure RPi3BootBlink; assembler; nostackframe;
function RPi3ConvertPowerIdRequest(PowerId:LongWord):LongWord;
function RPi3ConvertPowerStateRequest(PowerState:LongWord):LongWord;
function RPi3ConvertPowerStateResponse(PowerState:LongWord):LongWord;
function RPi3ConvertClockIdRequest(ClockId:LongWord):LongWord;
function RPi3ConvertClockStateRequest(ClockState:LongWord):LongWord;
function RPi3ConvertClockStateResponse(ClockState:LongWord):LongWord;
function RPi3ConvertVoltageIdRequest(VoltageId:LongWord):LongWord;
function RPi3ConvertTemperatureIdRequest(TemperatureId:LongWord):LongWord;
Return to Unit Reference