Difference between revisions of "Unit GlobalConst"

From Ultibo.org
Jump to: navigation, search
Line 3,238: Line 3,238:
 
|-
 
|-
 
| <code>CPU_ID_ALL = $FFFFFFFF;</code>
 
| <code>CPU_ID_ALL = $FFFFFFFF;</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<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;">'''CPU mask''' <code> CPU_MASK_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>CPU_MASK_0 = (1 shl CPU_ID_0);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_1 = (1 shl CPU_ID_1);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_2 = (1 shl CPU_ID_2);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_3 = (1 shl CPU_ID_3);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_4 = (1 shl CPU_ID_4);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_5 = (1 shl CPU_ID_5);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_6 = (1 shl CPU_ID_6);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_7 = (1 shl CPU_ID_7);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_8 = (1 shl CPU_ID_8);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_9 = (1 shl CPU_ID_9);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_10 = (1 shl CPU_ID_10);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_11 = (1 shl CPU_ID_11);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_12 = (1 shl CPU_ID_12);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_13 = (1 shl CPU_ID_13);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_14 = (1 shl CPU_ID_14);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_15 = (1 shl CPU_ID_15);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_16 = (1 shl CPU_ID_16);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_17 = (1 shl CPU_ID_17);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_18 = (1 shl CPU_ID_18);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_19 = (1 shl CPU_ID_19);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_20 = (1 shl CPU_ID_20);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_21 = (1 shl CPU_ID_21);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_22 = (1 shl CPU_ID_22);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_23 = (1 shl CPU_ID_23);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_24 = (1 shl CPU_ID_24);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_25 = (1 shl CPU_ID_25);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_26 = (1 shl CPU_ID_26);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_27 = (1 shl CPU_ID_27);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_28 = (1 shl CPU_ID_28);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_29 = (1 shl CPU_ID_29);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_30 = (1 shl CPU_ID_30);</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_31 = (1 shl CPU_ID_31);</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>CPU_MASK_NONE = $00000000;</code>
 +
| &nbsp;
 +
|-
 +
| <code>CPU_MASK_ALL = $FFFFFFFF;</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-

Revision as of 06:38, 4 October 2019

Return to Unit Reference


Description


Ultibo Global Constant Definitions unit

To be documented

Constants



[Expand]
Universal error ERROR_*


[Expand]
Universal value INVALID_*


[Expand]
File position FILE_*


[Expand]
File open/create CREATE_*


[Expand]
File creation flag FILE_FLAG_*


[Expand]
File attribute FILE_ATTRIBUTE_*


[Expand]
Filesystem attribute FS_*


[Expand]
File access GENERIC_*


[Expand]
File share FILE_SHARE_*


[Expand]
Timeout INFINITE =*


[Expand]
TLS TLS_*


[Expand]
Wait WAIT_*


[Expand]
Thread state STILL_*


[Expand]
TimeZone TIME_ZONE_*


[Expand]
Universal key codes KEY_CODE_*


[Expand]
Universal scan codes SCAN_CODE_*


[Expand]
Universal color COLOR_*


[Expand]
Universal size SIZE_*


[Expand]
Universal time MILLISECONDS_*


[Expand]
Ultibo time TIME_TICKS_*


[Expand]
Unix/Linux time UNIX_TIME_*


[Expand]
FreePascal time PASCAL_*


[Expand]
System call SYSTEM_CALL_*


[Expand]
Machine type MACHINE_TYPE_*


[Expand]
Board type BOARD_TYPE_*


[Expand]
CPU arch CPU_ARCH_*


[Expand]
CPU type CPU_TYPE_*


[Expand]
CPU model CPU_MODEL_*


[Expand]
CPU description CPU_DESCRIPTION_*


[Expand]
CPU state CPU_STATE_*


[Expand]
CPU group CPU_GROUP__*


[Expand]
CPU Id CPU_ID_*


[Expand]
CPU mask CPU_MASK_*


[Expand]
CPU affinity CPU_AFFINITY_*


[Expand]
FPU type FPU_TYPE_*


[Expand]
FPU state FPU_STATE_*


[Expand]
GPU type GPU_TYPE_*


[Expand]
GPU state GPU_STATE_*


[Expand]
Cache type CACHE_TYPE_*


[Expand]
DMA direction DMA_DIR_*


[Expand]
DMA DREQ Id DMA_DREQ_ID_*


[Expand]
GPIO pin GPIO_PIN_*


[Expand]
GPIO function GPIO_FUNCTION_*


[Expand]
GPIO level GPIO_LEVEL_*


[Expand]
GPIO pull GPIO_PULL_*


[Expand]
GPIO trigger GPIO_TRIGGER_*


[Expand]
Virtual GPIO pin VIRTUAL_GPIO_PIN_*


[Expand]
Virtual GPIO function VIRTUAL_GPIO_FUNCTION_*


[Expand]
Serial baud rate SERIAL_BAUD_RATE_*


[Expand]
Serial data bit SERIAL_DATA_*


[Expand]
Serial stop bit SERIAL_STOP_*


[Expand]
Serial parity SERIAL_PARITY_*


[Expand]
Serial flow control SERIAL_FLOW_*


[Expand]
I2C address I2C_ADDRESS_*


[Expand]
SPI mode SPI_MODE_*


[Expand]
SPI chip select SPI_CS_*


[Expand]
SPI clock phase (CPHA) SPI_CLOCK_PHASE_*


[Expand]
SPI clock polarity (CPOL) SPI_CLOCK_POLARITY_*


[Expand]
SPI chip select polarity (CSPOL) SPI_CS_POLARITY_*


[Expand]
Power Id POWER_ID_*


[Expand]
Power state POWER_STATE_*


[Expand]
Clock Id CLOCK_ID_*


[Expand]
Clock state CLOCK_STATE_*


[Expand]
Turbo Id TURBO_ID_*


[Expand]
Voltage Id VOLTAGE_ID_*


[Expand]
Temperature Id TEMPERATURE_ID_*


[Expand]
Console direction CONSOLE_DIRECTION_*


[Expand]
Console position CONSOLE_POSITION_*


[Expand]
Framebuffer depth FRAMEBUFFER_DEPTH_*


[Expand]
Framebuffer pixel order FRAMEBUFFER_ORDER_*


[Expand]
Framebuffer alpha mode FRAMEBUFFER_MODE_*


[Expand]
Framebuffer rotation FRAMEBUFFER_ROTATION_*


[Expand]
Log level LOG_LEVEL_*


[Expand]
Logging protocol LOGGING_PROTOCOL_*


[Expand]
Logging facility LOGGING_FACILITY_*


[Expand]
Logging severity LOGGING_SEVERITY_*


[Expand]
Handle type HANDLE_TYPE_*


[Expand]
Filesystem cache mode FILESYS_CACHE_MODE_*


[Expand]
Cursor arrow CURSOR_ARROW_*


Type definitions


None defined

Public variables


None defined

Function declarations


None defined


Return to Unit Reference