hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
sequencelengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
sequencelengths
1
10
max_issues_count
float64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
sequencelengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
dcf20ea349739e115f5e2aa54c0206f0fcdea351
23,566
ads
Ada
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-dac.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-dac.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-dac.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
-- This spec has been automatically generated from xyzzy pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DAC is pragma Preelaborate; --------------- -- Registers -- --------------- -- DAC_CR_TSEL array type DAC_CR_TSEL1_Field_Array is array (10 .. 13) of Boolean with Component_Size => 1, Size => 4; -- Type definition for DAC_CR_TSEL type DAC_CR_TSEL1_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TSEL as a value Val : HAL.UInt4; when True => -- TSEL as an array Arr : DAC_CR_TSEL1_Field_Array; end case; end record with Unchecked_Union, Size => 4; for DAC_CR_TSEL1_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype DAC_CR_WAVE1_Field is HAL.UInt2; subtype DAC_CR_MAMP1_Field is HAL.UInt4; -- DAC_CR_TSEL array type DAC_CR_TSEL2_Field_Array is array (20 .. 23) of Boolean with Component_Size => 1, Size => 4; -- Type definition for DAC_CR_TSEL type DAC_CR_TSEL2_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TSEL as a value Val : HAL.UInt4; when True => -- TSEL as an array Arr : DAC_CR_TSEL2_Field_Array; end case; end record with Unchecked_Union, Size => 4; for DAC_CR_TSEL2_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype DAC_CR_WAVE2_Field is HAL.UInt2; subtype DAC_CR_MAMP2_Field is HAL.UInt4; -- DAC control register type DAC_CR_Register is record -- DAC channel1 enable This bit is set and cleared by software to -- enable/disable DAC channel1. EN1 : Boolean := False; -- DAC channel1 trigger enable TEN1 : Boolean := False; -- TSEL10 TSEL1 : DAC_CR_TSEL1_Field := (As_Array => False, Val => 16#0#); -- DAC channel1 noise/triangle wave generation enable These bits are set -- and cleared by software. Note: Only used if bit TEN1 = 1 (DAC -- channel1 trigger enabled). WAVE1 : DAC_CR_WAVE1_Field := 16#0#; -- DAC channel1 mask/amplitude selector These bits are written by -- software to select mask in wave generation mode or amplitude in -- triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle -- amplitude equal to 4095 MAMP1 : DAC_CR_MAMP1_Field := 16#0#; -- DAC channel1 DMA enable This bit is set and cleared by software. DMAEN1 : Boolean := False; -- DAC channel1 DMA Underrun Interrupt enable This bit is set and -- cleared by software. DMAUDRIE1 : Boolean := False; -- DAC Channel 1 calibration enable This bit is set and cleared by -- software to enable/disable DAC channel 1 calibration, it can be -- written only if bit EN1=0 into DAC_CR (the calibration mode can be -- entered/exit only when the DAC channel is disabled) Otherwise, the -- write operation is ignored. CEN1 : Boolean := False; -- HFSEL HFSEL : Boolean := False; -- DAC channel2 enable This bit is set and cleared by software to -- enable/disable DAC channel2. EN2 : Boolean := False; -- DAC channel2 trigger enable TEN2 : Boolean := False; -- TSEL20 TSEL2 : DAC_CR_TSEL2_Field := (As_Array => False, Val => 16#0#); -- DAC channel2 noise/triangle wave generation enable These bits are -- set/reset by software. 1x: Triangle wave generation enabled Note: -- Only used if bit TEN2 = 1 (DAC channel2 trigger enabled) WAVE2 : DAC_CR_WAVE2_Field := 16#0#; -- DAC channel2 mask/amplitude selector These bits are written by -- software to select mask in wave generation mode or amplitude in -- triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle -- amplitude equal to 4095 MAMP2 : DAC_CR_MAMP2_Field := 16#0#; -- DAC channel2 DMA enable This bit is set and cleared by software. DMAEN2 : Boolean := False; -- DAC channel2 DMA underrun interrupt enable This bit is set and -- cleared by software. DMAUDRIE2 : Boolean := False; -- DAC Channel 2 calibration enable This bit is set and cleared by -- software to enable/disable DAC channel 2 calibration, it can be -- written only if bit EN2=0 into DAC_CR (the calibration mode can be -- entered/exit only when the DAC channel is disabled) Otherwise, the -- write operation is ignored. CEN2 : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_CR_Register use record EN1 at 0 range 0 .. 0; TEN1 at 0 range 1 .. 1; TSEL1 at 0 range 2 .. 5; WAVE1 at 0 range 6 .. 7; MAMP1 at 0 range 8 .. 11; DMAEN1 at 0 range 12 .. 12; DMAUDRIE1 at 0 range 13 .. 13; CEN1 at 0 range 14 .. 14; HFSEL at 0 range 15 .. 15; EN2 at 0 range 16 .. 16; TEN2 at 0 range 17 .. 17; TSEL2 at 0 range 18 .. 21; WAVE2 at 0 range 22 .. 23; MAMP2 at 0 range 24 .. 27; DMAEN2 at 0 range 28 .. 28; DMAUDRIE2 at 0 range 29 .. 29; CEN2 at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; -- DAC_SWTRGR_SWTRIG array type DAC_SWTRGR_SWTRIG_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for DAC_SWTRGR_SWTRIG type DAC_SWTRGR_SWTRIG_Field (As_Array : Boolean := False) is record case As_Array is when False => -- SWTRIG as a value Val : HAL.UInt2; when True => -- SWTRIG as an array Arr : DAC_SWTRGR_SWTRIG_Field_Array; end case; end record with Unchecked_Union, Size => 2; for DAC_SWTRGR_SWTRIG_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- DAC software trigger register type DAC_SWTRGR_Register is record -- Write-only. DAC channel1 software trigger This bit is set by software -- to trigger the DAC in software trigger mode. Note: This bit is -- cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 -- register value has been loaded into the DAC_DOR1 register. SWTRIG : DAC_SWTRGR_SWTRIG_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_2_31 : HAL.UInt30 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_SWTRGR_Register use record SWTRIG at 0 range 0 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; --------------------------------- -- DAC_DHR cluster's Registers -- --------------------------------- subtype Scalar_12_DAC_DHR_DACCxDHR_Field is HAL.UInt12; -- DAC channel1 12-bit right-aligned data holding register type Rec_12_DAC_DHR_Register is record -- DAC channel1 12-bit right-aligned data These bits are written by -- software which specifies 12-bit data for DAC channel1. DACCxDHR : Scalar_12_DAC_DHR_DACCxDHR_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for Rec_12_DAC_DHR_Register use record DACCxDHR at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; -- DAC channel1 12-bit left aligned data holding register type Rec_12_DAC_DHR_Register_L is record -- unspecified Reserved_0_3 : HAL.UInt4 := 16#0#; -- DAC channel1 12-bit left-aligned data These bits are written by -- software which specifies 12-bit data for DAC channel1. DACCxDHR : Scalar_12_DAC_DHR_DACCxDHR_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for Rec_12_DAC_DHR_Register_L use record Reserved_0_3 at 0 range 0 .. 3; DACCxDHR at 0 range 4 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype Scalar_8_DAC_DHR_DACCxDHR_Field is HAL.UInt8; -- DAC channel1 8-bit right aligned data holding register type Rec_8_DAC_DHR_Register is record -- DAC channel1 8-bit right-aligned data These bits are written by -- software which specifies 8-bit data for DAC channel1. DACCxDHR : Scalar_8_DAC_DHR_DACCxDHR_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for Rec_8_DAC_DHR_Register use record DACCxDHR at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; type DAC_DHR_Cluster is record -- DAC channel1 12-bit right-aligned data holding register DAC_DHR_Cluster_12R : aliased Rec_12_DAC_DHR_Register; -- DAC channel1 12-bit left aligned data holding register DAC_DHR_Cluster_12L : aliased Rec_12_DAC_DHR_Register_L; -- DAC channel1 8-bit right aligned data holding register DAC_DHR_Cluster_8 : aliased Rec_8_DAC_DHR_Register; end record with Size => 96; for DAC_DHR_Cluster use record DAC_DHR_Cluster_12R at 16#0# range 0 .. 31; DAC_DHR_Cluster_12L at 16#4# range 0 .. 31; DAC_DHR_Cluster_8 at 16#8# range 0 .. 31; end record; type DAC_DHR_Clusters is array (1 .. 2) of DAC_DHR_Cluster; subtype DAC_DHR12RD_DACC1DHR_Field is HAL.UInt12; subtype DAC_DHR12RD_DACC2DHR_Field is HAL.UInt12; -- Dual DAC 12-bit right-aligned data holding register type DAC_DHR12RD_Register is record -- DAC channel1 12-bit right-aligned data These bits are written by -- software which specifies 12-bit data for DAC channel1. DACC1DHR : DAC_DHR12RD_DACC1DHR_Field := 16#0#; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; -- DAC channel2 12-bit right-aligned data These bits are written by -- software which specifies 12-bit data for DAC channel2. DACC2DHR : DAC_DHR12RD_DACC2DHR_Field := 16#0#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_DHR12RD_Register use record DACC1DHR at 0 range 0 .. 11; Reserved_12_15 at 0 range 12 .. 15; DACC2DHR at 0 range 16 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; subtype DAC_DHR12LD_DACC1DHR_Field is HAL.UInt12; subtype DAC_DHR12LD_DACC2DHR_Field is HAL.UInt12; -- DUAL DAC 12-bit left aligned data holding register type DAC_DHR12LD_Register is record -- unspecified Reserved_0_3 : HAL.UInt4 := 16#0#; -- DAC channel1 12-bit left-aligned data These bits are written by -- software which specifies 12-bit data for DAC channel1. DACC1DHR : DAC_DHR12LD_DACC1DHR_Field := 16#0#; -- unspecified Reserved_16_19 : HAL.UInt4 := 16#0#; -- DAC channel2 12-bit left-aligned data These bits are written by -- software which specifies 12-bit data for DAC channel2. DACC2DHR : DAC_DHR12LD_DACC2DHR_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_DHR12LD_Register use record Reserved_0_3 at 0 range 0 .. 3; DACC1DHR at 0 range 4 .. 15; Reserved_16_19 at 0 range 16 .. 19; DACC2DHR at 0 range 20 .. 31; end record; subtype DAC_DHR8RD_DACC1DHR_Field is HAL.UInt8; subtype DAC_DHR8RD_DACC2DHR_Field is HAL.UInt8; -- DUAL DAC 8-bit right aligned data holding register type DAC_DHR8RD_Register is record -- DAC channel1 8-bit right-aligned data These bits are written by -- software which specifies 8-bit data for DAC channel1. DACC1DHR : DAC_DHR8RD_DACC1DHR_Field := 16#0#; -- DAC channel2 8-bit right-aligned data These bits are written by -- software which specifies 8-bit data for DAC channel2. DACC2DHR : DAC_DHR8RD_DACC2DHR_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_DHR8RD_Register use record DACC1DHR at 0 range 0 .. 7; DACC2DHR at 0 range 8 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DAC_DOR_DACCxDOR_Field is HAL.UInt12; type DAC_DOR_Register is record -- DAC channel1 data output These bits are read-only, they contain data -- output for DAC channel1. DACCxDOR : DAC_DOR_DACCxDOR_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_DOR_Register use record DACCxDOR at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; type DAC_DOR_Registers is array (1 .. 2) of DAC_DOR_Register; -- DAC status register type DAC_SR_Register is record -- unspecified Reserved_0_12 : HAL.UInt13 := 16#0#; -- DAC channel1 DMA underrun flag This bit is set by hardware and -- cleared by software (by writing it to 1). DMAUDR1 : Boolean := False; -- Read-only. DAC Channel 1 calibration offset status This bit is set -- and cleared by hardware CAL_FLAG1 : Boolean := False; -- Read-only. DAC Channel 1 busy writing sample time flag This bit is -- systematically set just after Sample & Hold mode enable and is set -- each time the software writes the register DAC_SHSR1, It is cleared -- by hardware when the write operation of DAC_SHSR1 is complete. (It -- takes about 3LSI periods of synchronization). BWST1 : Boolean := False; -- unspecified Reserved_16_28 : HAL.UInt13 := 16#0#; -- DAC channel2 DMA underrun flag This bit is set by hardware and -- cleared by software (by writing it to 1). DMAUDR2 : Boolean := False; -- Read-only. DAC Channel 2 calibration offset status This bit is set -- and cleared by hardware CAL_FLAG2 : Boolean := False; -- Read-only. DAC Channel 2 busy writing sample time flag This bit is -- systematically set just after Sample & Hold mode enable and is set -- each time the software writes the register DAC_SHSR2, It is cleared -- by hardware when the write operation of DAC_SHSR2 is complete. (It -- takes about 3 LSI periods of synchronization). BWST2 : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_SR_Register use record Reserved_0_12 at 0 range 0 .. 12; DMAUDR1 at 0 range 13 .. 13; CAL_FLAG1 at 0 range 14 .. 14; BWST1 at 0 range 15 .. 15; Reserved_16_28 at 0 range 16 .. 28; DMAUDR2 at 0 range 29 .. 29; CAL_FLAG2 at 0 range 30 .. 30; BWST2 at 0 range 31 .. 31; end record; subtype DAC_CCR_OTRIM1_Field is HAL.UInt5; subtype DAC_CCR_OTRIM2_Field is HAL.UInt5; -- DAC calibration control register type DAC_CCR_Register is record -- DAC Channel 1 offset trimming value OTRIM1 : DAC_CCR_OTRIM1_Field := 16#0#; -- unspecified Reserved_5_15 : HAL.UInt11 := 16#0#; -- DAC Channel 2 offset trimming value OTRIM2 : DAC_CCR_OTRIM2_Field := 16#0#; -- unspecified Reserved_21_31 : HAL.UInt11 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_CCR_Register use record OTRIM1 at 0 range 0 .. 4; Reserved_5_15 at 0 range 5 .. 15; OTRIM2 at 0 range 16 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; subtype DAC_MCR_MODE1_Field is HAL.UInt3; subtype DAC_MCR_MODE2_Field is HAL.UInt3; -- DAC mode control register type DAC_MCR_Register is record -- DAC Channel 1 mode These bits can be written only when the DAC is -- disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 -- =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation -- is ignored. They can be set and cleared by software to select the DAC -- Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample -- & hold mode MODE1 : DAC_MCR_MODE1_Field := 16#0#; -- unspecified Reserved_3_15 : HAL.UInt13 := 16#0#; -- DAC Channel 2 mode These bits can be written only when the DAC is -- disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 -- =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation -- is ignored. They can be set and cleared by software to select the DAC -- Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample -- & hold mode MODE2 : DAC_MCR_MODE2_Field := 16#0#; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_MCR_Register use record MODE1 at 0 range 0 .. 2; Reserved_3_15 at 0 range 3 .. 15; MODE2 at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; subtype DAC_SHSR_TSAMPLE1_Field is HAL.UInt10; type DAC_SHSR_Register is record -- DAC Channel 1 sample Time (only valid in sample & hold mode) -- These bits can be written when the DAC channel1 is disabled or also -- during normal operation. in the latter case, the write can be done -- only when BWSTx of DAC_SR register is low, If BWSTx=1, the write -- operation is ignored. TSAMPLE1 : DAC_SHSR_TSAMPLE1_Field := 16#0#; -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_SHSR_Register use record TSAMPLE1 at 0 range 0 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; type DAC_SHSR_Registers is array (1 .. 2) of DAC_SHSR_Register; subtype DAC_SHHR_THOLD1_Field is HAL.UInt10; subtype DAC_SHHR_THOLD2_Field is HAL.UInt10; -- DAC Sample and Hold hold time register type DAC_SHHR_Register is record -- DAC Channel 1 hold Time (only valid in sample & hold mode) Hold -- time= (THOLD[9:0]) x T LSI THOLD1 : DAC_SHHR_THOLD1_Field := 16#1#; -- unspecified Reserved_10_15 : HAL.UInt6 := 16#0#; -- DAC Channel 2 hold time (only valid in sample & hold mode). Hold -- time= (THOLD[9:0]) x T LSI THOLD2 : DAC_SHHR_THOLD2_Field := 16#1#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_SHHR_Register use record THOLD1 at 0 range 0 .. 9; Reserved_10_15 at 0 range 10 .. 15; THOLD2 at 0 range 16 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; subtype DAC_SHRR_TREFRESH1_Field is HAL.UInt8; subtype DAC_SHRR_TREFRESH2_Field is HAL.UInt8; -- DAC Sample and Hold refresh time register type DAC_SHRR_Register is record -- DAC Channel 1 refresh Time (only valid in sample & hold mode) -- Refresh time= (TREFRESH[7:0]) x T LSI TREFRESH1 : DAC_SHRR_TREFRESH1_Field := 16#1#; -- unspecified Reserved_8_15 : HAL.UInt8 := 16#0#; -- DAC Channel 2 refresh Time (only valid in sample & hold mode) -- Refresh time= (TREFRESH[7:0]) x T LSI TREFRESH2 : DAC_SHRR_TREFRESH2_Field := 16#1#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DAC_SHRR_Register use record TREFRESH1 at 0 range 0 .. 7; Reserved_8_15 at 0 range 8 .. 15; TREFRESH2 at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; --------------------------------- -- DAC_DHR cluster's Registers -- --------------------------------- ----------------- -- Peripherals -- ----------------- -- DAC type DAC_Peripheral is record -- DAC control register DAC_CR : aliased DAC_CR_Register; -- DAC software trigger register DAC_SWTRGR : aliased DAC_SWTRGR_Register; DAC_DHR : aliased DAC_DHR_Clusters; -- Dual DAC 12-bit right-aligned data holding register DAC_DHR12RD : aliased DAC_DHR12RD_Register; -- DUAL DAC 12-bit left aligned data holding register DAC_DHR12LD : aliased DAC_DHR12LD_Register; -- DUAL DAC 8-bit right aligned data holding register DAC_DHR8RD : aliased DAC_DHR8RD_Register; DAC_DOR : aliased DAC_DOR_Registers; -- DAC status register DAC_SR : aliased DAC_SR_Register; -- DAC calibration control register DAC_CCR : aliased DAC_CCR_Register; -- DAC mode control register DAC_MCR : aliased DAC_MCR_Register; DAC_SHSR : aliased DAC_SHSR_Registers; -- DAC Sample and Hold hold time register DAC_SHHR : aliased DAC_SHHR_Register; -- DAC Sample and Hold refresh time register DAC_SHRR : aliased DAC_SHRR_Register; end record with Volatile; for DAC_Peripheral use record DAC_CR at 16#0# range 0 .. 31; DAC_SWTRGR at 16#4# range 0 .. 31; DAC_DHR at 16#8# range 0 .. 191; DAC_DHR12RD at 16#20# range 0 .. 31; DAC_DHR12LD at 16#24# range 0 .. 31; DAC_DHR8RD at 16#28# range 0 .. 31; DAC_DOR at 16#2C# range 0 .. 63; DAC_SR at 16#34# range 0 .. 31; DAC_CCR at 16#38# range 0 .. 31; DAC_MCR at 16#3C# range 0 .. 31; DAC_SHSR at 16#40# range 0 .. 63; DAC_SHHR at 16#48# range 0 .. 31; DAC_SHRR at 16#4C# range 0 .. 31; end record; -- DAC DAC_Periph : aliased DAC_Peripheral with Import, Address => DAC_Base; -- DAC SEC_DAC_Periph : aliased DAC_Peripheral with Import, Address => SEC_DAC_Base; end STM32_SVD.DAC;
38.696223
79
0.626581
20a69bfbd4cc6594c2b9e4e5f8ef15c96d7a1cfc
3,908
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/prepcomp.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/prepcomp.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/prepcomp.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- P R E P C O M P -- -- -- -- S p e c -- -- -- -- Copyright (C) 2002-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package stores all preprocessing data for the compiler with Namet; use Namet; with Types; use Types; package Prepcomp is procedure Add_Dependency (S : Source_File_Index); -- Add a dependency on a non-source file. This is used internally for the -- preprocessing data file and the preprocessing definition file, and also -- externally for non-temporary configuration pragmas files. procedure Add_Dependencies; -- Add dependencies on the preprocessing data file and the preprocessing -- definition files, if any, and the non-temporary configuration pragmas -- files, if any. procedure Check_Symbols; -- Check if there are preprocessing symbols on the command line and set -- preprocessing if there are some: all files are preprocessed with these -- symbols. This procedure should not be called if there is a preprocessing -- data file specified on the command line. Instead a call should be made -- to Parse_Preprocessing_Data_File. procedure Parse_Preprocessing_Data_File (N : File_Name_Type); -- Parse a preprocessing data file, specified with a -gnatep= switch procedure Prepare_To_Preprocess (Source : File_Name_Type; Preprocessing_Needed : out Boolean); -- Prepare, if necessary, the preprocessor for a source file. If the source -- file needs to be preprocessed, Preprocessing_Needed is set to True. -- Otherwise, Preprocessing_Needed is set to False and no preprocessing -- needs to be done. procedure Process_Command_Line_Symbol_Definitions; -- Check symbol definitions that have been added by calls to procedure -- Add_Symbol_Definition and stored as pointers to string, and put them in -- a table. The reason the definitions were stored as pointer to strings is -- that the name table is not yest initialized when we process the command -- line switches. These symbol definitions will be later used in -- the call to Prepare_To_Preprocess. end Prepcomp;
55.828571
79
0.560133
df8754baa69d14639d10dd1081403b9e935440f2
6,240
adb
Ada
gcc-gcc-7_3_0-release/gcc/ada/s-osprim-rtems.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/s-osprim-rtems.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/s-osprim-rtems.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . O S _ P R I M I T I V E S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1998-2015, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This version is for POSIX-like operating systems package body System.OS_Primitives is -- ??? These definitions are duplicated from System.OS_Interface -- because we don't want to depend on any package. Consider removing -- these declarations in System.OS_Interface and move these ones in -- the spec. type time_t is new Long_Long_Integer; type timespec is record tv_sec : time_t; tv_nsec : Long_Integer; end record; pragma Convention (C, timespec); function nanosleep (rqtp, rmtp : not null access timespec) return Integer; pragma Import (C, nanosleep, "nanosleep"); ----------- -- Clock -- ----------- function Clock return Duration is type timeval is record tv_sec : time_t; tv_usec : Long_Integer; end record; pragma Convention (C, timeval); procedure timeval_to_duration (T : not null access timeval; sec : not null access Long_Long_Integer; usec : not null access Long_Integer); pragma Import (C, timeval_to_duration, "__gnat_timeval_to_duration"); Micro : constant := 10**6; sec : aliased Long_Long_Integer; usec : aliased Long_Integer; TV : aliased timeval; Result : Integer; pragma Unreferenced (Result); function gettimeofday (Tv : access timeval; Tz : System.Address := System.Null_Address) return Integer; pragma Import (C, gettimeofday, "gettimeofday"); begin -- The return codes for gettimeofday are as follows (from man pages): -- EPERM settimeofday is called by someone other than the superuser -- EINVAL Timezone (or something else) is invalid -- EFAULT One of tv or tz pointed outside accessible address space -- None of these codes signal a potential clock skew, hence the return -- value is never checked. Result := gettimeofday (TV'Access, System.Null_Address); timeval_to_duration (TV'Access, sec'Access, usec'Access); return Duration (sec) + Duration (usec) / Micro; end Clock; ----------------- -- To_Timespec -- ----------------- function To_Timespec (D : Duration) return timespec; function To_Timespec (D : Duration) return timespec is S : time_t; F : Duration; begin S := time_t (Long_Long_Integer (D)); F := D - Duration (S); -- If F has negative value due to a round-up, adjust for positive F -- value. if F < 0.0 then S := S - 1; F := F + 1.0; end if; return timespec'(tv_sec => S, tv_nsec => Long_Integer (Long_Long_Integer (F * 10#1#E9))); end To_Timespec; ----------------- -- Timed_Delay -- ----------------- procedure Timed_Delay (Time : Duration; Mode : Integer) is Request : aliased timespec; Remaind : aliased timespec; Rel_Time : Duration; Abs_Time : Duration; Base_Time : constant Duration := Clock; Check_Time : Duration := Base_Time; Result : Integer; pragma Unreferenced (Result); begin if Mode = Relative then Rel_Time := Time; Abs_Time := Time + Check_Time; else Rel_Time := Time - Check_Time; Abs_Time := Time; end if; if Rel_Time > 0.0 then loop Request := To_Timespec (Rel_Time); Result := nanosleep (Request'Access, Remaind'Access); Check_Time := Clock; exit when Abs_Time <= Check_Time or else Check_Time < Base_Time; Rel_Time := Abs_Time - Check_Time; end loop; end if; end Timed_Delay; ---------------- -- Initialize -- ---------------- procedure Initialize is begin null; end Initialize; end System.OS_Primitives;
36.069364
78
0.508333
0ea4d12bb79a4ca22b183f3330272de31a43ee6b
998
adb
Ada
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/array_return/p.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/array_return/p.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/array_return/p.adb
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2006-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure P is Small : Data_Small; Large : Data_Large; Vector : Small_Float_Vector; begin Small := Create_Small; Large := Create_Large; Vector := Create_Small_Float_Vector; Small (1) := Large (1); Small (2) := Integer (Vector (1)); end P;
34.413793
73
0.714429
c5cc7d1f90eea0551216dea39006b6d939e55322
39,038
adb
Ada
networklayer/synthesis_results_HMB/PKT_HANDLER_prj/ultrascale_plus/.autopilot/db/packet_handler.sched.adb
OCT-FPGA/network-demo
76fba0d4315abf7bffe77959a2501c287f20ecec
[ "BSD-3-Clause" ]
null
null
null
networklayer/synthesis_results_HMB/PKT_HANDLER_prj/ultrascale_plus/.autopilot/db/packet_handler.sched.adb
OCT-FPGA/network-demo
76fba0d4315abf7bffe77959a2501c287f20ecec
[ "BSD-3-Clause" ]
null
null
null
networklayer/synthesis_results_HMB/PKT_HANDLER_prj/ultrascale_plus/.autopilot/db/packet_handler.sched.adb
OCT-FPGA/network-demo
76fba0d4315abf7bffe77959a2501c287f20ecec
[ "BSD-3-Clause" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="17"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>packet_handler</name> <module_structure>Dataflow</module_structure> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>s_axis_V_data_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>s_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1886393223</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>512</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>s_axis_V_keep_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>s_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879568432</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>s_axis_V_strb_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>s_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>272</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>s_axis_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>s_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>s_axis_V_dest_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>s_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879590480</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>3</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>m_axis_V_data_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>m_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>5</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>512</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>m_axis_V_keep_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>m_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879925136</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>m_axis_V_strb_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>m_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879591968</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>m_axis_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>m_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3880139568</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>m_axis_V_dest_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>m_axis</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>3</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_11"> <Value> <Obj> <type>0</type> <id>35</id> <name>_ln288</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/packet_handler/packet_handler.cpp</fileName> <fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory> <lineNumber>288</lineNumber> <contextFuncName>packet_handler</contextFuncName> <contextNormFuncName>packet_handler</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/packet_handler/packet_handler.cpp</first> <second>packet_handler</second> </first> <second>288</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1684956531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>9</count> <item_version>0</item_version> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>53</item> <item>54</item> <item>55</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>36</id> <name>_ln292</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/packet_handler/packet_handler.cpp</fileName> <fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory> <lineNumber>292</lineNumber> <contextFuncName>packet_handler</contextFuncName> <contextNormFuncName>packet_handler</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/packet_handler/packet_handler.cpp</first> <second>packet_handler</second> </first> <second>292</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879364752</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>13</count> <item_version>0</item_version> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>189</item> <item>190</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>37</id> <name>_ln296</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/packet_handler/packet_handler.cpp</fileName> <fileDirectory>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</fileDirectory> <lineNumber>296</lineNumber> <contextFuncName>packet_handler</contextFuncName> <contextNormFuncName>packet_handler</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/packet_handler/packet_handler.cpp</first> <second>packet_handler</second> </first> <second>296</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879509456</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_14"> <Value> <Obj> <type>2</type> <id>39</id> <name>packet_identification</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3880013016</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:packet_identification&gt;</content> </item> <item class_id_reference="16" object_id="_15"> <Value> <Obj> <type>2</type> <id>46</id> <name>ethernet_remover</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3879566000</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:ethernet_remover&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_16"> <Obj> <type>3</type> <id>38</id> <name>packet_handler</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName></rtlModuleName> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>35</item> <item>36</item> <item>37</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>22</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_17"> <id>40</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_18"> <id>41</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_19"> <id>42</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_20"> <id>43</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_21"> <id>44</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_22"> <id>45</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_23"> <id>47</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_24"> <id>48</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_25"> <id>49</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_26"> <id>50</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_27"> <id>51</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_28"> <id>52</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_29"> <id>53</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_30"> <id>54</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_31"> <id>55</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_32"> <id>56</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_33"> <id>57</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_34"> <id>58</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_35"> <id>59</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_36"> <id>60</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_37"> <id>189</id> <edge_type>4</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_38"> <id>190</id> <edge_type>4</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_39"> <mId>1</mId> <mTag>packet_handler</mTag> <mNormTag>packet_handler</mNormTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>38</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>4</mMinLatency> <mMaxLatency>4</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_40"> <port_list class_id="24" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="25" tracking_level="1" version="0" object_id="_41"> <name>s_axis_V_data_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_42"> <name>s_axis_V_keep_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_43"> <name>s_axis_V_strb_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_44"> <name>s_axis_V_last_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_45"> <name>s_axis_V_dest_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_46"> <name>m_axis_V_data_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_47"> <name>m_axis_V_keep_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_48"> <name>m_axis_V_strb_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_49"> <name>m_axis_V_last_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> <item class_id_reference="25" object_id="_50"> <name>m_axis_V_dest_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </item> </port_list> <process_list class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_51"> <type>0</type> <name>packet_identification_U0</name> <ssdmobj_id>35</ssdmobj_id> <pins class_id="29" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_52"> <port class_id_reference="25" object_id="_53"> <name>s_axis_V_data_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_41"></top_port> <chan class_id="-1"></chan> </port> <inst class_id="31" tracking_level="1" version="0" object_id="_54"> <type>0</type> <name>packet_identification_U0</name> <ssdmobj_id>35</ssdmobj_id> </inst> </item> <item class_id_reference="30" object_id="_55"> <port class_id_reference="25" object_id="_56"> <name>s_axis_V_keep_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_42"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_54"></inst> </item> <item class_id_reference="30" object_id="_57"> <port class_id_reference="25" object_id="_58"> <name>s_axis_V_strb_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_43"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_54"></inst> </item> <item class_id_reference="30" object_id="_59"> <port class_id_reference="25" object_id="_60"> <name>s_axis_V_last_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_44"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_54"></inst> </item> <item class_id_reference="30" object_id="_61"> <port class_id_reference="25" object_id="_62"> <name>s_axis_V_dest_V</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_45"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_54"></inst> </item> </pins> <in_source_fork>1</in_source_fork> <in_sink_join>0</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> <item class_id_reference="28" object_id="_63"> <type>0</type> <name>ethernet_remover_U0</name> <ssdmobj_id>36</ssdmobj_id> <pins> <count>5</count> <item_version>0</item_version> <item class_id_reference="30" object_id="_64"> <port class_id_reference="25" object_id="_65"> <name>m_axis_V_data_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_46"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id="_66"> <type>0</type> <name>ethernet_remover_U0</name> <ssdmobj_id>36</ssdmobj_id> </inst> </item> <item class_id_reference="30" object_id="_67"> <port class_id_reference="25" object_id="_68"> <name>m_axis_V_keep_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_47"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_66"></inst> </item> <item class_id_reference="30" object_id="_69"> <port class_id_reference="25" object_id="_70"> <name>m_axis_V_strb_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_48"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_66"></inst> </item> <item class_id_reference="30" object_id="_71"> <port class_id_reference="25" object_id="_72"> <name>m_axis_V_last_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_49"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_66"></inst> </item> <item class_id_reference="30" object_id="_73"> <port class_id_reference="25" object_id="_74"> <name>m_axis_V_dest_V</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id_reference="25" object_id_reference="_50"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_66"></inst> </item> </pins> <in_source_fork>0</in_source_fork> <in_sink_join>1</in_sink_join> <flag_in_gui>0</flag_in_gui> </item> </process_list> <channel_list class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_75"> <type>1</type> <name>eth_level_pkt</name> <ssdmobj_id>13</ssdmobj_id> <ctype>0</ctype> <depth>16</depth> <bitwidth>1024</bitwidth> <suggested_type>0</suggested_type> <suggested_depth>16</suggested_depth> <source class_id_reference="30" object_id="_76"> <port class_id_reference="25" object_id="_77"> <name>in</name> <dir>0</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_54"></inst> </source> <sink class_id_reference="30" object_id="_78"> <port class_id_reference="25" object_id="_79"> <name>out</name> <dir>1</dir> <type>3</type> <need_hs>0</need_hs> <top_port class_id="-1"></top_port> <chan class_id="-1"></chan> </port> <inst class_id_reference="31" object_id_reference="_66"></inst> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="36" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="37" tracking_level="0" version="0"> <first>35</first> <second class_id="38" tracking_level="0" version="0"> <first>1</first> <second>1</second> </second> </item> <item> <first>36</first> <second> <first>3</first> <second>2</second> </second> </item> <item> <first>37</first> <second> <first>6</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="39" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>38</first> <second class_id="41" tracking_level="0" version="0"> <first>0</first> <second>6</second> </second> </item> </bblk_ent_exit> <regions class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="1" version="0" object_id="_80"> <region_name>packet_handler</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>38</item> </basic_blocks> <nodes> <count>20</count> <item_version>0</item_version> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> <mDBIIViolationVec class_id="44" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </mDBIIViolationVec> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="46" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="47" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="48" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
30.908947
168
0.62183
dc89a3dc95e9a83311896744a4fdabf267576dda
18,144
ads
Ada
source/league/ucd/matreshka-internals-unicode-ucd-core_00aa.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/league/ucd/matreshka-internals-unicode-ucd-core_00aa.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/league/ucd/matreshka-internals-unicode-ucd-core_00aa.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012-2015, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ pragma Restrictions (No_Elaboration_Code); -- GNAT: enforce generation of preinitialized data section instead of -- generation of elaboration code. package Matreshka.Internals.Unicode.Ucd.Core_00AA is pragma Preelaborate; Group_00AA : aliased constant Core_Second_Stage := (16#00# .. 16#28# => -- AA00 .. AA28 (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#29# .. 16#2E# => -- AA29 .. AA2E (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#2F# .. 16#30# => -- AA2F .. AA30 (Spacing_Mark, Neutral, Spacing_Mark, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#31# .. 16#32# => -- AA31 .. AA32 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#33# .. 16#34# => -- AA33 .. AA34 (Spacing_Mark, Neutral, Spacing_Mark, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#35# .. 16#36# => -- AA35 .. AA36 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#37# .. 16#3F# => -- AA37 .. AA3F (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#40# .. 16#42# => -- AA40 .. AA42 (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#43# => -- AA43 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#44# .. 16#4B# => -- AA44 .. AA4B (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#4C# => -- AA4C (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#4D# => -- AA4D (Spacing_Mark, Neutral, Spacing_Mark, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#4E# .. 16#4F# => -- AA4E .. AA4F (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#50# .. 16#59# => -- AA50 .. AA59 (Decimal_Number, Neutral, Other, Numeric, Numeric, Numeric, (Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#5A# .. 16#5B# => -- AA5A .. AA5B (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#5C# => -- AA5C (Other_Punctuation, Neutral, Other, Other, Other, Alphabetic, (Grapheme_Base => True, others => False)), 16#5D# .. 16#5F# => -- AA5D .. AA5F (Other_Punctuation, Neutral, Other, Other, S_Term, Break_After, (STerm | Terminal_Punctuation | Grapheme_Base => True, others => False)), 16#70# => -- AA70 (Modifier_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Extender | Alphabetic | Case_Ignorable | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#77# .. 16#79# => -- AA77 .. AA79 (Other_Symbol, Neutral, Other, Other, Other, Complex_Context, (Grapheme_Base => True, others => False)), 16#7B# => -- AA7B (Spacing_Mark, Neutral, Other, Extend, Extend, Complex_Context, (Diacritic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#7C# => -- AA7C (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Diacritic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#7D# => -- AA7D (Spacing_Mark, Neutral, Other, Extend, Extend, Complex_Context, (Diacritic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#B0# => -- AAB0 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#B2# .. 16#B4# => -- AAB2 .. AAB4 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#B5# .. 16#B6# => -- AAB5 .. AAB6 (Other_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Logical_Order_Exception | Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#B7# .. 16#B8# => -- AAB7 .. AAB8 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#B9# => -- AAB9 (Other_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Logical_Order_Exception | Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#BB# .. 16#BC# => -- AABB .. AABC (Other_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Logical_Order_Exception | Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#BE# => -- AABE (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#BF# => -- AABF (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Diacritic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#C0# => -- AAC0 (Other_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Diacritic | Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#C1# => -- AAC1 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Complex_Context, (Diacritic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#C2# => -- AAC2 (Other_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Diacritic | Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#C3# .. 16#DA# => -- AAC3 .. AADA (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), 16#DD# => -- AADD (Modifier_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Extender | Alphabetic | Case_Ignorable | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#DE# => -- AADE (Other_Punctuation, Neutral, Other, Other, Other, Complex_Context, (Grapheme_Base => True, others => False)), 16#DF# => -- AADF (Other_Punctuation, Neutral, Other, Other, Other, Complex_Context, (Terminal_Punctuation | Grapheme_Base => True, others => False)), 16#E0# .. 16#EA# => -- AAE0 .. AAEA (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#EB# => -- AAEB (Spacing_Mark, Neutral, Spacing_Mark, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#EC# .. 16#ED# => -- AAEC .. AAED (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Case_Ignorable | Grapheme_Extend | ID_Continue | XID_Continue => True, others => False)), 16#EE# .. 16#EF# => -- AAEE .. AAEF (Spacing_Mark, Neutral, Spacing_Mark, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#F0# .. 16#F1# => -- AAF0 .. AAF1 (Other_Punctuation, Neutral, Other, Other, S_Term, Break_After, (STerm | Terminal_Punctuation | Grapheme_Base => True, others => False)), 16#F2# => -- AAF2 (Other_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#F3# .. 16#F4# => -- AAF3 .. AAF4 (Modifier_Letter, Neutral, Other, A_Letter, O_Letter, Alphabetic, (Extender | Alphabetic | Case_Ignorable | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False)), 16#F5# => -- AAF5 (Spacing_Mark, Neutral, Spacing_Mark, Extend, Extend, Combining_Mark, (Other_Alphabetic | Alphabetic | Grapheme_Base | ID_Continue | XID_Continue => True, others => False)), 16#F6# => -- AAF6 (Nonspacing_Mark, Neutral, Extend, Extend, Extend, Combining_Mark, (Diacritic | Case_Ignorable | Grapheme_Extend | Grapheme_Link | ID_Continue | XID_Continue => True, others => False)), 16#F7# .. 16#FF# => -- AAF7 .. AAFF (Unassigned, Neutral, Other, Other, Other, Unknown, (others => False)), others => (Other_Letter, Neutral, Other, Other, O_Letter, Complex_Context, (Alphabetic | Grapheme_Base | ID_Continue | ID_Start | XID_Continue | XID_Start => True, others => False))); end Matreshka.Internals.Unicode.Ucd.Core_00AA;
38.117647
78
0.445271
c5fe36abbbe9dbb25a1e65c38da32edfccea5eaa
4,618
ads
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-traceb.ads
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-traceb.ads
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-traceb.ads
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . T R A C E B A C K -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides a method for generating a traceback of the current -- execution location. The traceback shows the locations of calls in the call -- chain, up to either the top or a designated number of levels. pragma Compiler_Unit_Warning; pragma Polling (Off); -- We must turn polling off for this unit, because otherwise we get -- elaboration circularities with System.Exception_Tables. with System.Traceback_Entries; package System.Traceback is ---------------- -- Call_Chain -- ---------------- procedure Call_Chain (Traceback : in out System.Traceback_Entries.Tracebacks_Array; Max_Len : Natural; Len : out Natural; Exclude_Min : System.Address := System.Null_Address; Exclude_Max : System.Address := System.Null_Address; Skip_Frames : Natural := 1); -- Store up to Max_Len code locations in Traceback, corresponding to the -- current call chain. -- -- Traceback is an array of addresses where the result will be stored. -- -- Max_Len is the length of the Traceback array. If the call chain is -- longer than this, then additional entries are discarded, and the -- traceback is missing some of the highest level entries. -- -- Len is the number of addresses returned in the Traceback array -- -- Exclude_Min/Exclude_Max, if non null, provide a range of addresses -- to ignore from the computation of the traceback. -- -- Skip_Frames says how many of the most recent calls should at least -- be excluded from the result, regardless of the exclusion bounds and -- starting with this procedure itself: 1 means exclude the frame for -- this procedure, 2 means 1 + exclude the frame for this procedure's -- caller, ... -- -- On return, the Traceback array is filled in, and Len indicates the -- number of stored entries. The first entry is the most recent call, -- and the last entry is the highest level call. function C_Call_Chain (Traceback : System.Address; Max_Len : Natural) return Natural; pragma Export (C, C_Call_Chain, "system__traceback__c_call_chain"); -- Version that can be used directly from C end System.Traceback;
52.477273
78
0.52317
231f2f7aee72ab75cb6a8b5a7bfeb984f25c0cfa
3,061
adb
Ada
src/shared/generic/lsc-internal-pad64.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
30
2018-05-18T09:11:50.000Z
2021-05-18T16:29:14.000Z
src/shared/generic/lsc-internal-pad64.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
15
2018-12-13T07:53:36.000Z
2019-09-24T19:43:35.000Z
src/shared/generic/lsc-internal-pad64.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
3
2019-04-04T17:41:29.000Z
2021-05-07T22:28:46.000Z
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2010, Alexander Senier -- Copyright (C) 2010, secunet Security Networks AG -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- -- * Neither the name of the nor the names of its contributors may be used -- to endorse or promote products derived from this software without -- specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS -- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- with Interfaces; with LSC.Internal.Byteorder64; package body LSC.Internal.Pad64 is procedure Block_Terminate (Block : in out Types.Word64_Array_Type; Length : in Types.Word64) is pragma Inline (Block_Terminate); Temp : Types.Word64; Index : Types.Index; Offset : Natural; begin -- index of partial block Index := Block'First + Types.Index (Length / 64); -- bit offset within the partial block Offset := Natural (63 - Length mod 64); Temp := Byteorder64.Native_To_BE (Block (Index)); Temp := Temp and Interfaces.Shift_Left (not 0, Offset); Temp := Temp or Interfaces.Shift_Left (1, Offset); Block (Index) := Byteorder64.BE_To_Native (Temp); if Index < Block'Last then for I in Types.Index range (Index + 1) .. Block'Last loop Block (I) := 0; pragma Loop_Invariant ((for all P in Types.Index range Index + 1 .. I => (Block (P) = 0)) and Index = Block'First + Types.Index (Length / 64)); end loop; end if; end Block_Terminate; end LSC.Internal.Pad64;
40.813333
79
0.63966
20b4840d5855036f6d9bbf4a26538a53ba5dab12
220
ada
Ada
bugs/bug06a.ada
daveshields/AdaEd
57daecfb7ccadfd9aaf13b4d54f51065affbe599
[ "BSD-4-Clause", "BSD-3-Clause" ]
3
2019-05-11T04:11:33.000Z
2021-04-18T14:55:43.000Z
bugs/bug07a.ada
daveshields/AdaEd
57daecfb7ccadfd9aaf13b4d54f51065affbe599
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
bugs/bug07a.ada
daveshields/AdaEd
57daecfb7ccadfd9aaf13b4d54f51065affbe599
[ "BSD-4-Clause", "BSD-3-Clause" ]
2
2016-10-29T22:52:56.000Z
2021-04-18T14:55:45.000Z
package u1 is type T is private; private type rep is record tag : boolean; val : integer; end record; type T is access rep; end u1;
20
30
0.440909
18f6b5b3d4391da7f2431163f68cdde33c5ddd81
29,906
adb
Ada
src/commands/makeewds.adb
Ausbxuse/latin-dict
2823198409d4de4b3b48c29af11c18d7840abd84
[ "FTL" ]
204
2015-06-12T21:22:55.000Z
2022-03-28T10:50:16.000Z
src/commands/makeewds.adb
Ausbxuse/latin-dict
2823198409d4de4b3b48c29af11c18d7840abd84
[ "FTL" ]
98
2015-06-15T22:17:04.000Z
2021-10-01T18:17:55.000Z
src/commands/makeewds.adb
Ausbxuse/latin-dict
2823198409d4de4b3b48c29af11c18d7840abd84
[ "FTL" ]
50
2015-06-16T22:42:24.000Z
2021-12-29T16:53:08.000Z
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission is hereby freely given for any and all use of program -- and data. You can sell it as your own, but at least tell me. -- -- This version is distributed without obligation, but the developer -- would appreciate comments and suggestions. -- -- All parts of the WORDS system, source code and data files, are made freely -- available to anyone who wishes to use them, for whatever purpose. with Ada.Text_IO; with Latin_Utils.Config; with Latin_Utils.Strings_Package; use Latin_Utils.Strings_Package; with Latin_Utils.Latin_File_Names; use Latin_Utils.Latin_File_Names; with Latin_Utils.Inflections_Package; use Latin_Utils.Inflections_Package; with Latin_Utils.Dictionary_Package; use Latin_Utils.Dictionary_Package; with Words_Engine.English_Support_Package; use Words_Engine.English_Support_Package; with Weed; with Weed_All; with Support_Utils.Dictionary_Form; with Latin_Utils.General; use Latin_Utils; procedure Makeewds is package Integer_IO is new Ada.Text_IO.Integer_IO (Integer); use Ada.Text_IO; use Integer_IO; use Dictionary_Entry_IO; use Part_Entry_IO; use Part_Of_Speech_Type_IO; use Age_Type_IO; use Area_Type_IO; use Geo_Type_IO; use Frequency_Type_IO; use Source_Type_IO; use Ewds_Record_Io; Porting : constant Boolean := False; Checking : constant Boolean := True; D_K : Dictionary_Kind := Xxx; -- ###################### Start_Stem_1 : constant := 1; Start_Stem_2 : constant := Start_Stem_1 + Max_Stem_Size + 1; Start_Stem_3 : constant := Start_Stem_2 + Max_Stem_Size + 1; Start_Stem_4 : constant := Start_Stem_3 + Max_Stem_Size + 1; Start_Part : constant := Start_Stem_4 + Max_Stem_Size + 1; Line_Number : Integer := 0; subtype Line_Type is String (1 .. 400); N : Integer := 0; Input, Output, Check : Ada.Text_IO.File_Type; De : Dictionary_Entry; S, Line : Line_Type := (others => ' '); Blank_Line : constant Line_Type := (others => ' '); L, Last : Integer := 0; Ewa : Ewds_Array (1 .. 40) := (others => Null_Ewds_Record); Ewr : Ewds_Record := Null_Ewds_Record; -- First we supplement MEAN with singles of any hyphenated words -- In principle this could be done in the main EXTRACT, much same logic/code -- However this is difficult code for an old man, EXTRACT was hard -- when I was a bit younger, and I cannot remember anything about it. -- Separating them out makes it much easier to test function Add_Hyphenated (S : String) return String is -------- I tried to do something with hyphenated but so far it -------- does not work -- Find hyphenated words and add them to MEAN with a / connector, -- right before the parse so one has both the individual words (may -- be more than two) and a single combined word -- counting-board -> counting board/countingboard -- Cannot be bigger: T : String (1 .. Max_Meaning_Size * 2 + 20) := (others => ' '); Word_Start : Integer := 1; Word_End : Integer := 0; I, J, Jmax : Integer := 0; Hyphenated : Boolean := False; begin --PUT_LINE (S); while I < S'Last loop I := I + 1; J := J + 1; Word_End := 0; --PUT (INTEGER'IMAGE (I) & "-"); -- First clear away or ignore all the non-words stuff if S (I) = '|' then -- Skip continuation |'s Word_Start := I + 1; T (J) := S (I); J := J + 1; Jmax := Jmax + 1; null; I := I + 1; elsif S (I) = '"' then -- Skip "'S Word_Start := I + 1; T (J) := S (I); J := J + 1; Jmax := Jmax + 1; null; I := I + 1; else if S (I) = '(' then -- ( .. .) not to be parsed T (J) := S (I); J := J + 1; Jmax := Jmax + 1; I := I + 1; while S (I) /= ')' loop T (J) := S (I); J := J + 1; Jmax := Jmax + 1; I := I + 1; end loop; Word_Start := I + 2; -- Skip }; Word_End := 0; elsif S (I) = '[' then -- ( .. .) not to be parsed T (J) := S (I); J := J + 1; Jmax := Jmax + 1; I := I + 1; while S (I - 1 .. I) /= "=>" loop T (J) := S (I); J := J + 1; Jmax := Jmax + 1; I := I + 1; end loop; Word_Start := I + 2; Word_End := 0; end if; -- Finished with the non-word stuff if S (I) = '-' then Word_End := I - 1; -- if (I /= S'FIRST) and then -- Not -word -- ( (S (I-1) /= ' ') and -- (S (I-1) /= '/') ) then -- HYPHENATED := TRUE; -- end if; end if; if S (I) = ' ' or S (I) = '/' or S (I) = ',' or S (I) = ';' or S (I) = '!' or S (I) = '?' or S (I) = '+' or S (I) = '*' or S (I) = '"' or S (I) = '(' then Word_End := I - 1; if Hyphenated then T (J) := '/'; J := J + 1; Jmax := Jmax + 1; for K in Word_Start .. Word_End loop if S (K) /= '-' then T (J) := S (K); J := J + 1; Jmax := Jmax + 1; end if; end loop; Hyphenated := False; end if; end if; if --WORD_END /= 0 and then S (I) = ' ' or S (I) = '/' then Word_Start := I + 1; Word_End := 0; end if; end if; -- On '|' -- Set up the Output to return --PUT ('|' & INTEGER'IMAGE (J) & '/' & INTEGER'IMAGE (I)); T (J) := S (I); Jmax := Jmax + 1; end loop; -- Over S'RANGE return T (1 .. Jmax); exception when others => Put_Line ("ADD_HYPHENATED Exception LINE = " & Integer'Image (Line_Number)); Put_Line (S); Put (De); New_Line; return T (1 .. Jmax); end Add_Hyphenated; procedure Extract_Words (S : in String; Pofs : in Part_Of_Speech_Type; N : out Integer; Ewa : out Ewds_Array) is -- i, j, js, k, l, m, im, ic : Integer := 0; J, K, L, M, Im, Ic : Integer := 0; End_Semi : constant Integer := 1; -- Have to expand type to take care of hyphenated subtype X_Meaning_Type is String (1 .. Max_Meaning_Size * 2 + 20); Null_X_Meaning_Type : constant X_Meaning_Type := (others => ' '); Semi, Comma : X_Meaning_Type := Null_X_Meaning_Type; Ww : Integer := 0; -- For debug begin -- i := 1; -- Element Position in line, per SEMI J := 1; -- Position in word K := 0; -- SEMI - Division in line L := 1; -- Position in MEAN, for EXTRACTing SEMI M := 1; -- COMMA in SEMI N := 1; -- Word number Im := 0; -- Position in SEMI Ic := 0; -- Position in COMMA Ewa (N) := Null_Ewds_Record; -- Slightly disparage extension if S (S'First) = '|' then K := 3; end if; while L <= S'Last loop -- loop over MEAN if S (L) = ' ' then -- Clear initial blanks L := L + 1; end if; Semi := Null_X_Meaning_Type; Im := 1; Extract_Semi : loop if S (L) = '|' then null; -- Ignore continuation flag | as word elsif S (L) in '0' .. '9' then null; -- Ignore numbers elsif S (L) = ';' then -- Division Terminator K := K + 1; --PUT ('+'); L := L + 1; -- Clear ; exit Extract_Semi; elsif S (L) = '(' then -- Skip ( .. .) ! while S (L) /= ')' loop --PUT ('+'); --PUT (INTEGER'IMAGE (L)); --PUT (S (L)); exit when L = S'Last; -- Run out L := L + 1; end loop; -- L := L + 1; -- Clear the ')' --PUT ('^'); --PUT (INTEGER'IMAGE (L)); --PUT (S (L)); if L > S'Last then L := S'Last; else if S (L) = ';' then -- ); exit Extract_Semi; end if; end if; --PUT (']'); if L >= S'Last then -- Ends in ) -- PUT ('!'); exit Extract_Semi; end if; --PUT ('+'); --L := L + 1; -- Clear the ')' elsif L = S'Last then --PUT ('|'); L := L + 1; -- To end the loop exit Extract_Semi; else Semi (Im) := S (L); Im := Im + 1; end if; --PUT ('+'); --IM := IM + 1; -- To next Character L := L + 1; -- To next Character end loop Extract_Semi; Ww := 10; Process_Semi : declare St : constant String := Trim (Semi); Sm : constant String (St'First .. St'Last) := St; begin if St'Length > 0 then Comma := Null_X_Meaning_Type; Im := Sm'First; M := 0; --I := SM'FIRST; --while I <= ST'LAST loop --PUT (S (I)); --PUT ('*'); --COMMA := NULL_X_MEANING_TYPE; Ic := 1; Loop_Over_Semi : while Im <= Sm'Last loop Comma := Null_X_Meaning_Type; Ww := 20; Find_Comma : loop --PUT (INTEGER'IMAGE (IM) & " ( " & SM (IM)); if Sm (Im) = '(' then -- Skip ( .. .) ! while Sm (Im) /= ')' loop Im := Im + 1; end loop; Im := Im + 1; -- Clear the ')' -- IM := IM + 1; -- Go to next Character if Im >= End_Semi then exit Find_Comma; end if; if (Sm (Im) = ';') or (Sm (Im) = ',') then -- Foumd COMMA M := M + 1; Ic := 1; Im := Im + 1; -- Clear ;, exit Find_Comma; elsif Sm (Im) = ' ' then Im := Im + 1; end if; --PUT_LINE ("------------------------"); end if; if Sm (Im) = '[' then -- Take end of [=>] while Sm (Im) /= '>' loop exit when Sm (Im) = ']'; -- If no > Im := Im + 1; end loop; Im := Im + 1; -- Clear the '>' or ']' if Sm (Im) = ';' then -- Foumd COMMA M := M + 1; Ic := 1; Im := Im + 1; -- Clear ; exit Find_Comma; elsif Sm (Im) = ' ' then Im := Im + 1; end if; end if; -- But could be 2 =>! --PUT_LINE ("Through ()[] I = " & INTEGER'IMAGE (I)); exit Find_Comma when Im > Sm'Last; --PUT (INTEGER'IMAGE (IM) & " ) " & SM (IM)); if Sm (Im) = ',' then -- Foumd COMMA M := M + 1; Ic := 1; Im := Im + 1; -- Clear , exit Find_Comma; elsif Im >= Sm'Last or Im = S'Last then -- Foumd COMMA Comma (Ic) := Sm (Im); M := M + 1; Ic := 1; exit Find_Comma; else Comma (Ic) := Sm (Im); Im := Im + 1; Ic := Ic + 1; end if; --PUT (INTEGER'IMAGE (IM) & " ! " & SM (IM)); end loop Find_Comma; Im := Im + 1; Ww := 30; Process_Comma : declare Ct : constant String := Trim (Comma); Cs : String (Ct'First .. Ct'Last) := Ct; Pure : Boolean := True; W_Start, W_End : Integer := 0; begin Ww := 31; if Ct'Length > 0 then -- Is COMMA non empty -- Are there any blanks? -- If not then it is a pure word -- Or words with / for Ip in Cs'Range loop if Cs (Ip) = ' ' then Pure := False; end if; end loop; Ww := 32; -- Check for WEED words and eliminate them W_Start := Cs'First; W_End := Cs'Last; for Iw in Cs'Range loop --PUT ('-'); --PUT (CS (IW)); if (Cs (Iw) = '(') or (Cs (Iw) = '[') then Ww := 33; W_Start := Iw + 1; else Ww := 34; if (Cs (Iw) = ' ') or (Cs (Iw) = '_') or (Cs (Iw) = '-') or (Cs (Iw) = ''') or (Cs (Iw) = '!') or (Cs (Iw) = '/') or (Cs (Iw) = ':') or (Cs (Iw) = '.') or (Cs (Iw) = '!') or (Cs (Iw) = ')') or (Cs (Iw) = ']') or (Iw = Cs'Last) then Ww := 35; if Iw = Cs'Last then W_End := Iw; elsif Iw /= Cs'First then W_End := Iw - 1; end if; Ww := 36; -- KLUDGE if Cs (W_Start) = '"' then Ww := 361; W_Start := W_Start + 1; Ww := 362; elsif Cs (W_End) = '"' then Ww := 364; W_End := W_End - 1; Ww := 365; end if; Ww := 37; --& " " & CS (W_START .. W_END) --); Weed_All (Cs (W_Start .. W_End)); if not Pure then Weed (Cs (W_Start .. W_End), Pofs); end if; W_Start := Iw + 1; end if; Ww := 38; end if; Ww := 39; end loop; -- On CS'RANGE --PUT_LINE (INTEGER'IMAGE (LINE_NUMBER) & "WEED done"); Ww := 40; -- Main process of COMMA Ic := 1; J := 1; while Ic <= Cs'Last loop --PUT (CS (IC)); if Cs (Ic) = '"' or -- Skip all " Cs (Ic) = '(' or -- Skip initial ( Cs (Ic) = '?' or -- Ignore ? Cs (Ic) = '~' or -- Ignore about ~ Cs (Ic) = '*' or Cs (Ic) = '%' or -- Ignore % unless word Cs (Ic) = '.' or -- Ignore . .. Cs (Ic) = '\' or -- Ignore weed (Cs (Ic) in '0' .. '9') then -- Skip numbers Ic := Ic + 1; Ww := 50; ----PUT ('-'); else if Cs (Ic) = '/' or Cs (Ic) = ' ' or Cs (Ic) = ''' or -- Ignore all ' incl 's ??? Cs (Ic) = '-' or -- Hyphen causes 2 words XXX Cs (Ic) = '+' or -- Plus causes 2 words Cs (Ic) = '_' or -- Underscore causes 2 words Cs (Ic) = '=' or -- = space/terminates Cs (Ic) = '>' or Cs (Ic) = ')' or Cs (Ic) = ']' or Cs (Ic) = '!' or Cs (Ic) = '?' or Cs (Ic) = '+' or Cs (Ic) = ':' or Cs (Ic) = ']' then -- Found word Ww := 60; --PUT ('/'); Ewa (N).Semi := K; if Pure then if K = 1 then Ewa (N).Kind := 15; else Ewa (N).Kind := 10; end if; else Ewa (N).Kind := 0; end if; Ww := 70; N := N + 1; -- Start new word in COMMA Ic := Ic + 1; J := 1; Ewa (N) := Null_Ewds_Record; elsif Ic = Cs'Last then -- Order of if important -- End, Found word --PUT ('!'); Ewa (N).W (J) := Cs (Ic); Ewa (N).Semi := K; if Pure then if K = 1 then Ewa (N).Kind := 15; else Ewa (N).Kind := 10; end if; else Ewa (N).Kind := 0; end if; N := N + 1; -- Start new word/COMMA Ewa (N) := Null_Ewds_Record; exit; else Ww := 80; --PUT ('+'); Ewa (N).W (J) := Cs (Ic); J := J + 1; Ic := Ic + 1; end if; end if; Ww := 90; end loop; end if; -- On COMMA being empty end Process_Comma; --PUT_LINE ("COMMA Processed "); end loop Loop_Over_Semi; --PUT_LINE ("LOOP OVER SEMI Processed "); end if; -- On ST'LENGTH > 0 --PUT_LINE ("LOOP OVER SEMI after ST'LENGTH 0 "); end Process_Semi; --PUT_LINE ("SEMI Processed "); -- I = " & INTEGER'IMAGE (I) --& " S (I) = " & S (I) --); if (L < S'Last) and then (S (L) = ';') then -- ?????? --PUT_LINE ("Clear L = " & INTEGER'IMAGE (L)); L := L + 1; end if; -- investigate this: -- js := l; -- Odd but necessary ????? for J in L .. S'Last loop exit when J = S'Last; if S (J) = ' ' then L := L + 1; else exit; end if; end loop; exit when L >= S'Last; end loop; -- loop over MEAN --PUT_LINE ("SEMI loop Processed"); if Ewa (N) = Null_Ewds_Record then N := N - 1; -- Clean up danglers end if; if Ewa (N) = Null_Ewds_Record then -- AGAIN!!!!!! N := N - 1; -- Clean up danglers end if; exception when others => if (S (S'Last) /= ')') or (S (S'Last) /= ']') then -- KLUDGE New_Line; Put_Line ("Extract Exception WW = " & Integer'Image (Ww) & " LINE = " & Integer'Image (Line_Number)); Put_Line (S); Put (De); New_Line; end if; end Extract_Words; begin Put_Line ("Takes a DICTLINE.D_K and produces a EWDSLIST.D_K "); Latin_Utils.General.Load_Dictionary (Line, Last, D_K); Open (Input, In_File, Latin_Utils.Config.Path (Dict_Line_Name & '.' & Ext (D_K))); --PUT_LINE ("OPEN"); if not Porting then --PUT_LINE ("CREATING"); Create (Output, Out_File, "EWDSLIST." & Ext (D_K)); if Checking then Create (Check, Out_File, "CHECKEWD."); end if; --PUT_LINE ("CREATED"); end if; -- Now do the rest Over_Lines : while not End_Of_File (Input) loop S := Blank_Line; Get_Line (Input, S, Last); if Trim (S (1 .. Last)) /= "" then -- If non-blank line L := 0; Form_De : begin De.Stems (1) := S (Start_Stem_1 .. Max_Stem_Size); --NEW_LINE; PUT (DE.STEMS (1)); De.Stems (2) := S (Start_Stem_2 .. Start_Stem_2 + Max_Stem_Size - 1); De.Stems (3) := S (Start_Stem_3 .. Start_Stem_3 + Max_Stem_Size - 1); De.Stems (4) := S (Start_Stem_4 .. Start_Stem_4 + Max_Stem_Size - 1); --PUT ('#'); PUT (INTEGER'IMAGE (L)); PUT (INTEGER'IMAGE (LAST)); --PUT ('@'); Get (S (Start_Part .. Last), De.Part, L); --PUT ('%'); PUT (INTEGER'IMAGE (L)); PUT (INTEGER'IMAGE (LAST)); --PUT ('&'); PUT (S (L+1 .. LAST)); PUT ('3'); --GET (S (L+1 .. LAST), DE.PART.POFS, DE.KIND, L); -- FIXME: Why not Translation_Record_IO.Put ? Get (S (L + 1 .. Last), De.Tran.Age, L); Get (S (L + 1 .. Last), De.Tran.Area, L); Get (S (L + 1 .. Last), De.Tran.Geo, L); Get (S (L + 1 .. Last), De.Tran.Freq, L); Get (S (L + 1 .. Last), De.Tran.Source, L); De.Mean := Head (S (L + 2 .. Last), Max_Meaning_Size); -- Note that this allows initial blanks -- L+2 skips over the SPACER, required because -- this is STRING, not ENUM exception when others => New_Line; Put_Line ("GET Exception LAST = " & Integer'Image (Last)); Put_Line (S (1 .. Last)); Integer_IO.Put (Line_Number); New_Line; Put (De); New_Line; end Form_De; Line_Number := Line_Number + 1; if De.Part.Pofs = V and then De.Part.V.Con.Which = 8 then -- V 8 is a kludge for variant forms of verbs -- that have regular forms elsewhere null; else -- Extract words Extract_Words (Add_Hyphenated (Trim (De.Mean)), De.Part.Pofs, N, Ewa); -- EWORD_SIZE : constant := 38; -- AUX_WORD_SIZE : constant := 9; -- LINE_NUMBER_WIDTH : constant := 10; -- -- type EWDS_RECORD is -- record -- POFS : PART_OF_SPEECH_TYPE := X; -- W : STRING (1 .. EWORD_SIZE); -- AUX : STRING (1 .. AUX_WORD_SIZE); -- N : INTEGER; -- end record; for I in 1 .. N loop if Trim (Ewa (I).W)'Length /= 0 then Ewr.W := Head (Trim (Ewa (I).W), Eword_Size); Ewr.Aux := Head ("", Aux_Word_Size); Ewr.N := Line_Number; Ewr.Pofs := De.Part.Pofs; Ewr.Freq := De.Tran.Freq; Ewr.Semi := Ewa (I).Semi; Ewr.Kind := Ewa (I).Kind; Ewr.Rank := 80 - Frequency_Type'Pos (Ewr.Freq) * 10 + Ewr.Kind + (Ewr.Semi - 1) * (-3); if Ewr.Freq = Inflections_Package.N then Ewr.Rank := Ewr.Rank + 25; end if; --PUT (EWA (I)); NEW_LINE; --PUT (EWR); NEW_LINE; Put (Output, Ewr); -- SET_COL (OUTPUT, 71); -- INTEGER_IO.PUT (OUTPUT, I, 2); New_Line (Output); if Checking then -- Now make the CHECK file Put (Check, Ewr.W); Set_Col (Check, 25); declare Df : constant String := Support_Utils.Dictionary_Form (De); Ii : Integer := 1; begin if Df'Length > 0 then while Df (Ii) /= ' ' and Df (Ii) /= '.' and Df (Ii) /= ',' loop Put (Check, Df (Ii)); Ii := Ii + 1; exit when Ii = 19; end loop; end if; end; Set_Col (Check, 44); Put (Check, Ewr.N, 6); Put (Check, ' '); Put (Check, Ewr.Pofs); Put (Check, ' '); Put (Check, Ewr.Freq); Put (Check, ' '); Put (Check, Ewr.Semi, 5); Put (Check, ' '); Put (Check, Ewr.Kind, 5); Put (Check, ' '); Put (Check, Ewr.Rank, 5); Put (Check, ' '); Put (Check, De.Mean); New_Line (Check); end if; end if; end loop; end if; -- If non-blank line end if; end loop Over_Lines; Put_Line ("NUMBER_OF_LINES = " & Integer'Image (Line_Number)); if not Porting then Close (Output); if Checking then Close (Check); end if; end if; exception when Ada.Text_IO.Data_Error => null; when others => Put_Line (S (1 .. Last)); Integer_IO.Put (Line_Number); New_Line; Close (Output); if Checking then Close (Check); end if; end Makeewds;
37.47619
80
0.343877
2026dfa1ed744f22f9e0b6fc4193bd347f45553a
1,158
ads
Ada
regtests/babel-base-text-tests.ads
stcarrez/babel
727461babd0305344427bf8a56cdae2b68d08caf
[ "Apache-2.0" ]
1
2015-08-05T14:26:52.000Z
2015-08-05T14:26:52.000Z
regtests/babel-base-text-tests.ads
stcarrez/babel
727461babd0305344427bf8a56cdae2b68d08caf
[ "Apache-2.0" ]
null
null
null
regtests/babel-base-text-tests.ads
stcarrez/babel
727461babd0305344427bf8a56cdae2b68d08caf
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- babel-base-text-tests - Unit tests for babel text database -- Copyright (C) 2016 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Tests; package Babel.Base.Text.Tests is procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite); type Test is new Util.Tests.Test with null record; -- Test the loading a text database. procedure Test_Load (T : in out Test); end Babel.Base.Text.Tests;
37.354839
76
0.641623
20f7a2a68ecbbb0850687f4e3626afc3e83b9726
6,435
adb
Ada
software/hal/boards/stm32f4_discovery/stm32-board.adb
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
12
2017-06-08T14:19:57.000Z
2022-03-09T02:48:59.000Z
software/hal/boards/stm32f4_discovery/stm32-board.adb
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
6
2017-06-08T13:13:50.000Z
2020-05-15T09:32:43.000Z
software/hal/boards/stm32f4_discovery/stm32-board.adb
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
3
2017-06-30T14:05:06.000Z
2022-02-17T12:20:45.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- -- -- -- This file is based on: -- -- -- -- @file stm32f4_discovery.c -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief This file provides set of firmware functions to manage Leds -- -- and push-button available on STM32F42-Discovery Kit from -- -- STMicroelectronics. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ with HAL.SPI; with LIS3DSH; use LIS3DSH; package body STM32.Board is ------------------ -- All_LEDs_Off -- ------------------ procedure All_LEDs_Off is begin Clear (All_LEDs); end All_LEDs_Off; ----------------- -- All_LEDs_On -- ----------------- procedure All_LEDs_On is begin Set (All_LEDs); end All_LEDs_On; --------------------- -- Initialize_LEDs -- --------------------- procedure Initialize_LEDs is Configuration : GPIO_Port_Configuration; begin Enable_Clock (All_LEDs); Configuration.Mode := Mode_Out; Configuration.Output_Type := Push_Pull; Configuration.Speed := Speed_100MHz; Configuration.Resistors := Floating; Configure_IO (All_LEDs, Config => Configuration); end Initialize_LEDs; -------------------------------- -- Configure_User_Button_GPIO -- -------------------------------- procedure Configure_User_Button_GPIO is Config : GPIO_Port_Configuration; begin Enable_Clock (User_Button_Point); Config.Mode := Mode_In; Config.Resistors := Floating; Configure_IO (User_Button_Point, Config); end Configure_User_Button_GPIO; ------------------------------ -- Initialize_Accelerometer -- ------------------------------ procedure Initialize_Accelerometer is procedure Init_SPI; procedure Init_GPIO; -------------- -- Init_SPI -- -------------- procedure Init_SPI is Config : SPI_Configuration; begin Enable_Clock (Acc_SPI); Config.Mode := Master; Config.Baud_Rate_Prescaler := BRP_32; Config.Clock_Polarity := Low; Config.Clock_Phase := P1Edge; Config.First_Bit := MSB; Config.CRC_Poly := 7; Config.Slave_Management := Software_Managed; -- essential!! Config.Direction := D2Lines_FullDuplex; Config.Data_Size := HAL.SPI.Data_Size_8b; Disable (Acc_SPI); Configure (Acc_SPI, Config); Enable (Acc_SPI); end Init_SPI; --------------- -- Init_GPIO -- --------------- procedure Init_GPIO is Config : GPIO_Port_Configuration; SPI_Points : constant GPIO_Points := Acc_SPI_MOSI_Pin & Acc_SPI_MISO_Pin & Acc_SPI_SCK_Pin; begin Enable_Clock (SPI_Points); Config.Output_Type := Push_Pull; Config.Resistors := Floating; Config.Speed := Speed_50MHz; Config.Mode := Mode_AF; Configure_IO (SPI_Points, Config); Configure_Alternate_Function (SPI_Points, Acc_SPI_AF); Enable_Clock (Acc_Chip_Select_Pin); Config.Mode := Mode_Out; Config.Output_Type := Push_Pull; Config.Resistors := Pull_Up; Config.Speed := Speed_25MHz; Acc_Chip_Select_Pin.Configure_IO (Config); Acc_Chip_Select_Pin.Set; end Init_GPIO; begin Init_GPIO; Init_SPI; end Initialize_Accelerometer; end STM32.Board;
38.076923
78
0.492308
200f64512389283b38fc260c88fce66fe5237c2c
3,952
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-atocou.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/s-atocou.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-atocou.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . A T O M I C _ C O U N T E R S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2011, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides atomic counter on platforms where it is supported: -- - all Alpha platforms -- - all ia64 platforms -- - all PowerPC platforms -- - all SPARC V9 platforms -- - all x86 platforms -- - all x86_64 platforms -- Why isn't this package available to application programs??? package System.Atomic_Counters is pragma Preelaborate; type Atomic_Counter is limited private; -- Type for atomic counter objects. Note, initial value of the counter is -- one. This allows using an atomic counter as member of record types when -- object of these types are created at library level in preelaborable -- compilation units. -- -- Atomic_Counter is declared as private limited type to provide highest -- level of protection from unexpected use. All available operations are -- declared below, and this set should be as small as possible. procedure Increment (Item : in out Atomic_Counter); pragma Inline_Always (Increment); -- Increments value of atomic counter. function Decrement (Item : in out Atomic_Counter) return Boolean; pragma Inline_Always (Decrement); -- Decrements value of atomic counter, returns True when value reach zero. function Is_One (Item : Atomic_Counter) return Boolean; pragma Inline_Always (Is_One); -- Returns True when value of the atomic counter is one. private type Unsigned_32 is mod 2 ** 32; type Atomic_Counter is limited record Value : aliased Unsigned_32 := 1; pragma Atomic (Value); end record; end System.Atomic_Counters;
50.666667
78
0.461285
18fab19abdac2fb970870ee11dc3b6fd417582be
813
adb
Ada
src/utilities_package.adb
MorganPeterson/avi-editor
c8c967edb4615048b41f3527eb807e6229cf5205
[ "0BSD" ]
null
null
null
src/utilities_package.adb
MorganPeterson/avi-editor
c8c967edb4615048b41f3527eb807e6229cf5205
[ "0BSD" ]
null
null
null
src/utilities_package.adb
MorganPeterson/avi-editor
c8c967edb4615048b41f3527eb807e6229cf5205
[ "0BSD" ]
null
null
null
with Ada.Text_IO; use Ada.Text_IO; with Ada.Text_IO.Text_Streams; use Ada.Text_IO.Text_Streams; with Editor_Package; use Editor_Package; package body Utilities_Package is function Read_File (Name : Unbounded_String; V : View) return Boolean is Input : File_Type; BFFR : Character; begin Open (File => Input, Mode => In_File, Name => To_String (Name)); loop BFFR := Character'Input (Stream (Input)); Put (BFFR); exit when End_Of_File; end loop; Close (Input); return True; exception when End_Error => if Is_Open (Input) then Close (Input); end if; return False; when Name_Error => Put_Line ("No such file"); return False; end Read_File; end Utilities_Package;
28.034483
75
0.615006
23f766fb5180ebaefe2f0e1d58f212dde71bd7ff
1,391
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1102a0.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1102a0.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1102a0.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- CA1102A0.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- WKB 6/12/81 PACKAGE CA1102A0 IS -- BODY IS IN CA1102A1. PROCEDURE P (INVOKED : IN OUT BOOLEAN); END CA1102A0;
43.46875
79
0.672178
dfe304679de7e1ebca785ef138e6e74a4fa635c7
3,894
ads
Ada
source/xml/dom/xml-dom-document_types.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/xml/dom/xml-dom-document_types.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/xml/dom/xml-dom-document_types.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with League.Strings; with XML.DOM.Nodes; package XML.DOM.Document_Types is pragma Preelaborate; type DOM_Document_Type is limited interface and XML.DOM.Nodes.DOM_Node; type DOM_Document_Type_Access is access all DOM_Document_Type'Class with Storage_Size => 0; not overriding function Get_Name (Self : not null access constant DOM_Document_Type) return League.Strings.Universal_String is abstract; -- The name of DTD; i.e., the name immediately following the DOCTYPE -- keyword. end XML.DOM.Document_Types;
59.907692
78
0.437083
101d4f9dea17d0d015aaa853bbf14320261cf259
456
ads
Ada
examples/adventure_game/src/adventure.ads
persan/gdnative_ada
8d05c142c820138ca351aefa91f9f02946f70bfc
[ "MIT" ]
10
2020-07-17T20:58:29.000Z
2022-03-08T16:17:29.000Z
examples/adventure_game/src/adventure.ads
persan/gdnative_ada
8d05c142c820138ca351aefa91f9f02946f70bfc
[ "MIT" ]
2
2020-10-01T14:10:11.000Z
2021-01-22T19:03:59.000Z
examples/adventure_game/src/adventure.ads
persan/gdnative_ada
8d05c142c820138ca351aefa91f9f02946f70bfc
[ "MIT" ]
1
2020-11-02T06:29:29.000Z
2020-11-02T06:29:29.000Z
with System; with GDNative.Objects; use GDNative.Objects; package Adventure is type Player is new Node with record Health : Integer; end record; for Player'External_Tag use "Player"; overriding function Initialize return Player is (Player'(Health => 100)); overriding procedure Process (Self : in out Player; Delta_Time : in Long_Float); package Player_Registration is new Node_Registration (Player); procedure Register_Classes; end;
26.823529
82
0.763158
df65ba4fd62ff74853c87597ac7bbc07ea4d9ffd
3,159
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-csquin.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-csquin.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-csquin.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ADA.CONTAINERS.SYNCHRONIZED_QUEUE_INTERFACES -- -- -- -- S p e c -- -- -- -- Copyright (C) 2011-2020, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ generic type Element_Type is private; package Ada.Containers.Synchronized_Queue_Interfaces is pragma Pure; type Queue is synchronized interface; procedure Enqueue (Container : in out Queue; New_Item : Element_Type) is abstract with Synchronization => By_Entry; procedure Dequeue (Container : in out Queue; Element : out Element_Type) is abstract with Synchronization => By_Entry; function Current_Use (Container : Queue) return Count_Type is abstract; function Peak_Use (Container : Queue) return Count_Type is abstract; end Ada.Containers.Synchronized_Queue_Interfaces;
55.421053
78
0.466603
236d187bdefb02b44fd27cfc9407a689de8de3fa
2,076
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t12.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t12.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t12.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } -- with Init12; use Init12; with Text_IO; use Text_IO; with Dump; procedure T12 is Local_A11 : Arr11; Local_A22 : Arr22; begin Local_A11(1,1) := My_A11(1,1) + 1; Local_A11(1,2) := My_A11(1,2) + 1; Local_A11(2,1) := My_A11(2,1) + 1; Local_A11(2,2) := My_A11(2,2) + 1; Put ("Local_A11 :"); Dump (Local_A11'Address, Arr11'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "Local_A11 : 13 00 ab 00 35 00 cd 00 13 00 ab 00 35 00 cd 00.*\n" } Local_A22(1,1) := My_A22(1,1) + 1; Local_A22(1,2) := My_A22(1,2) + 1; Local_A22(2,1) := My_A22(2,1) + 1; Local_A22(2,2) := My_A22(2,2) + 1; Put ("Local_A22 :"); Dump (Local_A22'Address, Arr22'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "Local_A22 : 00 ab 00 13 00 cd 00 35 00 ab 00 13 00 cd 00 35.*\n" } Local_A11 := (1 => (16#AB0012#, 16#CD0034#), 2 => (16#AB0012#, 16#CD0034#)); Put ("Local_A11 :"); Dump (Local_A11'Address, Arr11'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "Local_A11 : 12 00 ab 00 34 00 cd 00 12 00 ab 00 34 00 cd 00.*\n" } Local_A22 := (1 => (16#AB0012#, 16#CD0034#), 2 => (16#AB0012#, 16#CD0034#)); Put ("Local_A22 :"); Dump (Local_A22'Address, Arr22'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "Local_A22 : 00 ab 00 12 00 cd 00 34 00 ab 00 12 00 cd 00 34.*\n" } Local_A11(1,1) := Local_A11(1,1) + 1; Local_A11(1,2) := Local_A11(1,2) + 1; Local_A11(2,1) := Local_A11(2,1) + 1; Local_A11(2,2) := Local_A11(2,2) + 1; Put ("Local_A11 :"); Dump (Local_A11'Address, Arr11'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "Local_A11 : 13 00 ab 00 35 00 cd 00 13 00 ab 00 35 00 cd 00.*\n" } Local_A22(1,1) := Local_A22(1,1) + 1; Local_A22(1,2) := Local_A22(1,2) + 1; Local_A22(2,1) := Local_A22(2,1) + 1; Local_A22(2,2) := Local_A22(2,2) + 1; Put ("Local_A22 :"); Dump (Local_A22'Address, Arr22'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "Local_A22 : 00 ab 00 13 00 cd 00 35 00 ab 00 13 00 cd 00 35.*\n" } end;
30.985075
84
0.613198
4a9b86e3de474f0a96ac9b73ca0b697f6f0dc142
4,057
ads
Ada
source/xml/sax/xml-sax-default_handlers.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/xml/sax/xml-sax-default_handlers.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/xml/sax/xml-sax-default_handlers.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with League.Strings; with XML.SAX.Content_Handlers; with XML.SAX.DTD_Handlers; with XML.SAX.Declaration_Handlers; with XML.SAX.Error_Handlers; with XML.SAX.Lexical_Handlers; package XML.SAX.Default_Handlers is pragma Preelaborate; type SAX_Default_Handler is limited new XML.SAX.Content_Handlers.SAX_Content_Handler and XML.SAX.DTD_Handlers.SAX_DTD_Handler and XML.SAX.Declaration_Handlers.SAX_Declaration_Handler and XML.SAX.Error_Handlers.SAX_Error_Handler and XML.SAX.Lexical_Handlers.SAX_Lexical_Handler with null record; overriding function Error_String (Self : SAX_Default_Handler) return League.Strings.Universal_String; end XML.SAX.Default_Handlers;
59.661765
78
0.457481
238ef083d47d09910955a40039b14497ff6501db
9,040
ads
Ada
src/fltk-static.ads
micahwelf/FLTK-Ada
83e0c58ea98e5ede2cbbb158b42eae44196c3ba7
[ "Unlicense" ]
1
2020-12-18T15:20:13.000Z
2020-12-18T15:20:13.000Z
src/fltk-static.ads
micahwelf/FLTK-Ada
83e0c58ea98e5ede2cbbb158b42eae44196c3ba7
[ "Unlicense" ]
null
null
null
src/fltk-static.ads
micahwelf/FLTK-Ada
83e0c58ea98e5ede2cbbb158b42eae44196c3ba7
[ "Unlicense" ]
null
null
null
with FLTK.Widgets.Groups.Windows; private with Interfaces.C; package FLTK.Static is type Awake_Handler is access procedure; type Timeout_Handler is access procedure; type Idle_Handler is access procedure; type Buffer_Kind is (Selection, Clipboard); type Clipboard_Notify_Handler is access procedure (Kind : in Buffer_Kind); type File_Descriptor is new Integer; type File_Mode is (Read, Write, Except); type File_Handler is access procedure (FD : in File_Descriptor); type Box_Draw_Function is access procedure (X, Y, W, H : in Integer; My_Color : in Color); type Option is (Arrow_Focus, Visible_Focus, DND_Text, Show_Tooltips, FNFC_Uses_GTK, Last); procedure Add_Awake_Handler (Func : in Awake_Handler); function Get_Awake_Handler return Awake_Handler; procedure Add_Check (Func : in Timeout_Handler); function Has_Check (Func : in Timeout_Handler) return Boolean; procedure Remove_Check (Func : in Timeout_Handler); procedure Add_Timeout (Seconds : in Long_Float; Func : in Timeout_Handler); function Has_Timeout (Func : in Timeout_Handler) return Boolean; procedure Remove_Timeout (Func : in Timeout_Handler); procedure Repeat_Timeout (Seconds : in Long_Float; Func : in Timeout_Handler); procedure Add_Clipboard_Notify (Func : in Clipboard_Notify_Handler); procedure Remove_Clipboard_Notify (Func : in Clipboard_Notify_Handler); procedure Add_File_Descriptor (FD : in File_Descriptor; Func : in File_Handler); procedure Add_File_Descriptor (FD : in File_Descriptor; Mode : in File_Mode; Func : in File_Handler); procedure Remove_File_Descriptor (FD : in File_Descriptor); procedure Remove_File_Descriptor (FD : in File_Descriptor; Mode : in File_Mode); procedure Add_Idle (Func : in Idle_Handler); function Has_Idle (Func : in Idle_Handler) return Boolean; procedure Remove_Idle (Func : in Idle_Handler); procedure Get_Color (From : in Color; R, G, B : out Color_Component); procedure Set_Color (To : in Color; R, G, B : in Color_Component); procedure Free_Color (Value : in Color; Overlay : in Boolean := False); procedure Own_Colormap; procedure Set_Foreground (R, G, B : in Color_Component); procedure Set_Background (R, G, B : in Color_Component); procedure Set_Alt_Background (R, G, B : in Color_Component); procedure System_Colors; function Font_Image (Kind : in Font_Kind) return String; function Font_Family_Image (Kind : in Font_Kind) return String; procedure Set_Font_Kind (To, From : in Font_Kind); function Font_Sizes (Kind : in Font_Kind) return Font_Size_Array; procedure Setup_Fonts (How_Many_Set_Up : out Natural); function Get_Box_Height_Offset (Kind : in Box_Kind) return Integer; function Get_Box_Width_Offset (Kind : in Box_Kind) return Integer; function Get_Box_X_Offset (Kind : in Box_Kind) return Integer; function Get_Box_Y_Offset (Kind : in Box_Kind) return Integer; procedure Set_Box_Kind (To, From : in Box_Kind); function Draw_Box_Active return Boolean; -- function Get_Box_Draw_Function -- (Kind : in Box_Kind) -- return Box_Draw_Function; -- procedure Set_Box_Draw_Function -- (Kind : in Box_Kind; -- Func : in Box_Draw_Function; -- Offset_X, Offset_Y : in Integer := 0; -- Offset_W, Offset_H : in Integer := 0); procedure Copy (Text : in String; Dest : in Buffer_Kind); procedure Paste (Receiver : in FLTK.Widgets.Widget'Class; Source : in Buffer_Kind); procedure Selection (Owner : in FLTK.Widgets.Widget'Class; Text : in String); procedure Drag_Drop_Start; function Get_Drag_Drop_Text_Support return Boolean; procedure Set_Drag_Drop_Text_Support (To : in Boolean); procedure Enable_System_Input; procedure Disable_System_Input; function Has_Visible_Focus return Boolean; procedure Set_Visible_Focus (To : in Boolean); procedure Default_Window_Close (Item : in out FLTK.Widgets.Widget'Class); function Get_First_Window return access FLTK.Widgets.Groups.Windows.Window'Class; procedure Set_First_Window (To : in FLTK.Widgets.Groups.Windows.Window'Class); function Get_Next_Window (From : in FLTK.Widgets.Groups.Windows.Window'Class) return access FLTK.Widgets.Groups.Windows.Window'Class; function Get_Top_Modal return access FLTK.Widgets.Groups.Windows.Window'Class; function Read_Queue return access FLTK.Widgets.Widget'Class; procedure Do_Widget_Deletion; function Get_Scheme return String; procedure Set_Scheme (To : in String); function Is_Scheme (Scheme : in String) return Boolean; procedure Reload_Scheme; function Get_Option (Opt : in Option) return Boolean; procedure Set_Option (Opt : in Option; To : in Boolean); function Get_Default_Scrollbar_Size return Natural; procedure Set_Default_Scrollbar_Size (To : in Natural); private File_Mode_Codes : array (File_Mode) of Interfaces.C.int := (Read => 1, Write => 4, Except => 8); pragma Import (C, Own_Colormap, "fl_static_own_colormap"); pragma Import (C, System_Colors, "fl_static_get_system_colors"); pragma Import (C, Drag_Drop_Start, "fl_static_dnd"); pragma Import (C, Enable_System_Input, "fl_static_enable_im"); pragma Import (C, Disable_System_Input, "fl_static_disable_im"); pragma Import (C, Do_Widget_Deletion, "fl_static_do_widget_deletion"); pragma Import (C, Reload_Scheme, "fl_static_reload_scheme"); pragma Inline (Add_Awake_Handler); pragma Inline (Get_Awake_Handler); pragma Inline (Add_Check); pragma Inline (Has_Check); pragma Inline (Remove_Check); pragma Inline (Add_Timeout); pragma Inline (Has_Timeout); pragma Inline (Remove_Timeout); pragma Inline (Repeat_Timeout); pragma Inline (Add_Clipboard_Notify); pragma Inline (Remove_Clipboard_Notify); pragma Inline (Add_File_Descriptor); pragma Inline (Remove_File_Descriptor); pragma Inline (Add_Idle); pragma Inline (Has_Idle); pragma Inline (Remove_Idle); pragma Inline (Get_Color); pragma Inline (Set_Color); pragma Inline (Free_Color); pragma Inline (Own_Colormap); pragma Inline (Set_Foreground); pragma Inline (Set_Background); pragma Inline (Set_Alt_Background); pragma Inline (System_Colors); pragma Inline (Font_Image); pragma Inline (Font_Family_Image); pragma Inline (Set_Font_Kind); pragma Inline (Font_Sizes); pragma Inline (Setup_Fonts); pragma Inline (Get_Box_Height_Offset); pragma Inline (Get_Box_Width_Offset); pragma Inline (Get_Box_X_Offset); pragma Inline (Get_Box_Y_Offset); pragma Inline (Set_Box_Kind); pragma Inline (Draw_Box_Active); -- pragma Inline (Get_Box_Draw_Function); -- pragma Inline (Set_Box_Draw_Function); pragma Inline (Copy); pragma Inline (Paste); pragma Inline (Selection); pragma Inline (Drag_Drop_Start); pragma Inline (Get_Drag_Drop_Text_Support); pragma Inline (Set_Drag_Drop_Text_Support); pragma Inline (Enable_System_Input); pragma Inline (Disable_System_Input); pragma Inline (Has_Visible_Focus); pragma Inline (Set_Visible_Focus); pragma Inline (Default_Window_Close); pragma Inline (Get_First_Window); pragma Inline (Set_First_Window); pragma Inline (Get_Next_Window); pragma Inline (Get_Top_Modal); pragma Inline (Read_Queue); pragma Inline (Do_Widget_Deletion); pragma Inline (Get_Scheme); pragma Inline (Set_Scheme); pragma Inline (Is_Scheme); pragma Inline (Reload_Scheme); pragma Inline (Get_Option); pragma Inline (Set_Option); pragma Inline (Get_Default_Scrollbar_Size); pragma Inline (Set_Default_Scrollbar_Size); end FLTK.Static;
20.088889
74
0.636173
20a1e4e28ccb2abc1f0379531a2939bd6c154300
352
ads
Ada
apps/rfm69_modem/host_message.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
1
2021-04-06T07:57:56.000Z
2021-04-06T07:57:56.000Z
apps/rfm69_modem/host_message.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
null
null
null
apps/rfm69_modem/host_message.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
2
2018-05-29T13:59:31.000Z
2019-02-03T19:48:08.000Z
with Interfaces; use Interfaces; with STM32GD.Board; use STM32GD.Board; package Host_Message is type Packet_Type is array (Unsigned_8 range <>) of Unsigned_8; procedure Send_Hello; procedure Send_Packet (Packet: Packet_Type; Length: Unsigned_8); procedure Send_Heartbeat; procedure Send_Error_Message (M : String); end Host_Message;
25.142857
67
0.772727
10089b8cc33e5e86284e31ec7cc479b6f02ca967
2,645
ads
Ada
boards/MicroBit/src/microbit-ios-neopixel.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
boards/MicroBit/src/microbit-ios-neopixel.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
boards/MicroBit/src/microbit-ios-neopixel.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- Bit-bang a sequence of color LED values to a one-pin LED strip (WS2812B -- or similar). with HAL; use HAL; package MicroBit.IOs.NeoPixel is procedure Write (Pin : Pin_Id; Values : UInt8_Array) with Pre => Supports (Pin, Digital); end MicroBit.IOs.NeoPixel;
61.511628
78
0.523251
206a4758683f19f2ea4b42c2bdfac1a1155be087
2,048
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c39006f3.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c39006f3.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c39006f3.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C39006F3M.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT NO PROGRAM_ERROR IS RAISED IF A SUBPROGRAM'S BODY HAS -- BEEN ELABORATED BEFORE IT IS CALLED. CHECK THE FOLLOWING: -- B) FOR A SUBPROGRAM LIBRARY UNIT USED IN ANOTHER UNIT, NO -- PROGRAM_ERROR IS RAISED IF PRAGMA ELABORATE NAMES THE -- SUBPROGRAM. -- SEPARATE FILES ARE: -- C39006F0 A LIBRARY FUNCTION. -- C39006F1 A LIBRARY PACKAGE SPECIFICATION. -- C39006F2 A LIBRARY PACKAGE BODY. -- C39006F3M (THIS FILE) THE MAIN PROCEDURE. -- HISTORY: -- TBN 08/22/86 CREATED ORIGINAL TEST. -- BCB 03/29/90 CORRECTED HEADER. CHANGED TEST NAME IN CALL -- TO 'TEST'. WITH C39006F1; WITH REPORT; USE REPORT; PROCEDURE C39006F3M IS BEGIN RESULT; END C39006F3M;
40.96
79
0.664551
231efaefbc97d5e5a6e3f8b171c559066a1e6aab
4,102
adb
Ada
Ada95/src/terminal_interface-curses-panels-user_data.adb
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
35
2015-03-07T13:26:22.000Z
2021-11-06T16:18:59.000Z
Ada95/src/terminal_interface-curses-panels-user_data.adb
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
3
2017-04-07T21:02:48.000Z
2017-04-08T17:59:35.000Z
Ada95/src/terminal_interface-curses-panels-user_data.adb
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
19
2015-06-16T06:13:44.000Z
2021-07-24T02:37:45.000Z
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Panels.User_Data -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: -- $Revision: 1.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C; with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; with Terminal_Interface.Curses.Panels; use Terminal_Interface.Curses.Panels; package body Terminal_Interface.Curses.Panels.User_Data is use type Interfaces.C.int; procedure Set_User_Data (Pan : in Panel; Data : in User_Access) is function Set_Panel_Userptr (Pan : Panel; Addr : User_Access) return C_Int; pragma Import (C, Set_Panel_Userptr, "set_panel_userptr"); begin if Set_Panel_Userptr (Pan, Data) = Curses_Err then raise Panel_Exception; end if; end Set_User_Data; function Get_User_Data (Pan : in Panel) return User_Access is function Panel_Userptr (Pan : Panel) return User_Access; pragma Import (C, Panel_Userptr, "panel_userptr"); begin return Panel_Userptr (Pan); end Get_User_Data; procedure Get_User_Data (Pan : in Panel; Data : out User_Access) is begin Data := Get_User_Data (Pan); end Get_User_Data; end Terminal_Interface.Curses.Panels.User_Data;
51.924051
78
0.48001
187b21f2cfdbd0f6ae87dd881ea63a6336e19619
394
ads
Ada
resources/scripts/scrape/builtwith.ads
0xflotus/Amass
89a8960c5254031364f966190e841d6951206d47
[ "Apache-2.0" ]
11
2020-08-19T01:01:42.000Z
2022-02-12T08:36:53.000Z
resources/scripts/scrape/builtwith.ads
Dheerajmadhukar/Amass
30f786aae86e44751f3ebbe2cebb9b25638c1934
[ "Apache-2.0" ]
1
2021-02-15T09:01:23.000Z
2021-02-15T09:01:23.000Z
resources/scripts/scrape/builtwith.ads
Dheerajmadhukar/Amass
30f786aae86e44751f3ebbe2cebb9b25638c1934
[ "Apache-2.0" ]
2
2020-11-10T17:13:54.000Z
2021-01-23T07:23:24.000Z
-- Copyright 2017 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. name = "BuiltWith" type = "scrape" function start() setratelimit(3) end function vertical(ctx, domain) scrape(ctx, {url=buildurl(domain)}) end function buildurl(domain) return "https://builtwith.com/relationships/" .. domain end
21.888889
97
0.728426
1014cae826f678f24d28cdfcae43a3096d76f969
29,731
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-osinte__gnu.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-osinte__gnu.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-osinte__gnu.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . O S _ I N T E R F A C E -- -- -- -- S p e c -- -- -- -- Copyright (C) 1991-1994, Florida State University -- -- Copyright (C) 1995-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the GNU/Hurd (POSIX Threads) version of this package -- This package encapsulates all direct interfaces to OS services -- that are needed by children of System. -- PLEASE DO NOT add any with-clauses to this package or remove the pragma -- Preelaborate. This package is designed to be a bottom-level (leaf) package with Interfaces.C; with Unchecked_Conversion; package System.OS_Interface is pragma Preelaborate; pragma Linker_Options ("-lpthread"); pragma Linker_Options ("-lrt"); subtype int is Interfaces.C.int; subtype char is Interfaces.C.char; subtype short is Interfaces.C.short; subtype long is Interfaces.C.long; subtype unsigned is Interfaces.C.unsigned; subtype unsigned_short is Interfaces.C.unsigned_short; subtype unsigned_long is Interfaces.C.unsigned_long; subtype unsigned_char is Interfaces.C.unsigned_char; subtype plain_char is Interfaces.C.plain_char; subtype size_t is Interfaces.C.size_t; ----------- -- Errno -- ----------- -- From /usr/include/i386-gnu/bits/errno.h function errno return int; pragma Import (C, errno, "__get_errno"); EAGAIN : constant := 1073741859; EINTR : constant := 1073741828; EINVAL : constant := 1073741846; ENOMEM : constant := 1073741836; EPERM : constant := 1073741825; ETIMEDOUT : constant := 1073741884; ------------- -- Signals -- ------------- -- From /usr/include/i386-gnu/bits/signum.h Max_Interrupt : constant := 32; type Signal is new int range 0 .. Max_Interrupt; for Signal'Size use int'Size; SIGHUP : constant := 1; -- hangup SIGINT : constant := 2; -- interrupt (rubout) SIGQUIT : constant := 3; -- quit (ASCD FS) SIGILL : constant := 4; -- illegal instruction (not reset) SIGTRAP : constant := 5; -- trace trap (not reset) SIGIOT : constant := 6; -- IOT instruction SIGABRT : constant := 6; -- used by abort, replace SIGIOT in the future SIGEMT : constant := 7; -- EMT instruction SIGFPE : constant := 8; -- floating point exception SIGKILL : constant := 9; -- kill (cannot be caught or ignored) SIGBUS : constant := 10; -- bus error SIGSEGV : constant := 11; -- segmentation violation SIGSYS : constant := 12; -- bad argument to system call SIGPIPE : constant := 13; -- write on a pipe with no one to read it SIGALRM : constant := 14; -- alarm clock SIGTERM : constant := 15; -- software termination signal from kill SIGURG : constant := 16; -- urgent condition on IO channel SIGSTOP : constant := 17; -- stop (cannot be caught or ignored) SIGTSTP : constant := 18; -- user stop requested from tty SIGCONT : constant := 19; -- stopped process has been continued SIGCLD : constant := 20; -- alias for SIGCHLD SIGCHLD : constant := 20; -- child status change SIGTTIN : constant := 21; -- background tty read attempted SIGTTOU : constant := 22; -- background tty write attempted SIGIO : constant := 23; -- I/O possible (Solaris SIGPOLL alias) SIGPOLL : constant := 23; -- I/O possible (same as SIGIO?) SIGXCPU : constant := 24; -- CPU time limit exceeded SIGXFSZ : constant := 25; -- filesize limit exceeded SIGVTALRM : constant := 26; -- virtual timer expired SIGPROF : constant := 27; -- profiling timer expired SIGWINCH : constant := 28; -- window size change SIGINFO : constant := 29; -- information request (NetBSD/FreeBSD) SIGUSR1 : constant := 30; -- user defined signal 1 SIGUSR2 : constant := 31; -- user defined signal 2 SIGLOST : constant := 32; -- Resource lost (Sun); server died (GNU) SIGADAABORT : constant := SIGABRT; -- Change this if you want to use another signal for task abort. -- SIGTERM might be a good one. type Signal_Set is array (Natural range <>) of Signal; Unmasked : constant Signal_Set := ( SIGTRAP, -- To enable debugging on multithreaded applications, mark SIGTRAP to -- be kept unmasked. SIGBUS, SIGTTIN, SIGTTOU, SIGTSTP, -- Keep these three signals unmasked so that background processes -- and IO behaves as normal "C" applications SIGPROF, -- To avoid confusing the profiler SIGKILL, SIGSTOP); -- These two signals actually cannot be masked; -- POSIX simply won't allow it. Reserved : constant Signal_Set := -- I am not sure why the following signal is reserved. -- I guess they are not supported by this version of GNU/Hurd. (0 .. 0 => SIGVTALRM); type sigset_t is private; -- From /usr/include/signal.h /usr/include/i386-gnu/bits/sigset.h function sigaddset (set : access sigset_t; sig : Signal) return int; pragma Import (C, sigaddset, "sigaddset"); function sigdelset (set : access sigset_t; sig : Signal) return int; pragma Import (C, sigdelset, "sigdelset"); function sigfillset (set : access sigset_t) return int; pragma Import (C, sigfillset, "sigfillset"); function sigismember (set : access sigset_t; sig : Signal) return int; pragma Import (C, sigismember, "sigismember"); function sigemptyset (set : access sigset_t) return int; pragma Import (C, sigemptyset, "sigemptyset"); -- sigcontext is architecture dependent, so define it private type struct_sigcontext is private; -- From /usr/include/i386-gnu/bits/sigaction.h: Note: arg. order differs type struct_sigaction is record sa_handler : System.Address; sa_mask : sigset_t; sa_flags : int; end record; pragma Convention (C, struct_sigaction); type struct_sigaction_ptr is access all struct_sigaction; -- From /usr/include/i386-gnu/bits/sigaction.h SIG_BLOCK : constant := 1; SIG_UNBLOCK : constant := 2; SIG_SETMASK : constant := 3; -- From /usr/include/i386-gnu/bits/signum.h SIG_ERR : constant := 1; SIG_DFL : constant := 0; SIG_IGN : constant := 1; SIG_HOLD : constant := 2; -- From /usr/include/i386-gnu/bits/sigaction.h SA_SIGINFO : constant := 16#0040#; SA_ONSTACK : constant := 16#0001#; function sigaction (sig : Signal; act : struct_sigaction_ptr; oact : struct_sigaction_ptr) return int; pragma Import (C, sigaction, "sigaction"); ---------- -- Time -- ---------- Time_Slice_Supported : constant Boolean := True; -- Indicates whether time slicing is supported (i.e SCHED_RR is supported) type timespec is private; function nanosleep (rqtp, rmtp : access timespec) return int; pragma Import (C, nanosleep, "nanosleep"); type clockid_t is new int; CLOCK_REALTIME : constant clockid_t := 0; -- From: /usr/include/time.h function clock_gettime (clock_id : clockid_t; tp : access timespec) return int; pragma Import (C, clock_gettime, "clock_gettime"); function clock_getres (clock_id : clockid_t; res : access timespec) return int; pragma Import (C, clock_getres, "clock_getres"); function To_Duration (TS : timespec) return Duration; pragma Inline (To_Duration); function To_Timespec (D : Duration) return timespec; pragma Inline (To_Timespec); -- From: /usr/include/unistd.h function sysconf (name : int) return long; pragma Import (C, sysconf); -- From /usr/include/i386-gnu/bits/confname.h SC_CLK_TCK : constant := 2; SC_NPROCESSORS_ONLN : constant := 84; ------------------------- -- Priority Scheduling -- ------------------------- -- From /usr/include/i386-gnu/bits/sched.h SCHED_OTHER : constant := 0; SCHED_FIFO : constant := 1; SCHED_RR : constant := 2; function To_Target_Priority (Prio : System.Any_Priority) return Interfaces.C.int; -- Maps System.Any_Priority to a POSIX priority. ------------- -- Process -- ------------- type pid_t is private; -- From: /usr/include/signal.h function kill (pid : pid_t; sig : Signal) return int; pragma Import (C, kill, "kill"); -- From: /usr/include/unistd.h function getpid return pid_t; pragma Import (C, getpid, "getpid"); --------- -- LWP -- --------- -- From: /usr/include/pthread/pthread.h function lwp_self return System.Address; -- lwp_self does not exist on this thread library, revert to pthread_self -- which is the closest approximation (with getpid). This function is -- needed to share 7staprop.adb across POSIX-like targets. pragma Import (C, lwp_self, "pthread_self"); ------------- -- Threads -- ------------- type Thread_Body is access function (arg : System.Address) return System.Address; pragma Convention (C, Thread_Body); function Thread_Body_Access is new Unchecked_Conversion (System.Address, Thread_Body); -- From: /usr/include/bits/pthread.h:typedef int __pthread_t; -- /usr/include/pthread/pthreadtypes.h:typedef __pthread_t pthread_t; type pthread_t is new unsigned_long; subtype Thread_Id is pthread_t; function To_pthread_t is new Unchecked_Conversion (unsigned_long, pthread_t); type pthread_mutex_t is limited private; type pthread_rwlock_t is limited private; type pthread_cond_t is limited private; type pthread_attr_t is limited private; type pthread_mutexattr_t is limited private; type pthread_rwlockattr_t is limited private; type pthread_condattr_t is limited private; type pthread_key_t is private; -- From /usr/include/pthread/pthreadtypes.h PTHREAD_CREATE_DETACHED : constant := 1; PTHREAD_CREATE_JOINABLE : constant := 0; PTHREAD_SCOPE_PROCESS : constant := 1; PTHREAD_SCOPE_SYSTEM : constant := 0; ----------- -- Stack -- ----------- -- From: /usr/include/i386-gnu/bits/sigstack.h type stack_t is record ss_sp : System.Address; ss_size : size_t; ss_flags : int; end record; pragma Convention (C, stack_t); function sigaltstack (ss : not null access stack_t; oss : access stack_t) return int; pragma Import (C, sigaltstack, "sigaltstack"); Alternate_Stack : aliased System.Address; -- This is a dummy definition, never used (Alternate_Stack_Size is null) Alternate_Stack_Size : constant := 0; -- No alternate signal stack is used on this platform Stack_Base_Available : constant Boolean := False; -- Indicates whether the stack base is available on this target function Get_Stack_Base (thread : pthread_t) return Address; pragma Inline (Get_Stack_Base); -- returns the stack base of the specified thread. Only call this function -- when Stack_Base_Available is True. -- From: /usr/include/i386-gnu/bits/shm.h function Get_Page_Size return int; pragma Import (C, Get_Page_Size, "getpagesize"); -- Returns the size of a page -- From /usr/include/i386-gnu/bits/mman.h PROT_NONE : constant := 0; PROT_READ : constant := 4; PROT_WRITE : constant := 2; PROT_EXEC : constant := 1; PROT_ALL : constant := PROT_READ + PROT_WRITE + PROT_EXEC; PROT_ON : constant := PROT_NONE; PROT_OFF : constant := PROT_ALL; -- From /usr/include/i386-gnu/bits/mman.h function mprotect (addr : Address; len : size_t; prot : int) return int; pragma Import (C, mprotect); --------------------------------------- -- Nonstandard Thread Initialization -- --------------------------------------- procedure pthread_init; pragma Inline (pthread_init); -- This is a dummy procedure to share some GNULLI files ------------------------- -- POSIX.1c Section 3 -- ------------------------- -- From: /usr/include/signal.h: -- sigwait (__const sigset_t *__restrict __set, int *__restrict __sig) function sigwait (set : access sigset_t; sig : access Signal) return int; pragma Import (C, sigwait, "sigwait"); -- From: /usr/include/pthread/pthread.h: -- extern int pthread_kill (pthread_t thread, int signo); function pthread_kill (thread : pthread_t; sig : Signal) return int; pragma Import (C, pthread_kill, "pthread_kill"); -- From: /usr/include/i386-gnu/bits/sigthread.h -- extern int pthread_sigmask (int __how, __const __sigset_t *__newmask, -- __sigset_t *__oldmask) __THROW; function pthread_sigmask (how : int; set : access sigset_t; oset : access sigset_t) return int; pragma Import (C, pthread_sigmask, "pthread_sigmask"); -------------------------- -- POSIX.1c Section 11 -- -------------------------- -- From: /usr/include/pthread/pthread.h and -- /usr/include/pthread/pthreadtypes.h function pthread_mutexattr_init (attr : access pthread_mutexattr_t) return int; pragma Import (C, pthread_mutexattr_init, "pthread_mutexattr_init"); function pthread_mutexattr_destroy (attr : access pthread_mutexattr_t) return int; pragma Import (C, pthread_mutexattr_destroy, "pthread_mutexattr_destroy"); function pthread_mutex_init (mutex : access pthread_mutex_t; attr : access pthread_mutexattr_t) return int; pragma Import (C, pthread_mutex_init, "pthread_mutex_init"); function pthread_mutex_destroy (mutex : access pthread_mutex_t) return int; pragma Import (C, pthread_mutex_destroy, "pthread_mutex_destroy"); function pthread_mutex_lock (mutex : access pthread_mutex_t) return int; pragma Import (C, pthread_mutex_lock, "pthread_mutex_lock"); function pthread_mutex_unlock (mutex : access pthread_mutex_t) return int; pragma Import (C, pthread_mutex_unlock, "pthread_mutex_unlock"); function pthread_rwlockattr_init (attr : access pthread_rwlockattr_t) return int; pragma Import (C, pthread_rwlockattr_init, "pthread_rwlockattr_init"); function pthread_rwlockattr_destroy (attr : access pthread_rwlockattr_t) return int; pragma Import (C, pthread_rwlockattr_destroy, "pthread_rwlockattr_destroy"); PTHREAD_RWLOCK_PREFER_READER_NP : constant := 0; PTHREAD_RWLOCK_PREFER_WRITER_NP : constant := 1; PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP : constant := 2; function pthread_rwlockattr_setkind_np (attr : access pthread_rwlockattr_t; pref : int) return int; pragma Import (C, pthread_rwlockattr_setkind_np, "pthread_rwlockattr_setkind_np"); function pthread_rwlock_init (mutex : access pthread_rwlock_t; attr : access pthread_rwlockattr_t) return int; pragma Import (C, pthread_rwlock_init, "pthread_rwlock_init"); function pthread_rwlock_destroy (mutex : access pthread_rwlock_t) return int; pragma Import (C, pthread_rwlock_destroy, "pthread_rwlock_destroy"); function pthread_rwlock_rdlock (mutex : access pthread_rwlock_t) return int; pragma Import (C, pthread_rwlock_rdlock, "pthread_rwlock_rdlock"); function pthread_rwlock_wrlock (mutex : access pthread_rwlock_t) return int; pragma Import (C, pthread_rwlock_wrlock, "pthread_rwlock_wrlock"); function pthread_rwlock_unlock (mutex : access pthread_rwlock_t) return int; pragma Import (C, pthread_rwlock_unlock, "pthread_rwlock_unlock"); function pthread_condattr_init (attr : access pthread_condattr_t) return int; pragma Import (C, pthread_condattr_init, "pthread_condattr_init"); function pthread_condattr_destroy (attr : access pthread_condattr_t) return int; pragma Import (C, pthread_condattr_destroy, "pthread_condattr_destroy"); function pthread_cond_init (cond : access pthread_cond_t; attr : access pthread_condattr_t) return int; pragma Import (C, pthread_cond_init, "pthread_cond_init"); function pthread_cond_destroy (cond : access pthread_cond_t) return int; pragma Import (C, pthread_cond_destroy, "pthread_cond_destroy"); function pthread_cond_signal (cond : access pthread_cond_t) return int; pragma Import (C, pthread_cond_signal, "pthread_cond_signal"); function pthread_cond_wait (cond : access pthread_cond_t; mutex : access pthread_mutex_t) return int; pragma Import (C, pthread_cond_wait, "pthread_cond_wait"); function pthread_cond_timedwait (cond : access pthread_cond_t; mutex : access pthread_mutex_t; abstime : access timespec) return int; pragma Import (C, pthread_cond_timedwait, "pthread_cond_timedwait"); Relative_Timed_Wait : constant Boolean := False; -- pthread_cond_timedwait requires an absolute delay time -------------------------- -- POSIX.1c Section 13 -- -------------------------- -- From /usr/include/pthread/pthreadtypes.h PTHREAD_PRIO_NONE : constant := 0; PTHREAD_PRIO_PROTECT : constant := 2; PTHREAD_PRIO_INHERIT : constant := 1; -- GNU/Hurd does not support Thread Priority Protection or Thread -- Priority Inheritance and lacks some pthread_mutexattr_* functions. -- Replace them with dummy versions. -- From: /usr/include/pthread/pthread.h function pthread_mutexattr_setprotocol (attr : access pthread_mutexattr_t; protocol : int) return int; pragma Import (C, pthread_mutexattr_setprotocol, "pthread_mutexattr_setprotocol"); function pthread_mutexattr_getprotocol (attr : access pthread_mutexattr_t; protocol : access int) return int; pragma Import (C, pthread_mutexattr_getprotocol, "pthread_mutexattr_getprotocol"); function pthread_mutexattr_setprioceiling (attr : access pthread_mutexattr_t; prioceiling : int) return int; function pthread_mutexattr_getprioceiling (attr : access pthread_mutexattr_t; prioceiling : access int) return int; type struct_sched_param is record sched_priority : int; -- scheduling priority end record; pragma Convention (C, struct_sched_param); function pthread_setschedparam (thread : pthread_t; policy : int; param : access struct_sched_param) return int; function pthread_attr_setscope (attr : access pthread_attr_t; contentionscope : int) return int; pragma Import (C, pthread_attr_setscope, "pthread_attr_setscope"); function pthread_attr_getscope (attr : access pthread_attr_t; contentionscope : access int) return int; pragma Import (C, pthread_attr_getscope, "pthread_attr_getscope"); function pthread_attr_setinheritsched (attr : access pthread_attr_t; inheritsched : int) return int; pragma Import (C, pthread_attr_setinheritsched, "pthread_attr_setinheritsched"); function pthread_attr_getinheritsched (attr : access pthread_attr_t; inheritsched : access int) return int; pragma Import (C, pthread_attr_getinheritsched, "pthread_attr_getinheritsched"); function pthread_attr_setschedpolicy (attr : access pthread_attr_t; policy : int) return int; pragma Import (C, pthread_attr_setschedpolicy, "pthread_setschedpolicy"); function sched_yield return int; pragma Import (C, sched_yield, "sched_yield"); --------------------------- -- P1003.1c - Section 16 -- --------------------------- function pthread_attr_init (attributes : access pthread_attr_t) return int; pragma Import (C, pthread_attr_init, "pthread_attr_init"); function pthread_attr_destroy (attributes : access pthread_attr_t) return int; pragma Import (C, pthread_attr_destroy, "pthread_attr_destroy"); function pthread_attr_setdetachstate (attr : access pthread_attr_t; detachstate : int) return int; pragma Import (C, pthread_attr_setdetachstate, "pthread_attr_setdetachstate"); function pthread_attr_setstacksize (attr : access pthread_attr_t; stacksize : size_t) return int; pragma Import (C, pthread_attr_setstacksize, "pthread_attr_setstacksize"); -- From: /usr/include/pthread/pthread.h function pthread_create (thread : access pthread_t; attributes : access pthread_attr_t; start_routine : Thread_Body; arg : System.Address) return int; pragma Import (C, pthread_create, "pthread_create"); procedure pthread_exit (status : System.Address); pragma Import (C, pthread_exit, "pthread_exit"); function pthread_self return pthread_t; pragma Import (C, pthread_self, "pthread_self"); -------------------------- -- POSIX.1c Section 17 -- -------------------------- function pthread_setspecific (key : pthread_key_t; value : System.Address) return int; pragma Import (C, pthread_setspecific, "pthread_setspecific"); function pthread_getspecific (key : pthread_key_t) return System.Address; pragma Import (C, pthread_getspecific, "pthread_getspecific"); type destructor_pointer is access procedure (arg : System.Address); pragma Convention (C, destructor_pointer); function pthread_key_create (key : access pthread_key_t; destructor : destructor_pointer) return int; pragma Import (C, pthread_key_create, "pthread_key_create"); -- From /usr/include/i386-gnu/bits/sched.h CPU_SETSIZE : constant := 1_024; type bit_field is array (1 .. CPU_SETSIZE) of Boolean; for bit_field'Size use CPU_SETSIZE; pragma Pack (bit_field); pragma Convention (C, bit_field); type cpu_set_t is record bits : bit_field; end record; pragma Convention (C, cpu_set_t); private type sigset_t is array (1 .. 4) of unsigned; -- In GNU/Hurd the component sa_handler turns out to -- be one a union type, and the selector is a macro: -- #define sa_handler __sigaction_handler.sa_handler -- #define sa_sigaction __sigaction_handler.sa_sigaction -- Should we add a signal_context type here ? -- How could it be done independent of the CPU architecture ? -- sigcontext type is opaque, so it is architecturally neutral. -- It is always passed as an access type, so define it as an empty record -- since the contents are not used anywhere. type struct_sigcontext is null record; pragma Convention (C, struct_sigcontext); type pid_t is new int; type time_t is new long; type timespec is record tv_sec : time_t; tv_nsec : long; end record; pragma Convention (C, timespec); -- From: /usr/include/pthread/pthreadtypes.h: -- typedef struct __pthread_attr pthread_attr_t; -- /usr/include/i386-gnu/bits/thread-attr.h: struct __pthread_attr... -- /usr/include/pthread/pthreadtypes.h: enum __pthread_contentionscope -- enum __pthread_detachstate detachstate; -- enum __pthread_inheritsched inheritsched; -- enum __pthread_contentionscope contentionscope; -- Not used: schedpolicy : int; type pthread_attr_t is record schedparam : struct_sched_param; stackaddr : System.Address; stacksize : size_t; guardsize : size_t; detachstate : int; inheritsched : int; contentionscope : int; schedpolicy : int; end record; pragma Convention (C, pthread_attr_t); -- From: /usr/include/pthread/pthreadtypes.h: -- typedef struct __pthread_condattr pthread_condattr_t; -- From: /usr/include/i386-gnu/bits/condition-attr.h: -- struct __pthread_condattr { -- enum __pthread_process_shared pshared; -- __Clockid_T Clock;} -- From: /usr/include/pthread/pthreadtypes.h: -- enum __pthread_process_shared type pthread_condattr_t is record pshared : int; clock : clockid_t; end record; pragma Convention (C, pthread_condattr_t); -- From: /usr/include/pthread/pthreadtypes.h: -- typedef struct __pthread_mutexattr pthread_mutexattr_t; and -- /usr/include/i386-gnu/bits/mutex-attr.h -- struct __pthread_mutexattr { -- int prioceiling; -- enum __pthread_mutex_protocol protocol; -- enum __pthread_process_shared pshared; -- enum __pthread_mutex_type mutex_type;}; type pthread_mutexattr_t is record prioceiling : int; protocol : int; pshared : int; mutex_type : int; end record; pragma Convention (C, pthread_mutexattr_t); -- From: /usr/include/pthread/pthreadtypes.h -- typedef struct __pthread_mutex pthread_mutex_t; and -- /usr/include/i386-gnu/bits/mutex.h: -- struct __pthread_mutex { -- __pthread_spinlock_t __held; -- __pthread_spinlock_t __lock; -- /* in cthreads, mutex_init does not initialized the third -- pointer, as such, we cannot rely on its value for anything. */ -- char *cthreadscompat1; -- struct __pthread *__queue; -- struct __pthread_mutexattr *attr; -- void *data; -- /* up to this point, we are completely compatible with cthreads -- and what libc expects. */ -- void *owner; -- unsigned locks; -- /* if null then the default attributes apply. */ -- }; type pthread_mutex_t is record held : int; lock : int; cthreadcompat : System.Address; queue : System.Address; attr : System.Address; data : System.Address; owner : System.Address; locks : unsigned; end record; pragma Convention (C, pthread_mutex_t); -- pointer needed? -- type pthread_mutex_t_ptr is access pthread_mutex_t; -- From: /usr/include/pthread/pthreadtypes.h: -- typedef struct __pthread_cond pthread_cond_t; -- typedef struct __pthread_condattr pthread_condattr_t; -- /usr/include/i386-gnu/bits/condition.h:struct __pthread_cond{} -- pthread_condattr_t: see above! -- /usr/include/i386-gnu/bits/condition.h: -- struct __pthread_condimpl *__impl; type pthread_cond_t is record lock : int; queue : System.Address; condattr : System.Address; impl : System.Address; data : System.Address; end record; pragma Convention (C, pthread_cond_t); -- From: /usr/include/pthread/pthreadtypes.h: -- typedef __pthread_key pthread_key_t; and -- /usr/include/i386-gnu/bits/thread-specific.h: -- typedef int __pthread_key; type pthread_key_t is new int; -- From: /usr/include/i386-gnu/bits/rwlock-attr.h: -- struct __pthread_rwlockattr { -- enum __pthread_process_shared pshared; }; type pthread_rwlockattr_t is record pshared : int; end record; pragma Convention (C, pthread_rwlockattr_t); -- From: /usr/include/i386-gnu/bits/rwlock.h: -- struct __pthread_rwlock { -- __pthread_spinlock_t __held; -- __pthread_spinlock_t __lock; -- int readers; -- struct __pthread *readerqueue; -- struct __pthread *writerqueue; -- struct __pthread_rwlockattr *__attr; -- void *__data; }; type pthread_rwlock_t is record held : int; lock : int; readers : int; readerqueue : System.Address; writerqueue : System.Address; attr : pthread_rwlockattr_t; data : int; end record; pragma Convention (C, pthread_rwlock_t); end System.OS_Interface;
37.117353
79
0.648044
18df2c28c4f5071e93773fa2dde69ddfa8e87ba2
2,347
ads
Ada
src/lithium-dispatchers.ads
faelys/lithium3
f167143e2e4d8a968c6608cffe179eb2b05d4c2c
[ "ISC" ]
1
2020-09-10T10:14:35.000Z
2020-09-10T10:14:35.000Z
src/lithium-dispatchers.ads
faelys/lithium3
f167143e2e4d8a968c6608cffe179eb2b05d4c2c
[ "ISC" ]
null
null
null
src/lithium-dispatchers.ads
faelys/lithium3
f167143e2e4d8a968c6608cffe179eb2b05d4c2c
[ "ISC" ]
1
2020-01-06T14:16:55.000Z
2020-01-06T14:16:55.000Z
------------------------------------------------------------------------------ -- Copyright (c) 2015-2017, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Lithium.Dispatchers provides an AWS dispatcher type. -- ------------------------------------------------------------------------------ with AWS.Dispatchers; with AWS.Response; with AWS.Status; with Natools.References; with Natools.Storage_Pools; with Natools.Web.Sites.Holders; package Lithium.Dispatchers is package Holder_Refs is new Natools.References (Natools.Web.Sites.Holders.Holder, Natools.Storage_Pools.Access_In_Default_Pool'Storage_Pool, Natools.Storage_Pools.Access_In_Default_Pool'Storage_Pool); type Handler is new AWS.Dispatchers.Handler with private; overriding function Clone (Object : Handler) return Handler; overriding function Dispatch (Dispatcher : Handler; Request : AWS.Status.Data) return AWS.Response.Data; not overriding function Create (File_Name : String) return Handler; not overriding procedure Purge (Object : in Handler); private type Handler is new AWS.Dispatchers.Handler with record Ref : Holder_Refs.Reference; end record; end Lithium.Dispatchers;
42.672727
78
0.573498
2393050794b429fc1ce3c1dacdd393aad9e51be2
4,508
ads
Ada
tools/druss-commands.ads
stcarrez/bbox-ada-api
53292f82b11806a5415e202da4a023a726b8fe55
[ "Apache-2.0" ]
2
2017-04-03T21:21:12.000Z
2017-05-25T13:05:08.000Z
tools/druss-commands.ads
stcarrez/bbox-ada-api
53292f82b11806a5415e202da4a023a726b8fe55
[ "Apache-2.0" ]
2
2017-04-07T09:30:14.000Z
2019-05-23T17:45:35.000Z
tools/druss-commands.ads
stcarrez/bbox-ada-api
53292f82b11806a5415e202da4a023a726b8fe55
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- druss-commands -- Commands available for Druss -- Copyright (C) 2017, 2018 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Commands.Drivers; with Util.Commands.Parsers; with Util.Commands.Consoles; with Util.Commands.Consoles.Text; with Druss.Gateways; package Druss.Commands is -- Exception raised to stop the interactive loop. Stop_Interactive : exception; -- Device selector to select all, active or inactive devices. type Device_Selector_Type is (DEVICE_ALL, DEVICE_ACTIVE, DEVICE_INACTIVE); -- The list of fields that are printed on the console. type Field_Type is (F_IP_ADDR, F_BBOX_IP_ADDR, F_WAN_IP, F_ETHERNET, F_INTERNET, F_VOIP, F_HOSTNAME, F_CONNECTION, F_DEVTYPE, F_ACTIVE, F_LINK, F_WIFI, F_WIFI5, F_ACCESS_CONTROL, F_DYNDNS, F_DEVICES, F_UPTIME, F_COUNT, F_BOOL, F_CHANNEL, F_PROTOCOL, F_ENCRYPTION, F_SSID); -- The type of notice that are reported. type Notice_Type is (N_HELP, N_USAGE, N_INFO); -- Make the generic abstract console interface. package Consoles is new Util.Commands.Consoles (Field_Type => Field_Type, Notice_Type => Notice_Type); -- And the text console to write on stdout (a Gtk console could be done someday). package Text_Consoles is new Consoles.Text; type Context_Type is limited record Gateways : Druss.Gateways.Gateway_Vector; Console : Consoles.Console_Access; end record; package Drivers is new Util.Commands.Drivers (Context_Type => Context_Type, Config_Parser => Util.Commands.Parsers.No_Parser, Driver_Name => "druss-drivers"); subtype Argument_List is Util.Commands.Argument_List; Driver : Drivers.Driver_Type; procedure Gateway_Command (Command : in Drivers.Command_Type'Class; Args : in Util.Commands.Argument_List'Class; Arg_Pos : in Positive; Process : access procedure (Gateway : in out Gateways.Gateway_Type; Param : in String); Context : in out Context_Type); procedure Initialize; -- Enter in the interactive main loop waiting for user commands and executing them. procedure Interactive (Context : in out Context_Type); -- Print the bbox API status. procedure Print_Status (Console : in Consoles.Console_Access; Field : in Field_Type; Value : in String); -- Print a ON/OFF status. procedure Print_On_Off (Console : in Consoles.Console_Access; Field : in Field_Type; Value : in String); -- Print a uptime. procedure Print_Uptime (Console : in Consoles.Console_Access; Field : in Field_Type; Value : in String); -- Print a performance measure in us or ms. procedure Print_Perf (Console : in Consoles.Console_Access; Field : in Field_Type; Value : in String); end Druss.Commands;
38.20339
99
0.542813
dc2352327aa1299d05e37cd8d819da8aee724b45
1,048
ads
Ada
src/lambda_repl.ads
ebolar/Unbounded
6c19b6bbb1cb2b5eac7add0a324aaa4876d7b806
[ "MIT" ]
null
null
null
src/lambda_repl.ads
ebolar/Unbounded
6c19b6bbb1cb2b5eac7add0a324aaa4876d7b806
[ "MIT" ]
null
null
null
src/lambda_repl.ads
ebolar/Unbounded
6c19b6bbb1cb2b5eac7add0a324aaa4876d7b806
[ "MIT" ]
null
null
null
-- Lambda Calculus interpreter -- --------------------------- -- Parses and reduces Lamdba Calculus statements. -- -- Use a simple recursive parser for the simplest computer language. -- It would be nice to build an ADT for Instructions and hide the Multiway tree implementation. -- -- Source: -- lambda - definitions and helper functions -- lambda_REPL - [This file] REPL and command line parsers -- lambda_parser - parse tree generator -- lambda_reducer - optimises and reduces lambda expressions -- with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Containers; use Ada.Containers; with Ada.Containers.Multiway_Trees; with Ada.Strings.Unbounded; with Lambda; use Lambda; with lambda_parser; use lambda_parser; with lambda_reducer; use lambda_reducer; Package Lambda_REPL is -- Processing functions procedure REPL; procedure Evaluate ( S : in Statement ); -- REPL command parser function parse_Commands( S: Statement ) return Boolean; private function Get_Statement return Statement; end Lambda_REPL;
27.578947
95
0.737595
20863a5adadaddef3080740dc8579db8e9b6291a
3,632
ads
Ada
source/amf/uml/amf-uml-profile_applications-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-uml-profile_applications-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-uml-profile_applications-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements.Generic_Hash; function AMF.UML.Profile_Applications.Hash is new AMF.Elements.Generic_Hash (UML_Profile_Application, UML_Profile_Application_Access);
72.64
90
0.405837
209f59b2089c8db3646ac0b6a1736bd14b32e041
832
adb
Ada
build_gnu/binutils/gdb/testsuite/gdb.ada/win_fu_syms/pck.adb
jed-frey/e200-gcc
df1421b421a8ec8729d70791129f5283dee5f9ea
[ "BSD-3-Clause" ]
1
2017-05-31T21:42:12.000Z
2017-05-31T21:42:12.000Z
build_gnu/binutils/gdb/testsuite/gdb.ada/win_fu_syms/pck.adb
jed-frey/e200-gcc
df1421b421a8ec8729d70791129f5283dee5f9ea
[ "BSD-3-Clause" ]
null
null
null
build_gnu/binutils/gdb/testsuite/gdb.ada/win_fu_syms/pck.adb
jed-frey/e200-gcc
df1421b421a8ec8729d70791129f5283dee5f9ea
[ "BSD-3-Clause" ]
1
2019-12-17T22:04:07.000Z
2019-12-17T22:04:07.000Z
-- Copyright 2007-2014 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pck is procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Pck;
37.818182
73
0.729567
1016a65e4d17f5b0d792e681f61a169a5c842464
15,517
ads
Ada
stm32l0/stm32l0x1/svd/stm32_svd-i2c.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
1
2021-04-06T07:57:56.000Z
2021-04-06T07:57:56.000Z
stm32l0/stm32l0x1/svd/stm32_svd-i2c.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
null
null
null
stm32l0/stm32l0x1/svd/stm32_svd-i2c.ads
ekoeppen/STM32_Generic_Ada_Drivers
4ff29c3026c4b24280baf22a5b81ea9969375466
[ "MIT" ]
2
2018-05-29T13:59:31.000Z
2019-02-03T19:48:08.000Z
-- This spec has been automatically generated from STM32L0x1.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.I2C is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control register 1 type CR1_Register is record -- Peripheral enable PE : STM32_SVD.Bit; -- TX Interrupt enable TXIE : STM32_SVD.Bit; -- RX Interrupt enable RXIE : STM32_SVD.Bit; -- Address match interrupt enable (slave only) ADDRIE : STM32_SVD.Bit; -- Not acknowledge received interrupt enable NACKIE : STM32_SVD.Bit; -- STOP detection Interrupt enable STOPIE : STM32_SVD.Bit; -- Transfer Complete interrupt enable TCIE : STM32_SVD.Bit; -- Error interrupts enable ERRIE : STM32_SVD.Bit; -- Digital noise filter DNF : STM32_SVD.UInt4; -- Analog noise filter OFF ANFOFF : STM32_SVD.Bit; -- unspecified Reserved_13_13 : STM32_SVD.Bit; -- DMA transmission requests enable TXDMAEN : STM32_SVD.Bit; -- DMA reception requests enable RXDMAEN : STM32_SVD.Bit; -- Slave byte control SBC : STM32_SVD.Bit; -- Clock stretching disable NOSTRETCH : STM32_SVD.Bit; -- Wakeup from STOP enable WUPEN : STM32_SVD.Bit; -- General call enable GCEN : STM32_SVD.Bit; -- SMBus Host address enable SMBHEN : STM32_SVD.Bit; -- SMBus Device Default address enable SMBDEN : STM32_SVD.Bit; -- SMBUS alert enable ALERTEN : STM32_SVD.Bit; -- PEC enable PECEN : STM32_SVD.Bit; -- unspecified Reserved_24_31 : STM32_SVD.Byte; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record PE at 0 range 0 .. 0; TXIE at 0 range 1 .. 1; RXIE at 0 range 2 .. 2; ADDRIE at 0 range 3 .. 3; NACKIE at 0 range 4 .. 4; STOPIE at 0 range 5 .. 5; TCIE at 0 range 6 .. 6; ERRIE at 0 range 7 .. 7; DNF at 0 range 8 .. 11; ANFOFF at 0 range 12 .. 12; Reserved_13_13 at 0 range 13 .. 13; TXDMAEN at 0 range 14 .. 14; RXDMAEN at 0 range 15 .. 15; SBC at 0 range 16 .. 16; NOSTRETCH at 0 range 17 .. 17; WUPEN at 0 range 18 .. 18; GCEN at 0 range 19 .. 19; SMBHEN at 0 range 20 .. 20; SMBDEN at 0 range 21 .. 21; ALERTEN at 0 range 22 .. 22; PECEN at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Control register 2 type CR2_Register is record -- Slave address bit (master mode) SADD : STM32_SVD.UInt10; -- Transfer direction (master mode) RD_WRN : STM32_SVD.Bit; -- 10-bit addressing mode (master mode) ADD10 : STM32_SVD.Bit; -- 10-bit address header only read direction (master receiver mode) HEAD10R : STM32_SVD.Bit; -- Start generation START : STM32_SVD.Bit; -- Stop generation (master mode) STOP : STM32_SVD.Bit; -- NACK generation (slave mode) NACK : STM32_SVD.Bit; -- Number of bytes NBYTES : STM32_SVD.Byte; -- NBYTES reload mode RELOAD : STM32_SVD.Bit; -- Automatic end mode (master mode) AUTOEND : STM32_SVD.Bit; -- Packet error checking byte PECBYTE : STM32_SVD.Bit; -- unspecified Reserved_27_31 : STM32_SVD.UInt5; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record SADD at 0 range 0 .. 9; RD_WRN at 0 range 10 .. 10; ADD10 at 0 range 11 .. 11; HEAD10R at 0 range 12 .. 12; START at 0 range 13 .. 13; STOP at 0 range 14 .. 14; NACK at 0 range 15 .. 15; NBYTES at 0 range 16 .. 23; RELOAD at 0 range 24 .. 24; AUTOEND at 0 range 25 .. 25; PECBYTE at 0 range 26 .. 26; Reserved_27_31 at 0 range 27 .. 31; end record; -- Own address register 1 type OAR1_Register is record -- Interface address OA1 : STM32_SVD.UInt10; -- Own Address 1 10-bit mode OA1MODE : STM32_SVD.Bit; -- unspecified Reserved_11_14 : STM32_SVD.UInt4; -- Own Address 1 enable OA1EN : STM32_SVD.Bit; -- unspecified Reserved_16_31 : STM32_SVD.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OAR1_Register use record OA1 at 0 range 0 .. 9; OA1MODE at 0 range 10 .. 10; Reserved_11_14 at 0 range 11 .. 14; OA1EN at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- Own address register 2 type OAR2_Register is record -- unspecified Reserved_0_0 : STM32_SVD.Bit; -- Interface address OA2 : STM32_SVD.UInt7; -- Own Address 2 masks OA2MSK : STM32_SVD.UInt3; -- unspecified Reserved_11_14 : STM32_SVD.UInt4; -- Own Address 2 enable OA2EN : STM32_SVD.Bit; -- unspecified Reserved_16_31 : STM32_SVD.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OAR2_Register use record Reserved_0_0 at 0 range 0 .. 0; OA2 at 0 range 1 .. 7; OA2MSK at 0 range 8 .. 10; Reserved_11_14 at 0 range 11 .. 14; OA2EN at 0 range 15 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -- Timing register type TIMINGR_Register is record -- SCL low period (master mode) SCLL : STM32_SVD.Byte; -- SCL high period (master mode) SCLH : STM32_SVD.Byte; -- Data hold time SDADEL : STM32_SVD.UInt4; -- Data setup time SCLDEL : STM32_SVD.UInt4; -- unspecified Reserved_24_27 : STM32_SVD.UInt4; -- Timing prescaler PRESC : STM32_SVD.UInt4; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMINGR_Register use record SCLL at 0 range 0 .. 7; SCLH at 0 range 8 .. 15; SDADEL at 0 range 16 .. 19; SCLDEL at 0 range 20 .. 23; Reserved_24_27 at 0 range 24 .. 27; PRESC at 0 range 28 .. 31; end record; -- Status register 1 type TIMEOUTR_Register is record -- Bus timeout A TIMEOUTA : STM32_SVD.UInt12; -- Idle clock timeout detection TIDLE : STM32_SVD.Bit; -- unspecified Reserved_13_14 : STM32_SVD.UInt2; -- Clock timeout enable TIMOUTEN : STM32_SVD.Bit; -- Bus timeout B TIMEOUTB : STM32_SVD.UInt12; -- unspecified Reserved_28_30 : STM32_SVD.UInt3; -- Extended clock timeout enable TEXTEN : STM32_SVD.Bit; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMEOUTR_Register use record TIMEOUTA at 0 range 0 .. 11; TIDLE at 0 range 12 .. 12; Reserved_13_14 at 0 range 13 .. 14; TIMOUTEN at 0 range 15 .. 15; TIMEOUTB at 0 range 16 .. 27; Reserved_28_30 at 0 range 28 .. 30; TEXTEN at 0 range 31 .. 31; end record; -- Interrupt and Status register type ISR_Register is record -- Transmit data register empty (transmitters) TXE : STM32_SVD.Bit; -- Transmit interrupt status (transmitters) TXIS : STM32_SVD.Bit; -- Read-only. Receive data register not empty (receivers) RXNE : STM32_SVD.Bit; -- Read-only. Address matched (slave mode) ADDR : STM32_SVD.Bit; -- Read-only. Not acknowledge received flag NACKF : STM32_SVD.Bit; -- Read-only. Stop detection flag STOPF : STM32_SVD.Bit; -- Read-only. Transfer Complete (master mode) TC : STM32_SVD.Bit; -- Read-only. Transfer Complete Reload TCR : STM32_SVD.Bit; -- Read-only. Bus error BERR : STM32_SVD.Bit; -- Read-only. Arbitration lost ARLO : STM32_SVD.Bit; -- Read-only. Overrun/Underrun (slave mode) OVR : STM32_SVD.Bit; -- Read-only. PEC Error in reception PECERR : STM32_SVD.Bit; -- Read-only. Timeout or t_low detection flag TIMEOUT : STM32_SVD.Bit; -- Read-only. SMBus alert ALERT : STM32_SVD.Bit; -- unspecified Reserved_14_14 : STM32_SVD.Bit; -- Read-only. Bus busy BUSY : STM32_SVD.Bit; -- Read-only. Transfer direction (Slave mode) DIR : STM32_SVD.Bit; -- Read-only. Address match code (Slave mode) ADDCODE : STM32_SVD.UInt7; -- unspecified Reserved_24_31 : STM32_SVD.Byte; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record TXE at 0 range 0 .. 0; TXIS at 0 range 1 .. 1; RXNE at 0 range 2 .. 2; ADDR at 0 range 3 .. 3; NACKF at 0 range 4 .. 4; STOPF at 0 range 5 .. 5; TC at 0 range 6 .. 6; TCR at 0 range 7 .. 7; BERR at 0 range 8 .. 8; ARLO at 0 range 9 .. 9; OVR at 0 range 10 .. 10; PECERR at 0 range 11 .. 11; TIMEOUT at 0 range 12 .. 12; ALERT at 0 range 13 .. 13; Reserved_14_14 at 0 range 14 .. 14; BUSY at 0 range 15 .. 15; DIR at 0 range 16 .. 16; ADDCODE at 0 range 17 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Interrupt clear register type ICR_Register is record -- unspecified Reserved_0_2 : STM32_SVD.UInt3; -- Write-only. Address Matched flag clear ADDRCF : STM32_SVD.Bit; -- Write-only. Not Acknowledge flag clear NACKCF : STM32_SVD.Bit; -- Write-only. Stop detection flag clear STOPCF : STM32_SVD.Bit; -- unspecified Reserved_6_7 : STM32_SVD.UInt2; -- Write-only. Bus error flag clear BERRCF : STM32_SVD.Bit; -- Write-only. Arbitration lost flag clear ARLOCF : STM32_SVD.Bit; -- Write-only. Overrun/Underrun flag clear OVRCF : STM32_SVD.Bit; -- Write-only. PEC Error flag clear PECCF : STM32_SVD.Bit; -- Write-only. Timeout detection flag clear TIMOUTCF : STM32_SVD.Bit; -- Write-only. Alert flag clear ALERTCF : STM32_SVD.Bit; -- unspecified Reserved_14_31 : STM32_SVD.UInt18; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ICR_Register use record Reserved_0_2 at 0 range 0 .. 2; ADDRCF at 0 range 3 .. 3; NACKCF at 0 range 4 .. 4; STOPCF at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; BERRCF at 0 range 8 .. 8; ARLOCF at 0 range 9 .. 9; OVRCF at 0 range 10 .. 10; PECCF at 0 range 11 .. 11; TIMOUTCF at 0 range 12 .. 12; ALERTCF at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- PEC register type PECR_Register is record -- Read-only. Packet error checking register PEC : STM32_SVD.Byte; -- unspecified Reserved_8_31 : STM32_SVD.UInt24; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PECR_Register use record PEC at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- Receive data register type RXDR_Register is record -- Read-only. 8-bit receive data RXDATA : STM32_SVD.Byte; -- unspecified Reserved_8_31 : STM32_SVD.UInt24; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RXDR_Register use record RXDATA at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; -- Transmit data register type TXDR_Register is record -- 8-bit transmit data TXDATA : STM32_SVD.Byte; -- unspecified Reserved_8_31 : STM32_SVD.UInt24; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TXDR_Register use record TXDATA at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Inter-integrated circuit type I2C_Peripheral is record -- Control register 1 CR1 : aliased CR1_Register; -- Control register 2 CR2 : aliased CR2_Register; -- Own address register 1 OAR1 : aliased OAR1_Register; -- Own address register 2 OAR2 : aliased OAR2_Register; -- Timing register TIMINGR : aliased TIMINGR_Register; -- Status register 1 TIMEOUTR : aliased TIMEOUTR_Register; -- Interrupt and Status register ISR : aliased ISR_Register; -- Interrupt clear register ICR : aliased ICR_Register; -- PEC register PECR : aliased PECR_Register; -- Receive data register RXDR : aliased RXDR_Register; -- Transmit data register TXDR : aliased TXDR_Register; end record with Volatile; for I2C_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; OAR1 at 16#8# range 0 .. 31; OAR2 at 16#C# range 0 .. 31; TIMINGR at 16#10# range 0 .. 31; TIMEOUTR at 16#14# range 0 .. 31; ISR at 16#18# range 0 .. 31; ICR at 16#1C# range 0 .. 31; PECR at 16#20# range 0 .. 31; RXDR at 16#24# range 0 .. 31; TXDR at 16#28# range 0 .. 31; end record; -- Inter-integrated circuit I2C1_Periph : aliased I2C_Peripheral with Import, Address => I2C1_Base; -- Inter-integrated circuit I2C2_Periph : aliased I2C_Peripheral with Import, Address => I2C2_Base; -- Inter-integrated circuit I2C3_Periph : aliased I2C_Peripheral with Import, Address => I2C3_Base; end STM32_SVD.I2C;
33.879913
74
0.550815
df79bff2ba72702f10e20d42fce79779ffb7189f
2,414
ads
Ada
source/tasking/required/s-interr.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/tasking/required/s-interr.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/tasking/required/s-interr.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); -- implementation unit required by compiler with Ada.Interrupts; with System.Interrupt_Handlers; with System.Tasking.Protected_Objects.Entries; package System.Interrupts is type Previous_Handler_Item is record Interrupt : Ada.Interrupts.Interrupt_Id; Handler : Ada.Interrupts.Parameterless_Handler; -- Static : Boolean; end record; pragma Suppress_Initialization (Previous_Handler_Item); type Previous_Handler_Array is array (Positive range <>) of Previous_Handler_Item; pragma Suppress_Initialization (Previous_Handler_Array); type New_Handler_Item is record Interrupt : Ada.Interrupts.Interrupt_Id; Handler : Ada.Interrupts.Parameterless_Handler; end record; pragma Suppress_Initialization (New_Handler_Item); type New_Handler_Array is array (Positive range <>) of New_Handler_Item; pragma Suppress_Initialization (New_Handler_Array); -- required by compiler subtype System_Interrupt_Id is Ada.Interrupts.Interrupt_Id; Default_Interrupt_Priority : constant Interrupt_Priority := Interrupt_Priority'Last; -- required to attach a protected handler by compiler type Static_Interrupt_Protection ( Num_Entries : Tasking.Protected_Objects.Protected_Entry_Index; Num_Attach_Handler : Natural) is limited new Tasking.Protected_Objects.Entries.Protection_Entries with private; procedure Register_Interrupt_Handler (Handler_Addr : Address) renames Interrupt_Handlers.Register_Interrupt_Handler; procedure Install_Handlers ( Object : not null access Static_Interrupt_Protection; New_Handlers : New_Handler_Array); type Dynamic_Interrupt_Protection is limited new Tasking.Protected_Objects.Entries.Protection_Entries with null record; -- unimplemented subprograms required by compiler -- Bind_Interrupt_To_Entry -- Install_Restricted_Handlers private type Static_Interrupt_Protection ( Num_Entries : Tasking.Protected_Objects.Protected_Entry_Index; Num_Attach_Handler : Natural) is limited new Tasking.Protected_Objects.Entries.Protection_Entries ( Num_Entries) with record Previous_Handlers : Previous_Handler_Array (1 .. Num_Attach_Handler); end record; overriding procedure Finalize ( Object : in out Static_Interrupt_Protection); end System.Interrupts;
33.068493
75
0.771334
23ca1039bd4c679db6600ab6a8a30da23544fa06
17,339
adb
Ada
tools/xml2ayacc/encoding/auto/encodings-maps-koi8_r.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
4
2016-02-05T15:51:56.000Z
2022-03-25T20:38:32.000Z
tools/xml2ayacc/encoding/auto/encodings-maps-koi8_r.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
tools/xml2ayacc/encoding/auto/encodings-maps-koi8_r.adb
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
-- Auto generated file. Don't edit -- Read copyright and license at the end of this file package body Encodings.Maps.KOI8_R is Forward : Forward_Map (Character'Val(16#80#) .. Character'Last) := (Wide_Character'Val(16#2500#), Wide_Character'Val(16#2502#), Wide_Character'Val(16#250C#), Wide_Character'Val(16#2510#), Wide_Character'Val(16#2514#), Wide_Character'Val(16#2518#), Wide_Character'Val(16#251C#), Wide_Character'Val(16#2524#), Wide_Character'Val(16#252C#), Wide_Character'Val(16#2534#), Wide_Character'Val(16#253C#), Wide_Character'Val(16#2580#), Wide_Character'Val(16#2584#), Wide_Character'Val(16#2588#), Wide_Character'Val(16#258C#), Wide_Character'Val(16#2590#), Wide_Character'Val(16#2591#), Wide_Character'Val(16#2592#), Wide_Character'Val(16#2593#), Wide_Character'Val(16#2320#), Wide_Character'Val(16#25A0#), Wide_Character'Val(16#2219#), Wide_Character'Val(16#221A#), Wide_Character'Val(16#2248#), Wide_Character'Val(16#2264#), Wide_Character'Val(16#2265#), Wide_Character'Val( 16#A0#), Wide_Character'Val(16#2321#), Wide_Character'Val( 16#B0#), Wide_Character'Val( 16#B2#), Wide_Character'Val( 16#B7#), Wide_Character'Val( 16#F7#), Wide_Character'Val(16#2550#), Wide_Character'Val(16#2551#), Wide_Character'Val(16#2552#), Wide_Character'Val( 16#451#), Wide_Character'Val(16#2553#), Wide_Character'Val(16#2554#), Wide_Character'Val(16#2555#), Wide_Character'Val(16#2556#), Wide_Character'Val(16#2557#), Wide_Character'Val(16#2558#), Wide_Character'Val(16#2559#), Wide_Character'Val(16#255A#), Wide_Character'Val(16#255B#), Wide_Character'Val(16#255C#), Wide_Character'Val(16#255D#), Wide_Character'Val(16#255E#), Wide_Character'Val(16#255F#), Wide_Character'Val(16#2560#), Wide_Character'Val(16#2561#), Wide_Character'Val( 16#401#), Wide_Character'Val(16#2562#), Wide_Character'Val(16#2563#), Wide_Character'Val(16#2564#), Wide_Character'Val(16#2565#), Wide_Character'Val(16#2566#), Wide_Character'Val(16#2567#), Wide_Character'Val(16#2568#), Wide_Character'Val(16#2569#), Wide_Character'Val(16#256A#), Wide_Character'Val(16#256B#), Wide_Character'Val(16#256C#), Wide_Character'Val( 16#A9#), Wide_Character'Val( 16#44E#), Wide_Character'Val( 16#430#), Wide_Character'Val( 16#431#), Wide_Character'Val( 16#446#), Wide_Character'Val( 16#434#), Wide_Character'Val( 16#435#), Wide_Character'Val( 16#444#), Wide_Character'Val( 16#433#), Wide_Character'Val( 16#445#), Wide_Character'Val( 16#438#), Wide_Character'Val( 16#439#), Wide_Character'Val( 16#43A#), Wide_Character'Val( 16#43B#), Wide_Character'Val( 16#43C#), Wide_Character'Val( 16#43D#), Wide_Character'Val( 16#43E#), Wide_Character'Val( 16#43F#), Wide_Character'Val( 16#44F#), Wide_Character'Val( 16#440#), Wide_Character'Val( 16#441#), Wide_Character'Val( 16#442#), Wide_Character'Val( 16#443#), Wide_Character'Val( 16#436#), Wide_Character'Val( 16#432#), Wide_Character'Val( 16#44C#), Wide_Character'Val( 16#44B#), Wide_Character'Val( 16#437#), Wide_Character'Val( 16#448#), Wide_Character'Val( 16#44D#), Wide_Character'Val( 16#449#), Wide_Character'Val( 16#447#), Wide_Character'Val( 16#44A#), Wide_Character'Val( 16#42E#), Wide_Character'Val( 16#410#), Wide_Character'Val( 16#411#), Wide_Character'Val( 16#426#), Wide_Character'Val( 16#414#), Wide_Character'Val( 16#415#), Wide_Character'Val( 16#424#), Wide_Character'Val( 16#413#), Wide_Character'Val( 16#425#), Wide_Character'Val( 16#418#), Wide_Character'Val( 16#419#), Wide_Character'Val( 16#41A#), Wide_Character'Val( 16#41B#), Wide_Character'Val( 16#41C#), Wide_Character'Val( 16#41D#), Wide_Character'Val( 16#41E#), Wide_Character'Val( 16#41F#), Wide_Character'Val( 16#42F#), Wide_Character'Val( 16#420#), Wide_Character'Val( 16#421#), Wide_Character'Val( 16#422#), Wide_Character'Val( 16#423#), Wide_Character'Val( 16#416#), Wide_Character'Val( 16#412#), Wide_Character'Val( 16#42C#), Wide_Character'Val( 16#42B#), Wide_Character'Val( 16#417#), Wide_Character'Val( 16#428#), Wide_Character'Val( 16#42D#), Wide_Character'Val( 16#429#), Wide_Character'Val( 16#427#), Wide_Character'Val( 16#42A#)); Ranges : Maps.Wide_Ranges (1 .. 32) := ((Wide_Character'Val( 16#0#),Wide_Character'Val( 16#7F#), 1), (Wide_Character'Val( 16#A0#),Wide_Character'Val( 16#A0#), 129), (Wide_Character'Val( 16#A9#),Wide_Character'Val( 16#A9#), 130), (Wide_Character'Val( 16#B0#),Wide_Character'Val( 16#B0#), 131), (Wide_Character'Val( 16#B2#),Wide_Character'Val( 16#B2#), 132), (Wide_Character'Val( 16#B7#),Wide_Character'Val( 16#B7#), 133), (Wide_Character'Val( 16#F7#),Wide_Character'Val( 16#F7#), 134), (Wide_Character'Val( 16#401#),Wide_Character'Val( 16#401#), 135), (Wide_Character'Val( 16#410#),Wide_Character'Val( 16#44F#), 136), (Wide_Character'Val( 16#451#),Wide_Character'Val( 16#451#), 200), (Wide_Character'Val(16#2219#),Wide_Character'Val(16#221A#), 201), (Wide_Character'Val(16#2248#),Wide_Character'Val(16#2248#), 203), (Wide_Character'Val(16#2264#),Wide_Character'Val(16#2265#), 204), (Wide_Character'Val(16#2320#),Wide_Character'Val(16#2321#), 206), (Wide_Character'Val(16#2500#),Wide_Character'Val(16#2500#), 208), (Wide_Character'Val(16#2502#),Wide_Character'Val(16#2502#), 209), (Wide_Character'Val(16#250C#),Wide_Character'Val(16#250C#), 210), (Wide_Character'Val(16#2510#),Wide_Character'Val(16#2510#), 211), (Wide_Character'Val(16#2514#),Wide_Character'Val(16#2514#), 212), (Wide_Character'Val(16#2518#),Wide_Character'Val(16#2518#), 213), (Wide_Character'Val(16#251C#),Wide_Character'Val(16#251C#), 214), (Wide_Character'Val(16#2524#),Wide_Character'Val(16#2524#), 215), (Wide_Character'Val(16#252C#),Wide_Character'Val(16#252C#), 216), (Wide_Character'Val(16#2534#),Wide_Character'Val(16#2534#), 217), (Wide_Character'Val(16#253C#),Wide_Character'Val(16#253C#), 218), (Wide_Character'Val(16#2550#),Wide_Character'Val(16#256C#), 219), (Wide_Character'Val(16#2580#),Wide_Character'Val(16#2580#), 248), (Wide_Character'Val(16#2584#),Wide_Character'Val(16#2584#), 249), (Wide_Character'Val(16#2588#),Wide_Character'Val(16#2588#), 250), (Wide_Character'Val(16#258C#),Wide_Character'Val(16#258C#), 251), (Wide_Character'Val(16#2590#),Wide_Character'Val(16#2593#), 252), (Wide_Character'Val(16#25A0#),Wide_Character'Val(16#25A0#), 256)); Backward : Maps.Backward_Map (1 .. 256) := (Character'Val( 16#0#), Character'Val( 16#1#), Character'Val( 16#2#), Character'Val( 16#3#), Character'Val( 16#4#), Character'Val( 16#5#), Character'Val( 16#6#), Character'Val( 16#7#), Character'Val( 16#8#), Character'Val( 16#9#), Character'Val( 16#A#), Character'Val( 16#B#), Character'Val( 16#C#), Character'Val( 16#D#), Character'Val( 16#E#), Character'Val( 16#F#), Character'Val(16#10#), Character'Val(16#11#), Character'Val(16#12#), Character'Val(16#13#), Character'Val(16#14#), Character'Val(16#15#), Character'Val(16#16#), Character'Val(16#17#), Character'Val(16#18#), Character'Val(16#19#), Character'Val(16#1A#), Character'Val(16#1B#), Character'Val(16#1C#), Character'Val(16#1D#), Character'Val(16#1E#), Character'Val(16#1F#), Character'Val(16#20#), Character'Val(16#21#), Character'Val(16#22#), Character'Val(16#23#), Character'Val(16#24#), Character'Val(16#25#), Character'Val(16#26#), Character'Val(16#27#), Character'Val(16#28#), Character'Val(16#29#), Character'Val(16#2A#), Character'Val(16#2B#), Character'Val(16#2C#), Character'Val(16#2D#), Character'Val(16#2E#), Character'Val(16#2F#), Character'Val(16#30#), Character'Val(16#31#), Character'Val(16#32#), Character'Val(16#33#), Character'Val(16#34#), Character'Val(16#35#), Character'Val(16#36#), Character'Val(16#37#), Character'Val(16#38#), Character'Val(16#39#), Character'Val(16#3A#), Character'Val(16#3B#), Character'Val(16#3C#), Character'Val(16#3D#), Character'Val(16#3E#), Character'Val(16#3F#), Character'Val(16#40#), Character'Val(16#41#), Character'Val(16#42#), Character'Val(16#43#), Character'Val(16#44#), Character'Val(16#45#), Character'Val(16#46#), Character'Val(16#47#), Character'Val(16#48#), Character'Val(16#49#), Character'Val(16#4A#), Character'Val(16#4B#), Character'Val(16#4C#), Character'Val(16#4D#), Character'Val(16#4E#), Character'Val(16#4F#), Character'Val(16#50#), Character'Val(16#51#), Character'Val(16#52#), Character'Val(16#53#), Character'Val(16#54#), Character'Val(16#55#), Character'Val(16#56#), Character'Val(16#57#), Character'Val(16#58#), Character'Val(16#59#), Character'Val(16#5A#), Character'Val(16#5B#), Character'Val(16#5C#), Character'Val(16#5D#), Character'Val(16#5E#), Character'Val(16#5F#), Character'Val(16#60#), Character'Val(16#61#), Character'Val(16#62#), Character'Val(16#63#), Character'Val(16#64#), Character'Val(16#65#), Character'Val(16#66#), Character'Val(16#67#), Character'Val(16#68#), Character'Val(16#69#), Character'Val(16#6A#), Character'Val(16#6B#), Character'Val(16#6C#), Character'Val(16#6D#), Character'Val(16#6E#), Character'Val(16#6F#), Character'Val(16#70#), Character'Val(16#71#), Character'Val(16#72#), Character'Val(16#73#), Character'Val(16#74#), Character'Val(16#75#), Character'Val(16#76#), Character'Val(16#77#), Character'Val(16#78#), Character'Val(16#79#), Character'Val(16#7A#), Character'Val(16#7B#), Character'Val(16#7C#), Character'Val(16#7D#), Character'Val(16#7E#), Character'Val(16#7F#), Character'Val(16#9A#), Character'Val(16#BF#), Character'Val(16#9C#), Character'Val(16#9D#), Character'Val(16#9E#), Character'Val(16#9F#), Character'Val(16#B3#), Character'Val(16#E1#), Character'Val(16#E2#), Character'Val(16#F7#), Character'Val(16#E7#), Character'Val(16#E4#), Character'Val(16#E5#), Character'Val(16#F6#), Character'Val(16#FA#), Character'Val(16#E9#), Character'Val(16#EA#), Character'Val(16#EB#), Character'Val(16#EC#), Character'Val(16#ED#), Character'Val(16#EE#), Character'Val(16#EF#), Character'Val(16#F0#), Character'Val(16#F2#), Character'Val(16#F3#), Character'Val(16#F4#), Character'Val(16#F5#), Character'Val(16#E6#), Character'Val(16#E8#), Character'Val(16#E3#), Character'Val(16#FE#), Character'Val(16#FB#), Character'Val(16#FD#), Character'Val(16#FF#), Character'Val(16#F9#), Character'Val(16#F8#), Character'Val(16#FC#), Character'Val(16#E0#), Character'Val(16#F1#), Character'Val(16#C1#), Character'Val(16#C2#), Character'Val(16#D7#), Character'Val(16#C7#), Character'Val(16#C4#), Character'Val(16#C5#), Character'Val(16#D6#), Character'Val(16#DA#), Character'Val(16#C9#), Character'Val(16#CA#), Character'Val(16#CB#), Character'Val(16#CC#), Character'Val(16#CD#), Character'Val(16#CE#), Character'Val(16#CF#), Character'Val(16#D0#), Character'Val(16#D2#), Character'Val(16#D3#), Character'Val(16#D4#), Character'Val(16#D5#), Character'Val(16#C6#), Character'Val(16#C8#), Character'Val(16#C3#), Character'Val(16#DE#), Character'Val(16#DB#), Character'Val(16#DD#), Character'Val(16#DF#), Character'Val(16#D9#), Character'Val(16#D8#), Character'Val(16#DC#), Character'Val(16#C0#), Character'Val(16#D1#), Character'Val(16#A3#), Character'Val(16#95#), Character'Val(16#96#), Character'Val(16#97#), Character'Val(16#98#), Character'Val(16#99#), Character'Val(16#93#), Character'Val(16#9B#), Character'Val(16#80#), Character'Val(16#81#), Character'Val(16#82#), Character'Val(16#83#), Character'Val(16#84#), Character'Val(16#85#), Character'Val(16#86#), Character'Val(16#87#), Character'Val(16#88#), Character'Val(16#89#), Character'Val(16#8A#), Character'Val(16#A0#), Character'Val(16#A1#), Character'Val(16#A2#), Character'Val(16#A4#), Character'Val(16#A5#), Character'Val(16#A6#), Character'Val(16#A7#), Character'Val(16#A8#), Character'Val(16#A9#), Character'Val(16#AA#), Character'Val(16#AB#), Character'Val(16#AC#), Character'Val(16#AD#), Character'Val(16#AE#), Character'Val(16#AF#), Character'Val(16#B0#), Character'Val(16#B1#), Character'Val(16#B2#), Character'Val(16#B4#), Character'Val(16#B5#), Character'Val(16#B6#), Character'Val(16#B7#), Character'Val(16#B8#), Character'Val(16#B9#), Character'Val(16#BA#), Character'Val(16#BB#), Character'Val(16#BC#), Character'Val(16#BD#), Character'Val(16#BE#), Character'Val(16#8B#), Character'Val(16#8C#), Character'Val(16#8D#), Character'Val(16#8E#), Character'Val(16#8F#), Character'Val(16#90#), Character'Val(16#91#), Character'Val(16#92#), Character'Val(16#94#)); function Decode (Char : Character) return Wide_Character is begin return Decode (Char, Forward); end Decode; procedure Decode (Text : in Raw_String; Text_Last : out Natural; Result : out Wide_String; Result_Last : out Natural; Map : in Encoding := Encodings.KOI8_R) is begin Decode (Text, Text_Last, Result, Result_Last, Forward); end Decode; procedure Encode (Text : in Wide_String; Text_Last : out Natural; Result : out Raw_String; Result_Last : out Natural; Map : in Encoding := Encodings.KOI8_R) is begin Encode (Text, Text_Last, Result, Result_Last, Ranges, Backward); end Encode; begin Encoder_List (Encodings.KOI8_R) := Encode'Access; Decoder_List (Encodings.KOI8_R) := Decode'Access; end Encodings.Maps.KOI8_R; ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * Neither the name of the Maxim Reznik, IE nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------
35.385714
79
0.601996
dccd831ccb0ad07f9f303a6c6cdd22d7cf059a17
3,711
ads
Ada
project/src/avr-mcu.ads
pvrego/adaino
3b160a9006eddc8f25e8e55afea3df6b3cc6d3ca
[ "MIT" ]
8
2015-05-04T20:26:24.000Z
2021-03-09T02:38:57.000Z
project/src/avr-mcu.ads
pvrego/adaino
3b160a9006eddc8f25e8e55afea3df6b3cc6d3ca
[ "MIT" ]
null
null
null
project/src/avr-mcu.ads
pvrego/adaino
3b160a9006eddc8f25e8e55afea3df6b3cc6d3ca
[ "MIT" ]
1
2015-08-19T14:21:40.000Z
2015-08-19T14:21:40.000Z
with System; -- ============================================================================= -- Package AVR.MCU -- -- Maps AVR micro-controllers. -- ============================================================================= package AVR.MCU is F_CPU : constant := 16_000_000; #if MCU="ATMEGA2560" then type On_Chip_Debug_Register_Type is record LSB : Boolean; Spare : Spare_Type (0 .. 5); MSB_IDRD : Boolean; end record; pragma Pack (On_Chip_Debug_Register_Type); for On_Chip_Debug_Register_Type'Size use BYTE_SIZE; #end if; type MCU_Status_Register_Type is record PORF : Boolean; -- Power-on Reset Flag EXTRF : Boolean; -- External Reset Flag BORF : Boolean; -- Brown-out Reset Flag WDRF : Boolean; -- Watchdog Reset Flag #if MCU="ATMEGA2560" then JTRF : Boolean; -- JTAG Reset Flag Spare : Spare_Type (0 .. 2); #elsif MCU="ATMEGA328P" then Spare : Spare_Type (0 .. 3); #end if; end record; pragma Pack (MCU_Status_Register_Type); for MCU_Status_Register_Type'Size use BYTE_SIZE; type MCU_Control_Register_Type is record IVCE : Boolean; -- Interrupt Vector Select; IVSEL : Boolean; -- Interrupt Vector Change Enable Spare_23 : Spare_Type (0 .. 1); PUD : Boolean; -- Pull-up Disable #if MCU="ATMEGA2560" then Spare_56 : Spare_Type (0 .. 1); JTD : Boolean; -- JTAG Interface Disable #elsif MCU="ATMEGA328P" then BODSE : Boolean; -- BOD Sleep Enable BODS : Boolean; -- BOD Sleep #end if; end record; pragma Pack (MCU_Control_Register_Type); for MCU_Control_Register_Type'Size use BYTE_SIZE; type AVR_Status_Register_Type is record C : Boolean; -- Carry Flag Z : Boolean; -- Zero Flag N : Boolean; -- Negative Flag V : Boolean; -- Two's Complement Overflow Flag S : Boolean; -- Sign Bit, S = N xor V H : Boolean; -- Half Carry Flag T : Boolean; -- Bit Copy Storage I : Boolean; -- Global Interrupt Enable end record; pragma Pack (AVR_Status_Register_Type); for AVR_Status_Register_Type'Size use BYTE_SIZE; #if MCU="ATMEGA2560" then Reg_OCDR : On_Chip_Debug_Register_Type; for Reg_OCDR'Address use System'To_Address (16#51#); #end if; Reg_MCUSR : MCU_Status_Register_Type; for Reg_MCUSR'Address use System'To_Address (16#54#); Reg_MCUCR : MCU_Control_Register_Type; for Reg_MCUCR'Address use System'To_Address (16#55#); Reg_RAMPZ : Bit_Array_Type (0 .. 7); -- Extended Z-pointer Register for ELPM/SPM for Reg_RAMPZ'Address use System'To_Address (16#5B#); Reg_EIND : Bit_Array_Type (0 .. 7); -- Extended Indirect Register for Reg_EIND'Address use System'To_Address (16#5C#); Reg_SP : Byte_Array_Type (0 .. 1); -- Stack Pointer for Reg_SP'Address use System'To_Address (16#5D#); Reg_SREG : AVR_Status_Register_Type; for Reg_SREG'Address use System'To_Address (16#5F#); type Clock_Prescale_Register_Type is record CLKPS : Bit_Array_Type (0 .. 3); -- Clock Prescaler Select Bits Spare : Spare_Type (0 .. 2); CLKPCE : Boolean; -- Clock Prescaler Change Enable end record; pragma Pack (Clock_Prescale_Register_Type); for Clock_Prescale_Register_Type'Size use BYTE_SIZE; Reg_CLKPR : Clock_Prescale_Register_Type; for Reg_CLKPR'Address use System'To_Address (16#61#); type Oscillator_Calibration_Value is new Byte_Type; Reg_OSCCAL : Oscillator_Calibration_Value; for Reg_OSCCAL'Address use System'To_Address (16#66#); end AVR.MCU;
33.432432
83
0.630288
10086e829ba85c67a8a331819b10ff13d2bbd405
5,522
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1304b.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1304b.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1304b.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- CC1304B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT GENERIC FORMAL SUBPROGRAMS MAY HAVE A PARAMETER -- OF A GENERIC FORMAL TYPE, AND MAY RETURN A GENERIC FORMAL -- TYPE. CHECK MODES IN OUT AND OUT. -- HISTORY: -- BCB 08/04/88 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE CC1304B IS BEGIN TEST ("CC1304B", "GENERIC FORMAL SUBPROGRAMS MAY HAVE A " & "PARAMETER OF A GENERIC FORMAL TYPE, AND MAY " & "RETURN A GENERIC FORMAL TYPE. CHECK MODES IN " & "OUT AND OUT"); DECLARE GENERIC TYPE T IS ( <> ); WITH PROCEDURE S (P : OUT T); WITH PROCEDURE P (P : IN OUT T); WITH FUNCTION L RETURN T; PROCEDURE PR (PARM1, PARM2, PARM3 : IN OUT T); PROCEDURE PR (PARM1, PARM2, PARM3 : IN OUT T) IS BEGIN S (P => PARM1); P (P => PARM2); PARM3 := L; END PR; BEGIN DECLARE C : CHARACTER := 'A'; C1 : CHARACTER := 'Y'; C2 : CHARACTER := 'I'; B : BOOLEAN := FALSE; B1 : BOOLEAN := TRUE; B2 : BOOLEAN := FALSE; I : INTEGER := 5; I1 : INTEGER := 10; I2 : INTEGER := 0; TYPE ENUM IS (E1, E2, E3); F : ENUM := E2; F1 : ENUM := E1; F2 : ENUM := E2; PROCEDURE FC (P : OUT CHARACTER) IS BEGIN P := 'B'; END FC; PROCEDURE FB (P : OUT BOOLEAN) IS BEGIN P := NOT B; END FB; PROCEDURE FI (P : OUT INTEGER) IS BEGIN P := I + 1; END FI; PROCEDURE FE (P : OUT ENUM) IS BEGIN P := ENUM'SUCC (F); END FE; PROCEDURE PC (P : IN OUT CHARACTER) IS BEGIN P := 'Z'; END PC; PROCEDURE PB (P : IN OUT BOOLEAN) IS BEGIN P := NOT B1; END PB; PROCEDURE PI (P : IN OUT INTEGER) IS BEGIN P := I1 + 1; END PI; PROCEDURE PE (P : IN OUT ENUM) IS BEGIN P := ENUM'SUCC (F1); END PE; FUNCTION LC RETURN CHARACTER IS BEGIN RETURN 'J'; END LC; FUNCTION LB RETURN BOOLEAN IS BEGIN RETURN TRUE; END LB; FUNCTION LI RETURN INTEGER IS BEGIN RETURN IDENT_INT(5); END LI; FUNCTION LE RETURN ENUM IS BEGIN RETURN ENUM'SUCC(F2); END LE; PACKAGE PKG2 IS PROCEDURE P1 IS NEW PR (CHARACTER, FC, PC, LC); PROCEDURE P2 IS NEW PR (BOOLEAN, FB, PB, LB); PROCEDURE P3 IS NEW PR (INTEGER, FI, PI, LI); PROCEDURE P4 IS NEW PR (ENUM, FE, PE, LE); END PKG2; PACKAGE BODY PKG2 IS BEGIN P1 (C,C1,C2); P2 (B,B1,B2); P3 (I,I1,I2); P4 (F,F1,F2); END PKG2; BEGIN IF C /= 'B' OR B /= TRUE OR I /= 6 OR F /= E3 THEN FAILED ("SUBPROGRAM PARAMETERS OF FORMAL TYPES - " & "MODE OUT"); END IF; IF C1 /= 'Z' OR B1 /= FALSE OR I1 /= 11 OR F1 /= E2 THEN FAILED ("SUBPROGRAM PARAMETERS OF FORMAL TYPES - " & "MODE IN OUT"); END IF; IF C2 /= 'J' OR B2 /= TRUE OR I2 /= 5 OR F2 /= E3 THEN FAILED ("GENERIC FORMAL SUBPROGRAMS RETURNING A " & "GENERIC FORMAL TYPE"); END IF; END; END; RESULT; END CC1304B;
33.065868
79
0.452735
c59298d4be2116b2e34c89401a5d23724a1fe0f2
1,215
ads
Ada
include/sf-network.ads
danva994/ASFML-1.6
bd74ae700843338a15aef295f99297b866aa0c93
[ "Zlib" ]
1
2017-10-07T06:20:38.000Z
2017-10-07T06:20:38.000Z
include/sf-network.ads
danva994/ASFML-1.6
bd74ae700843338a15aef295f99297b866aa0c93
[ "Zlib" ]
3
2020-09-15T21:19:34.000Z
2022-03-02T23:13:46.000Z
include/sf-network.ads
danva994/ASFML-1.6
bd74ae700843338a15aef295f99297b866aa0c93
[ "Zlib" ]
2
2020-09-26T21:16:43.000Z
2022-01-16T19:36:48.000Z
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 Laurent Gomila ([email protected]) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held liable for any damages arising from the use of this software. -- // -- // Permission is granted to anyone to use this software for any purpose, -- // including commercial applications, and to alter it and redistribute it freely, -- // subject to the following restrictions: -- // -- // 1. The origin of this software must not be misrepresented; -- // you must not claim that you wrote the original software. -- // If you use this software in a product, an acknowledgment -- // in the product documentation would be appreciated but is not required. -- // -- // 2. Altered source versions must be plainly marked as such, -- // and must not be misrepresented as being the original software. -- // -- // 3. This notice may not be removed or altered from any source distribution. -- // -- //////////////////////////////////////////////////////////// package Sf.Network is end Sf.Network;
43.392857
104
0.62963
182652cc403bca8e0b8ce8d94d831c72ff5c0249
4,808
ads
Ada
source/uaflex/generated/parser-goto_table.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/uaflex/generated/parser-goto_table.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/uaflex/generated/parser-goto_table.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2015, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package Parser.Goto_Table is type Small_Integer is range -32_000 .. 32_000; type Goto_Entry is record Nonterm : Small_Integer; Newstate : Small_Integer; end record; --pragma suppress(index_check); subtype Row is Integer range -1 .. Integer'Last; type Goto_Parse_Table is array (Row range <>) of Goto_Entry; Goto_Matrix : constant Goto_Parse_Table := ((-1,-1) -- Dummy Entry. -- State 0 ,(-5, 2),(-3, 1),(-2, 3) -- State 1 ,(-10, 4) ,(-4, 5) -- State 2 ,(-7, 6),(-6, 11) -- State 3 -- State 4 ,(-11, 16) ,(-8, 13) -- State 5 -- State 6 ,(-8, 17) -- State 7 ,(-9, 19),(-7, 18) -- State 8 ,(-9, 20),(-7, 18) -- State 9 -- State 10 -- State 11 -- State 12 -- State 13 ,(-12, 22) -- State 14 -- State 15 -- State 16 -- State 17 -- State 18 -- State 19 ,(-7, 24) -- State 20 ,(-7, 24) -- State 21 -- State 22 -- State 23 -- State 24 -- State 25 ); -- The offset vector GOTO_OFFSET : constant array (0.. 25) of Integer := ( 0, 3, 5, 7, 7, 9, 9, 10, 12, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 16, 17, 17, 17, 17, 17); subtype Rule is Natural; subtype Nonterminal is Integer; Rule_Length : constant array (Rule range 0 .. 16) of Natural := ( 2, 2, 2, 0, 2, 2, 3, 3, 1, 2, 2, 0, 2, 2, 1, 1, 1); Get_LHS_Rule : constant array (Rule range 0 .. 16) of Nonterminal := (-1, -2,-3,-5,-5,-6,-6,-6,-9, -9,-4,-10,-10,-11,-7,-8,-12); end Parser.Goto_Table;
35.614815
78
0.441764
0eaaed96bf9ed75864757f500d07652d10a7f02e
669
ads
Ada
src/linted-drawer/src/linted-drawer.ads
mstewartgallus/linted
4d4cf9390353ea045b95671474ab278456793a35
[ "Apache-2.0" ]
null
null
null
src/linted-drawer/src/linted-drawer.ads
mstewartgallus/linted
4d4cf9390353ea045b95671474ab278456793a35
[ "Apache-2.0" ]
null
null
null
src/linted-drawer/src/linted-drawer.ads
mstewartgallus/linted
4d4cf9390353ea045b95671474ab278456793a35
[ "Apache-2.0" ]
null
null
null
-- Copyright 2016 Steven Stewart-Gallus -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -- implied. See the License for the specific language governing -- permissions and limitations under the License. package Linted.Drawer is pragma Elaborate_Body; end Linted.Drawer;
39.352941
70
0.753363
d06f51565b397fd250fb4c6c815e35cde98216da
1,941
ads
Ada
src/nn2.ads
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
src/nn2.ads
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
src/nn2.ads
sebsgit/textproc
2f12d6a030425e937ee0c6a67dcff6828fc1331f
[ "MIT" ]
null
null
null
with Ada.Containers.Vectors; with Ada.Finalization; with Tensor; package NN2 is pragma Elaborate_Body(NN2); pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); type Model is tagged limited private; type Activation is (RELU, LOGISTIC); type Layer is tagged limited record activator: Activation; end record; function Forward(lay: in out Layer; values: in Tensor.Var) return Tensor.Var; function Input_Size(lay: in Layer) return Positive; function Output_Size(lay: in Layer) return Positive; type DenseLayer is new Layer with record weights: Tensor.Var; biases: Tensor.Var; -- cache for backpropagation weighted_output: Tensor.Var; activations: Tensor.Var; end record; type Layer_Access is access Layer'Class; type Dense_Layer_Access is access all DenseLayer; function Create(input_size: in Positive) return Model; procedure Add_Dense_Layer(m: in out Model; neuron_count: in Positive; act: in Activation := RELU); function Add_Dense_Layer(m: in out Model; neuron_count: in Positive; act: in Activation := RELU) return Dense_Layer_Access; function Forward(m: in Model; values: in Tensor.Var) return Tensor.Var; overriding function Forward(lay: in out DenseLayer; values: in Tensor.Var) return Tensor.Var; overriding function Input_Size(lay: in DenseLayer) return Positive; overriding function Output_Size(lay: in DenseLayer) return Positive; private package Layer_Vec is new Ada.Containers.Vectors(Index_Type => Positive, Element_Type => Layer_Access); type Model is new Ada.Finalization.Limited_Controlled with record input_size: Positive; layers: Layer_Vec.Vector; end record; overriding procedure Finalize(This: in out Model); end NN2;
31.306452
126
0.686759
184d8527b5f6b0a7e964a72c79d63798a28f987c
17,236
ads
Ada
tools-src/gnu/gcc/gcc/ada/nlists.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
tools-src/gnu/gcc/gcc/ada/nlists.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
tools-src/gnu/gcc/gcc/ada/nlists.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- N L I S T S -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2000 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides facilities for manipulating lists of nodes (see -- package Atree for format and implementation of tree nodes). The Link field -- of the nodes is used as the forward pointer for these lists. See also -- package Elists which provides another form of lists that are not threaded -- through the nodes (and therefore allow nodes to be on multiple lists). with System; with Types; use Types; package Nlists is -- A node list is a list of nodes in a special format that means that -- nodes can be on at most one such list. For each node list, a list -- header is allocated in the lists table, and a List_Id value references -- this header, which may be used to access the nodes in the list using -- the set of routines that define this interface. -- Note: node lists can contain either nodes or entities (extended nodes) -- or a mixture of nodes and extended nodes. function Last_List_Id return List_Id; pragma Inline (Last_List_Id); -- Returns Id of last allocated list header function Lists_Address return System.Address; pragma Inline (Lists_Address); -- Return address of Lists table (used in Back_End for Gigi call) function Num_Lists return Nat; pragma Inline (Num_Lists); -- Number of currently allocated lists function New_List return List_Id; -- Creates a new empty node list. Typically this is used to initialize -- a field in some other node which points to a node list where the list -- is then subsequently filled in using Append calls. function Empty_List return List_Id renames New_List; -- Used in contexts where an empty list (as opposed to an initially empty -- list to be filled in) is required. function New_List (Node : Node_Id) return List_Id; -- Build a new list initially containing the given node function New_List (Node1, Node2 : Node_Id) return List_Id; -- Build a new list initially containing the two given nodes function New_List (Node1, Node2, Node3 : Node_Id) return List_Id; -- Build a new list initially containing the three given nodes function New_List (Node1, Node2, Node3, Node4 : Node_Id) return List_Id; -- Build a new list initially containing the four given nodes function New_List (Node1 : Node_Id; Node2 : Node_Id; Node3 : Node_Id; Node4 : Node_Id; Node5 : Node_Id) return List_Id; -- Build a new list initially containing the five given nodes function New_List (Node1 : Node_Id; Node2 : Node_Id; Node3 : Node_Id; Node4 : Node_Id; Node5 : Node_Id; Node6 : Node_Id) return List_Id; -- Build a new list initially containing the five given nodes function New_Copy_List (List : List_Id) return List_Id; -- Creates a new list containing copies (made with Atree.New_Copy) of every -- node in the original list. If the argument is No_List, then the returned -- result is No_List. If the argument is an empty list, then the returned -- result is a new empty list. function New_Copy_List_Original (List : List_Id) return List_Id; -- Same as New_Copy_List but copies only nodes coming from source function New_Copy_List_Tree (List : List_Id) return List_Id; -- Similar to New_Copy_List, except that the copies are done using the -- Atree.New_Copy_Tree function, which means that a full recursive copy -- of the subtrees in the list is performed, setting proper parents. As -- for New_Copy_Tree, it is illegal to attempt to copy extended nodes -- (entities) either directly or indirectly using this function. function First (List : List_Id) return Node_Id; pragma Inline (First); -- Obtains the first element of the given node list or, if the node list -- has no items or is equal to No_List, then Empty is returned. function First_Non_Pragma (List : List_Id) return Node_Id; -- Used when dealing with a list that can contain pragmas to skip past -- any initial pragmas and return the first element that is not a pragma. -- If the list is empty, or if it contains only pragmas, then Empty is -- returned. It is an error to call First_Non_Pragma with a Node_Id value -- or No_List (No_List is not considered to be the same as an empty list). -- This function also skips N_Null nodes which can result from rewriting -- unrecognized or incorrrect pragmas. function Last (List : List_Id) return Node_Id; pragma Inline (Last); -- Obtains the last element of the given node list or, if the node list -- has no items, then Empty is returned. It is an error to call Last with -- a Node_Id or No_List. (No_List is not considered to be the same as an -- empty node list). function Last_Non_Pragma (List : List_Id) return Node_Id; -- Obtains the last element of a given node list that is not a pragma. -- If the list is empty, or if it contains only pragmas, then Empty is -- returned. It is an error to call Last_Non_Pragma with a Node_Id or -- No_List. (No_List is not considered to be the same as an empty list). function List_Length (List : List_Id) return Nat; pragma Inline (List_Length); -- Returns number of items in the given list. It is an error to call -- this function with No_List (No_List is not considered to be the same -- as an empty list). function Next (Node : Node_Id) return Node_Id; pragma Inline (Next); -- This function returns the next node on a node list, or Empty if Node is -- the last element of the node list. The argument must be a member of a -- node list. procedure Next (Node : in out Node_Id); pragma Inline (Next); -- Equivalent to Node := Next (Node); function Next_Non_Pragma (Node : Node_Id) return Node_Id; -- This function returns the next node on a node list, skipping past any -- pragmas, or Empty if there is no non-pragma entry left. The argument -- must be a member of a node list. This function also skips N_Null nodes -- which can result from rewriting unrecognized or incorrect pragmas. procedure Next_Non_Pragma (Node : in out Node_Id); pragma Inline (Next_Non_Pragma); -- Equivalent to Node := Next_Non_Pragma (Node); function Prev (Node : Node_Id) return Node_Id; pragma Inline (Prev); -- This function returns the previous node on a node list list, or Empty if -- Node is the first element of the node list. The argument must be a -- member of a node list. Note that the implementation does not maintain -- back pointers, so this function potentially requires traversal of the -- entire list, or more accurately of the part of the list preceding Node. function Pick (List : List_Id; Index : Pos) return Node_Id; -- Given a list, picks out the Index'th entry (1 = first entry). The -- caller must ensure that Index is in range. procedure Prev (Node : in out Node_Id); pragma Inline (Prev); -- Equivalent to Node := Prev (Node); function Prev_Non_Pragma (Node : Node_Id) return Node_Id; pragma Inline (Prev_Non_Pragma); -- This function returns the previous node on a node list, skipping any -- pragmas. If Node is the first element of the list, or if the only -- elements preceding it are pragmas, then Empty is returned. The -- argument must be a member of a node list. Like Prev, this function -- may require expensive traversal of the head section of the list. procedure Prev_Non_Pragma (Node : in out Node_Id); pragma Inline (Prev_Non_Pragma); -- Equivalent to Node := Prev_Non_Pragma (Node); function Is_Empty_List (List : List_Id) return Boolean; pragma Inline (Is_Empty_List); -- This function determines if a given list id references a node list that -- contains no items. No_List is a not a legitimate argument. function Is_Non_Empty_List (List : List_Id) return Boolean; pragma Inline (Is_Non_Empty_List); -- This function determines if a given list id references a node list that -- contains at least one item. No_List as an argument returns False. function Is_List_Member (Node : Node_Id) return Boolean; pragma Inline (Is_List_Member); -- This function determines if a given node is a member of a node list. -- It is an error for Node to be Empty, or to be a node list. function List_Containing (Node : Node_Id) return List_Id; pragma Inline (List_Containing); -- This function provides a pointer to the node list containing Node. -- Node must be a member of a node list. procedure Append (Node : Node_Id; To : List_Id); -- Appends Node at the end of node list To. Node must be a non-empty node -- that is not already a member of a node list, and To must be a -- node list. An attempt to append an error node is ignored without -- complaint and the list is unchanged. procedure Append_To (To : List_Id; Node : Node_Id); pragma Inline (Append_To); -- Like Append, but arguments are the other way round procedure Append_List (List : List_Id; To : List_Id); -- Appends node list List to the end of node list To. On return, -- List is reset to be empty. procedure Append_List_To (To : List_Id; List : List_Id); pragma Inline (Append_List_To); -- Like Append_List, but arguments are the other way round procedure Insert_After (After : Node_Id; Node : Node_Id); -- Insert Node, which must be a non-empty node that is not already a -- member of a node list, immediately past node After, which must be a -- node that is currently a member of a node list. An attempt to insert -- an error node is ignored without complaint (and the list is unchanged). procedure Insert_List_After (After : Node_Id; List : List_Id); -- Inserts the entire contents of node list List immediately after node -- After, which must be a member of a node list. On return, the node list -- List is reset to be the empty node list. procedure Insert_Before (Before : Node_Id; Node : Node_Id); -- Insert Node, which must be a non-empty node that is not already a -- member of a node list, immediately before Before, which must be a node -- that is currently a member of a node list. An attempt to insert an -- error node is ignored without complaint (and the list is unchanged). procedure Insert_List_Before (Before : Node_Id; List : List_Id); -- Inserts the entire contents of node list List immediately before node -- Before, which must be a member of a node list. On return, the node list -- List is reset to be the empty node list. procedure Prepend (Node : Node_Id; To : List_Id); pragma Inline (Prepend); -- Prepends Node at the start of node list To. Node must be a non-empty -- node that is not already a member of a node list, and To must be a -- node list. An attempt to prepend an error node is ignored without -- complaint and the list is unchanged. procedure Prepend_To (To : List_Id; Node : Node_Id); pragma Inline (Prepend_To); -- Like Prepend, but arguments are the other way round procedure Remove (Node : Node_Id); -- Removes Node, which must be a node that is a member of a node list, -- from this node list. The contents of Node are not otherwise affected. function Remove_Head (List : List_Id) return Node_Id; -- Removes the head element of a node list, and returns the node (whose -- contents are not otherwise affected) as the result. If the node list -- is empty, then Empty is returned. function Remove_Next (Node : Node_Id) return Node_Id; pragma Inline (Remove_Next); -- Removes the item immediately following the given node, and returns it -- as the result. If Node is the last element of the list, then Empty is -- returned. Node must be a member of a list. Unlike Remove, Remove_Next -- is fast and does not involve any list traversal. procedure Initialize; -- Called at the start of compilation of each new main source file to -- initialize the allocation of the list table. Note that Initialize -- must not be called if Tree_Read is used. procedure Lock; -- Called to lock tables before back end is called procedure Tree_Read; -- Initializes internal tables from current tree file using Tree_Read. -- Note that Initialize should not be called if Tree_Read is used. -- Tree_Read includes all necessary initialization. procedure Tree_Write; -- Writes out internal tables to current tree file using Tree_Write function Parent (List : List_Id) return Node_Id; pragma Inline (Parent); -- Node lists may have a parent in the same way as a node. The function -- accesses the Parent value, which is either Empty when a list header -- is first created, or the value that has been set by Set_Parent. procedure Set_Parent (List : List_Id; Node : Node_Id); pragma Inline (Set_Parent); -- Sets the parent field of the given list to reference the given node function No (List : List_Id) return Boolean; pragma Inline (No); -- Tests given Id for equality with No_List. This allows notations like -- "if No (Statements)" as opposed to "if Statements = No_List". function Present (List : List_Id) return Boolean; pragma Inline (Present); -- Tests given Id for inequality with No_List. This allows notations like -- "if Present (Statements)" as opposed to "if Statements /= No_List". procedure Allocate_List_Tables (N : Node_Id); -- Called when nodes table is expanded to include node N. This call -- makes sure that list structures internal to Nlists are adjusted -- appropriately to reflect this increase in the size of the nodes table. function Next_Node_Address return System.Address; function Prev_Node_Address return System.Address; -- These functions return the addresses of the Next_Node and Prev_Node -- tables (used in Back_End for Gigi). procedure Delete_List (L : List_Id); -- Removes all elements of the given list, and calls Delete_Tree on each function p (U : Union_Id) return Node_Id; -- This function is intended for use from the debugger, it determines -- whether U is a Node_Id or List_Id, and calls the appropriate Parent -- function and returns the parent Node in either case. This is shorter -- to type, and avoids the overloading problem of using Parent. It -- should NEVER be used except from the debugger. If p is called with -- other than a node or list id value, it returns 99_999_999. end Nlists;
49.245714
79
0.663669
dc2205b5e73ac0908ee21de59d586088daf30a3c
4,743
adb
Ada
src/common/keccak-generic_parallel_permutation_serial_fallback.adb
damaki/libkeccak
d06217e525f7927380690d6c37b485bdbe8aa96e
[ "BSD-3-Clause" ]
26
2015-09-20T17:52:38.000Z
2021-07-29T21:47:04.000Z
src/common/keccak-generic_parallel_permutation_serial_fallback.adb
damaki/libkeccak
d06217e525f7927380690d6c37b485bdbe8aa96e
[ "BSD-3-Clause" ]
3
2019-03-12T16:01:36.000Z
2020-05-23T13:06:43.000Z
src/common/keccak-generic_parallel_permutation_serial_fallback.adb
damaki/libkeccak
d06217e525f7927380690d6c37b485bdbe8aa96e
[ "BSD-3-Clause" ]
2
2019-04-15T18:02:19.000Z
2020-11-22T11:22:18.000Z
------------------------------------------------------------------------------- -- Copyright (c) 2019, Daniel King -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of source code must retain the above copyright -- notice, this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * The name of the copyright holder may not be used to endorse or promote -- Products derived from this software without specific prior written -- permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY -- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- package body Keccak.Generic_Parallel_Permutation_Serial_Fallback is ------------ -- Init -- ------------ procedure Init (S : out Parallel_State) is begin for I in S.States'Range loop Init (S.States (I)); pragma Annotate (GNATprove, False_Positive, """S.States"" might not be initialized", "S.States is initialized after full loop"); end loop; end Init; ------------------- -- Permute_All -- ------------------- procedure Permute_All (S : in out Parallel_State) is begin for I in S.States'Range loop Permute (S.States (I)); end loop; end Permute_All; ------------------------------------ -- XOR_Bits_Into_State_Separate -- ------------------------------------ procedure XOR_Bits_Into_State_Separate (S : in out Parallel_State; Data : in Types.Byte_Array; Data_Offset : in Natural; Bit_Len : in Natural) is Stride : constant Natural := Data'Length / Num_Parallel_Instances; Pos : Types.Index_Number; begin if Bit_Len > 0 then pragma Assert ((Data'Length / Num_Parallel_Instances) - Data_Offset > 0); for I in 0 .. Num_Parallel_Instances - 1 loop Pos := Data'First + (Stride * I) + Data_Offset; XOR_Bits_Into_State (S => S.States (I), Data => Data (Pos .. Pos + ((Bit_Len + 7) / 8) - 1), Bit_Len => Bit_Len); end loop; end if; end XOR_Bits_Into_State_Separate; ------------------------------- -- XOR_Bits_Into_State_All -- ------------------------------- procedure XOR_Bits_Into_State_All (S : in out Parallel_State; Data : in Types.Byte_Array; Bit_Len : in Natural) is begin for I in S.States'Range loop XOR_Bits_Into_State (S => S.States (I), Data => Data, Bit_Len => Bit_Len); end loop; end XOR_Bits_Into_State_All; --------------------- -- Extract_Bytes -- --------------------- procedure Extract_Bytes (S : in Parallel_State; Data : in out Types.Byte_Array; Data_Offset : in Natural; Byte_Len : in Natural) is Stride : constant Natural := Data'Length / Num_Parallel_Instances; Pos : Types.Index_Number; begin if Byte_Len > 0 then pragma Assert ((Data'Length / Num_Parallel_Instances) - Data_Offset > 0); for I in 0 .. Num_Parallel_Instances - 1 loop Pos := Data'First + (Stride * I) + Data_Offset; Extract_Bytes (A => S.States (I), Data => Data (Pos .. Pos + Byte_Len - 1)); end loop; end if; end Extract_Bytes; end Keccak.Generic_Parallel_Permutation_Serial_Fallback;
35.661654
82
0.563357
4ab99082023c9d0d00ac58bb1d0bfd26cf2669a2
6,448
adb
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-dirval.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-dirval.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-dirval.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . D I R E C T O R I E S . V A L I D I T Y -- -- -- -- B o d y -- -- (Windows Version) -- -- -- -- Copyright (C) 2004-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the Windows version of this package with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; package body Ada.Directories.Validity is Invalid_Character : constant array (Character) of Boolean := (NUL .. US | '\' => True, '/' | ':' | '*' | '?' => True, '"' | '<' | '>' | '|' => True, DEL => True, others => False); -- Note that a valid file-name or path-name is implementation defined. -- To support UTF-8 file and directory names, we do not want to be too -- restrictive here. --------------------------------- -- Is_Path_Name_Case_Sensitive -- --------------------------------- function Is_Path_Name_Case_Sensitive return Boolean is begin return False; end Is_Path_Name_Case_Sensitive; ------------------------ -- Is_Valid_Path_Name -- ------------------------ function Is_Valid_Path_Name (Name : String) return Boolean is Start : Positive := Name'First; Last : Natural; begin -- A path name cannot be empty, cannot contain more than 256 characters, -- cannot contain invalid characters and each directory/file name need -- to be valid. if Name'Length = 0 or else Name'Length > 256 then return False; else -- A drive letter may be specified at the beginning if Name'Length >= 2 and then Name (Start + 1) = ':' and then (Name (Start) in 'A' .. 'Z' or else Name (Start) in 'a' .. 'z') then Start := Start + 2; -- A drive letter followed by a colon and followed by nothing or -- by a relative path is an ambiguous path name on Windows, so we -- don't accept it. if Start > Name'Last or else (Name (Start) /= '/' and then Name (Start) /= '\') then return False; end if; end if; loop -- Look for the start of the next directory or file name while Start <= Name'Last and then (Name (Start) = '\' or Name (Start) = '/') loop Start := Start + 1; end loop; -- If all directories/file names are OK, return True exit when Start > Name'Last; Last := Start; -- Look for the end of the directory/file name while Last < Name'Last loop exit when Name (Last + 1) = '\' or Name (Last + 1) = '/'; Last := Last + 1; end loop; -- Check if the directory/file name is valid if not Is_Valid_Simple_Name (Name (Start .. Last)) then return False; end if; -- Move to the next name Start := Last + 1; end loop; end if; -- If Name follows the rules, it is valid return True; end Is_Valid_Path_Name; -------------------------- -- Is_Valid_Simple_Name -- -------------------------- function Is_Valid_Simple_Name (Name : String) return Boolean is Only_Spaces : Boolean; begin -- A file name cannot be empty, cannot contain more than 256 characters, -- and cannot contain invalid characters. if Name'Length = 0 or else Name'Length > 256 then return False; -- Name length is OK else Only_Spaces := True; for J in Name'Range loop if Invalid_Character (Name (J)) then return False; elsif Name (J) /= ' ' then Only_Spaces := False; end if; end loop; -- If no invalid chars, and not all spaces, file name is valid return not Only_Spaces; end if; end Is_Valid_Simple_Name; ------------- -- Windows -- ------------- function Windows return Boolean is begin return True; end Windows; end Ada.Directories.Validity;
36.636364
79
0.456266
2084be467840c7969f3b342ccbddf71fff94c2fe
1,236
adb
Ada
components/src/gas_sensor/t67xx/t67xx_i2c_io.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
components/src/gas_sensor/t67xx/t67xx_i2c_io.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
components/src/gas_sensor/t67xx/t67xx_i2c_io.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
package body T67XX_I2C_IO is ---------- -- Read -- ---------- procedure Read (This : Any_IO_Port; Func : UInt8; Register : UInt16; Nxfer : UInt16; Response : out I2C_Data) is Result : I2C_Status; Frame : T67XX_Frame; Buf : I2C_Data (1 .. 5); for Frame'Address use Buf'Address; begin Frame.Func := Func; Frame.RegNum := Register; Frame.NReg := Nxfer; Swap (Frame.RegNum); Swap (Frame.NReg); Master_Transmit (This.Port.all, This.Device, Buf, Result); if Result /= Ok then raise Program_Error with "I2C read pt1 error:" & Result'Img; end if; This.Ptr.all; -- Delay_Milliseconds (10); Master_Receive (This.Port.all, This.Device, Response, Result); if Result /= Ok then raise Program_Error with "I2C read pt2 error:" & Result'Img; end if; end Read; procedure Swap (X : in out UInt16) is Result : UInt16 := X; begin Result := Shift_Left (X, 8) or (Shift_Right (X, 8)); X := Result; end Swap; end T67XX_I2C_IO;
22.472727
69
0.511327
18fe8f2233cb1e98ef3db626ab0bb614f9d27651
3,591
ads
Ada
src/ships-cargo.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
80
2017-04-08T23:14:07.000Z
2022-02-10T22:30:51.000Z
src/ships-cargo.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
89
2017-06-24T08:18:26.000Z
2021-11-12T04:37:36.000Z
src/ships-cargo.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
9
2018-04-14T16:37:25.000Z
2020-03-21T14:33:49.000Z
-- Copyright 2017-2021 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- Steam Sky is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with Steam Sky. If not, see <http://www.gnu.org/licenses/>. -- ****h* Ships/SCargo -- FUNCTION -- Provides code to manipulate ships cargos -- SOURCE package Ships.Cargo is -- **** -- ****f* SCargo/SCargo.UpdateCargo -- FUNCTION -- Update selected item in ship cargo -- PARAMETERS -- Ship - Ship which cargo will be updated -- ProtoIndex - Prototype index of the item which will be modified. Can be -- empty if CargoIndex is set -- Amount - Amount of item to add or delete from cargo -- Durability - Durability of item to modify. Can be empty -- CargoIndex - Ship cargo index of the item which will be modified. Can be -- empty if ProtoIndex is set -- Price - Price of the item which will be modified -- RESULT -- Parameter Ship -- SOURCE procedure UpdateCargo (Ship: in out Ship_Record; ProtoIndex: Unbounded_String := Null_Unbounded_String; Amount: Integer; Durability: Items_Durability := Default_Item_Durability; CargoIndex, Price: Natural := 0) with Pre => CargoIndex <= Ship.Cargo.Last_Index, Test_Case => (Name => "Test_UpdateCargo", Mode => Nominal); -- **** -- ****f* SCargo/SCargo.FreeCargo -- FUNCTION -- Check how much is free space in cargo of selected ship -- PARAMETERS -- Amount - Amount of kilograms to add or delete before count free -- cargo space -- Ship - Ship in which cargo will be check for free space. Default -- is player ship -- RESULT -- Amount of free cargo space in kilograms after add or remove Amount -- of kilograms -- SOURCE function FreeCargo (Amount: Integer; Ship: Ship_Record := Player_Ship) return Integer with Test_Case => (Name => "Test_FreeCargo", Mode => Robustness); -- **** -- ****f* SCargo/SCargo.GetItemAmount -- FUNCTION -- Check how much selected items is in player ship cargo -- PARAMETERS -- ItemType - Type of items which will be looking for -- RESULT -- Amount of items of selected type on player ship -- SOURCE function GetItemAmount(ItemType: Unbounded_String) return Natural with Pre => ItemType /= Null_Unbounded_String, Test_Case => (Name => "Test_GetItemAmount", Mode => Nominal); -- **** -- ****f* SCargo/SCargo.GetItemsAmount -- FUNCTION -- Check amount of selected consumables on player ship -- PARAMETERS -- IType - "Drinks" or "Food". Type of items which will be looking for -- RESULT -- Amount of drinks or food, depends on IType on the player ship -- SOURCE function GetItemsAmount(IType: String) return Natural with Pre => IType in "Drinks" | "Food", Test_Case => (Name => "Test_GetItemsAmount", Mode => Nominal); -- **** end Ships.Cargo;
38.612903
78
0.643832
2096500315de7b82b65cbfec842a5cd2b40b392f
5,711
adb
Ada
examples/shared/serial_ports/src/serial_io-streaming.adb
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
examples/shared/serial_ports/src/serial_io-streaming.adb
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
examples/shared/serial_ports/src/serial_io-streaming.adb
RREE/Ada_Drivers_Library
791616adf3c742de256e37717d3376393e6f407a
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2022, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with STM32.Device; use STM32.Device; with HAL; use HAL; package body Serial_IO.Streaming is ------------------------- -- Initialize_Hardware -- ------------------------- procedure Initialize_Hardware (This : out Serial_Port) is begin Serial_IO.Initialize_Hardware (This.Device); end Initialize_Hardware; --------------- -- Configure -- --------------- procedure Configure (This : in out Serial_Port; Baud_Rate : Baud_Rates; Parity : Parities := No_Parity; Data_Bits : Word_Lengths := Word_Length_8; End_Bits : Stop_Bits := Stopbits_1; Control : Flow_Control := No_Flow_Control) is begin Serial_IO.Configure (This.Device, Baud_Rate, Parity, Data_Bits, End_Bits, Control); end Configure; ---------------------- -- Await_Send_Ready -- ---------------------- procedure Await_Send_Ready (This : USART) is begin loop exit when Tx_Ready (This); end loop; end Await_Send_Ready; ---------------------- -- Set_Read_Timeout -- ---------------------- procedure Set_Read_Timeout (This : in out Serial_Port; Wait : Time_Span) is begin This.Timeout := Wait; end Set_Read_Timeout; -------------------------- -- Await_Data_Available -- -------------------------- procedure Await_Data_Available (This : USART; Timeout : Time_Span := Time_Span_Last; Timed_Out : out Boolean) is Deadline : constant Time := Clock + Timeout; begin Timed_Out := True; while Clock < Deadline loop if Rx_Ready (This) then Timed_Out := False; exit; end if; end loop; end Await_Data_Available; ---------------- -- Last_Index -- ---------------- function Last_Index (First : Stream_Element_Offset; Count : Long_Integer) return Stream_Element_Offset is begin if First = Stream_Element_Offset'First and then Count = 0 then -- we need to return First - 1, but cannot raise Constraint_Error; -- per RM else return First + Stream_Element_Offset (Count) - 1; end if; end Last_Index; ---------- -- Read -- ---------- overriding procedure Read (This : in out Serial_Port; Buffer : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset) is Raw : UInt9; Timed_Out : Boolean; Count : Long_Integer := 0; begin Receiving : for K in Buffer'Range loop Await_Data_Available (This.Device.Transceiver.all, This.Timeout, Timed_Out); exit Receiving when Timed_Out; Receive (This.Device.Transceiver.all, Raw); Buffer (K) := Stream_Element (Raw); Count := Count + 1; end loop Receiving; Last := Last_Index (Buffer'First, Count); end Read; ----------- -- Write -- ----------- overriding procedure Write (This : in out Serial_Port; Buffer : Ada.Streams.Stream_Element_Array) is begin for Next of Buffer loop Await_Send_Ready (This.Device.Transceiver.all); Transmit (This.Device.Transceiver.all, Stream_Element'Pos (Next)); end loop; end Write; end Serial_IO.Streaming;
34.823171
89
0.537384
df04dffa56db39e66ca3bf1df660d89c1a00a1f9
22,517
ads
Ada
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_video_h.ads
AdaCore/training_material
6651eb2c53f8c39649b8e0b3c757bc8ff963025a
[ "CC-BY-4.0" ]
15
2020-10-07T08:56:45.000Z
2022-02-08T23:13:22.000Z
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_video_h.ads
AdaCore/training_material
6651eb2c53f8c39649b8e0b3c757bc8ff963025a
[ "CC-BY-4.0" ]
20
2020-11-05T14:35:20.000Z
2022-01-13T15:59:33.000Z
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_video_h.ads
AdaCore/training_material
6651eb2c53f8c39649b8e0b3c757bc8ff963025a
[ "CC-BY-4.0" ]
6
2020-10-08T15:57:06.000Z
2021-08-31T12:03:08.000Z
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_SDL_stdinc_h; with System; with Interfaces.C.Extensions; with Interfaces.C.Strings; limited with SDL_SDL_rwops_h; package SDL_SDL_video_h is SDL_ALPHA_OPAQUE : constant := 255; -- ../include/SDL/SDL_video.h:44 SDL_ALPHA_TRANSPARENT : constant := 0; -- ../include/SDL/SDL_video.h:45 -- unsupported macro: SDL_Colour SDL_Color SDL_SWSURFACE : constant := 16#00000000#; -- ../include/SDL/SDL_video.h:131 SDL_HWSURFACE : constant := 16#00000001#; -- ../include/SDL/SDL_video.h:132 SDL_ASYNCBLIT : constant := 16#00000004#; -- ../include/SDL/SDL_video.h:133 SDL_ANYFORMAT : constant := 16#10000000#; -- ../include/SDL/SDL_video.h:138 SDL_HWPALETTE : constant := 16#20000000#; -- ../include/SDL/SDL_video.h:139 SDL_DOUBLEBUF : constant := 16#40000000#; -- ../include/SDL/SDL_video.h:140 SDL_FULLSCREEN : constant := 16#80000000#; -- ../include/SDL/SDL_video.h:141 SDL_OPENGL : constant := 16#00000002#; -- ../include/SDL/SDL_video.h:142 SDL_OPENGLBLIT : constant := 16#0000000A#; -- ../include/SDL/SDL_video.h:143 SDL_RESIZABLE : constant := 16#00000010#; -- ../include/SDL/SDL_video.h:144 SDL_NOFRAME : constant := 16#00000020#; -- ../include/SDL/SDL_video.h:145 SDL_HWACCEL : constant := 16#00000100#; -- ../include/SDL/SDL_video.h:150 SDL_SRCCOLORKEY : constant := 16#00001000#; -- ../include/SDL/SDL_video.h:151 SDL_RLEACCELOK : constant := 16#00002000#; -- ../include/SDL/SDL_video.h:152 SDL_RLEACCEL : constant := 16#00004000#; -- ../include/SDL/SDL_video.h:153 SDL_SRCALPHA : constant := 16#00010000#; -- ../include/SDL/SDL_video.h:154 SDL_PREALLOC : constant := 16#01000000#; -- ../include/SDL/SDL_video.h:155 -- arg-macro: function SDL_MUSTLOCK (surface) -- return surface.offset or else ((surface.flags and (SDL_HWSURFACEorSDL_ASYNCBLITorSDL_RLEACCEL)) /= 0); SDL_YV12_OVERLAY : constant := 16#32315659#; -- ../include/SDL/SDL_video.h:200 SDL_IYUV_OVERLAY : constant := 16#56555949#; -- ../include/SDL/SDL_video.h:201 SDL_YUY2_OVERLAY : constant := 16#32595559#; -- ../include/SDL/SDL_video.h:202 SDL_UYVY_OVERLAY : constant := 16#59565955#; -- ../include/SDL/SDL_video.h:203 SDL_YVYU_OVERLAY : constant := 16#55595659#; -- ../include/SDL/SDL_video.h:204 SDL_LOGPAL : constant := 16#01#; -- ../include/SDL/SDL_video.h:252 SDL_PHYSPAL : constant := 16#02#; -- ../include/SDL/SDL_video.h:253 -- unsupported macro: SDL_AllocSurface SDL_CreateRGBSurface -- arg-macro: procedure SDL_LoadBMP (file) -- SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1) -- arg-macro: procedure SDL_SaveBMP (surface, file) -- SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1) -- unsupported macro: SDL_BlitSurface SDL_UpperBlit type SDL_Rect is record x : aliased SDL_SDL_stdinc_h.Sint16; -- ../include/SDL/SDL_video.h:51 y : aliased SDL_SDL_stdinc_h.Sint16; -- ../include/SDL/SDL_video.h:51 w : aliased SDL_SDL_stdinc_h.Uint16; -- ../include/SDL/SDL_video.h:52 h : aliased SDL_SDL_stdinc_h.Uint16; -- ../include/SDL/SDL_video.h:52 end record; pragma Convention (C_Pass_By_Copy, SDL_Rect); -- ../include/SDL/SDL_video.h:50 type SDL_Color is record r : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:56 g : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:57 b : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:58 unused : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:59 end record; pragma Convention (C_Pass_By_Copy, SDL_Color); -- ../include/SDL/SDL_video.h:55 type SDL_Palette is record ncolors : aliased int; -- ../include/SDL/SDL_video.h:64 colors : access SDL_Color; -- ../include/SDL/SDL_video.h:65 end record; pragma Convention (C_Pass_By_Copy, SDL_Palette); -- ../include/SDL/SDL_video.h:63 type SDL_PixelFormat is record palette : access SDL_Palette; -- ../include/SDL/SDL_video.h:71 BitsPerPixel : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:72 BytesPerPixel : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:73 Rloss : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:74 Gloss : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:75 Bloss : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:76 Aloss : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:77 Rshift : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:78 Gshift : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:79 Bshift : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:80 Ashift : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:81 Rmask : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:82 Gmask : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:83 Bmask : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:84 Amask : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:85 colorkey : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:88 alpha : aliased SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_video.h:90 end record; pragma Convention (C_Pass_By_Copy, SDL_PixelFormat); -- ../include/SDL/SDL_video.h:70 type SDL_Surface is record flags : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:97 format : access SDL_PixelFormat; -- ../include/SDL/SDL_video.h:98 w : aliased int; -- ../include/SDL/SDL_video.h:99 h : aliased int; -- ../include/SDL/SDL_video.h:99 pitch : aliased SDL_SDL_stdinc_h.Uint16; -- ../include/SDL/SDL_video.h:100 pixels : System.Address; -- ../include/SDL/SDL_video.h:101 offset : aliased int; -- ../include/SDL/SDL_video.h:102 hwdata : System.Address; -- ../include/SDL/SDL_video.h:105 clip_rect : aliased SDL_Rect; -- ../include/SDL/SDL_video.h:108 unused1 : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:109 locked : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:112 map : System.Address; -- ../include/SDL/SDL_video.h:115 format_version : aliased unsigned; -- ../include/SDL/SDL_video.h:118 refcount : aliased int; -- ../include/SDL/SDL_video.h:121 end record; pragma Convention (C_Pass_By_Copy, SDL_Surface); -- ../include/SDL/SDL_video.h:96 -- skipped empty struct private_hwdata -- skipped empty struct SDL_BlitMap type SDL_blit is access function (arg1 : access SDL_Surface; arg2 : access SDL_Rect; arg3 : access SDL_Surface; arg4 : access SDL_Rect) return int; pragma Convention (C, SDL_blit); -- ../include/SDL/SDL_video.h:166 type SDL_VideoInfo is record hw_available : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:172 wm_available : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:173 UnusedBits1 : Extensions.Unsigned_6; -- ../include/SDL/SDL_video.h:174 UnusedBits2 : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:175 blit_hw : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:176 blit_hw_CC : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:177 blit_hw_A : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:178 blit_sw : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:179 blit_sw_CC : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:180 blit_sw_A : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:181 blit_fill : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:182 UnusedBits3 : aliased unsigned_short; -- ../include/SDL/SDL_video.h:183 video_mem : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:184 vfmt : access SDL_PixelFormat; -- ../include/SDL/SDL_video.h:185 current_w : aliased int; -- ../include/SDL/SDL_video.h:186 current_h : aliased int; -- ../include/SDL/SDL_video.h:187 end record; pragma Convention (C_Pass_By_Copy, SDL_VideoInfo); pragma Pack (SDL_VideoInfo); -- ../include/SDL/SDL_video.h:171 type SDL_Overlay is record format : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:209 w : aliased int; -- ../include/SDL/SDL_video.h:210 h : aliased int; -- ../include/SDL/SDL_video.h:210 planes : aliased int; -- ../include/SDL/SDL_video.h:211 pitches : access SDL_SDL_stdinc_h.Uint16; -- ../include/SDL/SDL_video.h:212 pixels : System.Address; -- ../include/SDL/SDL_video.h:213 hwfuncs : System.Address; -- ../include/SDL/SDL_video.h:217 hwdata : System.Address; -- ../include/SDL/SDL_video.h:218 hw_overlay : Extensions.Unsigned_1; -- ../include/SDL/SDL_video.h:223 UnusedBits : Extensions.Unsigned_31; -- ../include/SDL/SDL_video.h:224 end record; pragma Convention (C_Pass_By_Copy, SDL_Overlay); pragma Pack (SDL_Overlay); -- ../include/SDL/SDL_video.h:208 -- skipped empty struct private_yuvhwfuncs -- skipped empty struct private_yuvhwdata type SDL_GLattr is (SDL_GL_RED_SIZE, SDL_GL_GREEN_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_ALPHA_SIZE, SDL_GL_BUFFER_SIZE, SDL_GL_DOUBLEBUFFER, SDL_GL_DEPTH_SIZE, SDL_GL_STENCIL_SIZE, SDL_GL_ACCUM_RED_SIZE, SDL_GL_ACCUM_GREEN_SIZE, SDL_GL_ACCUM_BLUE_SIZE, SDL_GL_ACCUM_ALPHA_SIZE, SDL_GL_STEREO, SDL_GL_MULTISAMPLEBUFFERS, SDL_GL_MULTISAMPLESAMPLES, SDL_GL_ACCELERATED_VISUAL, SDL_GL_SWAP_CONTROL); pragma Convention (C, SDL_GLattr); -- ../include/SDL/SDL_video.h:248 function SDL_VideoInit (driver_name : Interfaces.C.Strings.chars_ptr; flags : SDL_SDL_stdinc_h.Uint32) return int; -- ../include/SDL/SDL_video.h:275 pragma Import (C, SDL_VideoInit, "SDL_VideoInit"); procedure SDL_VideoQuit; -- ../include/SDL/SDL_video.h:276 pragma Import (C, SDL_VideoQuit, "SDL_VideoQuit"); function SDL_VideoDriverName (namebuf : Interfaces.C.Strings.chars_ptr; maxlen : int) return Interfaces.C.Strings.chars_ptr; -- ../include/SDL/SDL_video.h:284 pragma Import (C, SDL_VideoDriverName, "SDL_VideoDriverName"); function SDL_GetVideoSurface return access SDL_Surface; -- ../include/SDL/SDL_video.h:292 pragma Import (C, SDL_GetVideoSurface, "SDL_GetVideoSurface"); function SDL_GetVideoInfo return System.Address; -- ../include/SDL/SDL_video.h:300 pragma Import (C, SDL_GetVideoInfo, "SDL_GetVideoInfo"); function SDL_VideoModeOK (width : int; height : int; bpp : int; flags : SDL_SDL_stdinc_h.Uint32) return int; -- ../include/SDL/SDL_video.h:313 pragma Import (C, SDL_VideoModeOK, "SDL_VideoModeOK"); function SDL_ListModes (format : access SDL_PixelFormat; flags : SDL_SDL_stdinc_h.Uint32) return System.Address; -- ../include/SDL/SDL_video.h:324 pragma Import (C, SDL_ListModes, "SDL_ListModes"); function SDL_SetVideoMode (width : int; height : int; bpp : int; flags : SDL_SDL_stdinc_h.Uint32) return access SDL_Surface; -- ../include/SDL/SDL_video.h:384 pragma Import (C, SDL_SetVideoMode, "SDL_SetVideoMode"); procedure SDL_UpdateRects (screen : access SDL_Surface; numrects : int; rects : access SDL_Rect); -- ../include/SDL/SDL_video.h:394 pragma Import (C, SDL_UpdateRects, "SDL_UpdateRects"); procedure SDL_UpdateRect (screen : access SDL_Surface; x : SDL_SDL_stdinc_h.Sint32; y : SDL_SDL_stdinc_h.Sint32; w : SDL_SDL_stdinc_h.Uint32; h : SDL_SDL_stdinc_h.Uint32); -- ../include/SDL/SDL_video.h:400 pragma Import (C, SDL_UpdateRect, "SDL_UpdateRect"); function SDL_Flip (screen : access SDL_Surface) return int; -- ../include/SDL/SDL_video.h:414 pragma Import (C, SDL_Flip, "SDL_Flip"); function SDL_SetGamma (red : float; green : float; blue : float) return int; -- ../include/SDL/SDL_video.h:424 pragma Import (C, SDL_SetGamma, "SDL_SetGamma"); function SDL_SetGammaRamp (red : access SDL_SDL_stdinc_h.Uint16; green : access SDL_SDL_stdinc_h.Uint16; blue : access SDL_SDL_stdinc_h.Uint16) return int; -- ../include/SDL/SDL_video.h:438 pragma Import (C, SDL_SetGammaRamp, "SDL_SetGammaRamp"); function SDL_GetGammaRamp (red : access SDL_SDL_stdinc_h.Uint16; green : access SDL_SDL_stdinc_h.Uint16; blue : access SDL_SDL_stdinc_h.Uint16) return int; -- ../include/SDL/SDL_video.h:449 pragma Import (C, SDL_GetGammaRamp, "SDL_GetGammaRamp"); function SDL_SetColors (surface : access SDL_Surface; colors : access SDL_Color; firstcolor : int; ncolors : int) return int; -- ../include/SDL/SDL_video.h:466 pragma Import (C, SDL_SetColors, "SDL_SetColors"); function SDL_SetPalette (surface : access SDL_Surface; flags : int; colors : access SDL_Color; firstcolor : int; ncolors : int) return int; -- ../include/SDL/SDL_video.h:485 pragma Import (C, SDL_SetPalette, "SDL_SetPalette"); function SDL_MapRGB (format : System.Address; r : SDL_SDL_stdinc_h.Uint8; g : SDL_SDL_stdinc_h.Uint8; b : SDL_SDL_stdinc_h.Uint8) return SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:492 pragma Import (C, SDL_MapRGB, "SDL_MapRGB"); function SDL_MapRGBA (format : System.Address; r : SDL_SDL_stdinc_h.Uint8; g : SDL_SDL_stdinc_h.Uint8; b : SDL_SDL_stdinc_h.Uint8; a : SDL_SDL_stdinc_h.Uint8) return SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_video.h:499 pragma Import (C, SDL_MapRGBA, "SDL_MapRGBA"); procedure SDL_GetRGB (pixel : SDL_SDL_stdinc_h.Uint32; fmt : System.Address; r : access SDL_SDL_stdinc_h.Uint8; g : access SDL_SDL_stdinc_h.Uint8; b : access SDL_SDL_stdinc_h.Uint8); -- ../include/SDL/SDL_video.h:506 pragma Import (C, SDL_GetRGB, "SDL_GetRGB"); procedure SDL_GetRGBA (pixel : SDL_SDL_stdinc_h.Uint32; fmt : System.Address; r : access SDL_SDL_stdinc_h.Uint8; g : access SDL_SDL_stdinc_h.Uint8; b : access SDL_SDL_stdinc_h.Uint8; a : access SDL_SDL_stdinc_h.Uint8); -- ../include/SDL/SDL_video.h:513 pragma Import (C, SDL_GetRGBA, "SDL_GetRGBA"); function SDL_CreateRGBSurface (flags : SDL_SDL_stdinc_h.Uint32; width : int; height : int; depth : int; Rmask : SDL_SDL_stdinc_h.Uint32; Gmask : SDL_SDL_stdinc_h.Uint32; Bmask : SDL_SDL_stdinc_h.Uint32; Amask : SDL_SDL_stdinc_h.Uint32) return access SDL_Surface; -- ../include/SDL/SDL_video.h:553 pragma Import (C, SDL_CreateRGBSurface, "SDL_CreateRGBSurface"); function SDL_CreateRGBSurfaceFrom (pixels : System.Address; width : int; height : int; depth : int; pitch : int; Rmask : SDL_SDL_stdinc_h.Uint32; Gmask : SDL_SDL_stdinc_h.Uint32; Bmask : SDL_SDL_stdinc_h.Uint32; Amask : SDL_SDL_stdinc_h.Uint32) return access SDL_Surface; -- ../include/SDL/SDL_video.h:557 pragma Import (C, SDL_CreateRGBSurfaceFrom, "SDL_CreateRGBSurfaceFrom"); procedure SDL_FreeSurface (surface : access SDL_Surface); -- ../include/SDL/SDL_video.h:560 pragma Import (C, SDL_FreeSurface, "SDL_FreeSurface"); function SDL_LockSurface (surface : access SDL_Surface) return int; -- ../include/SDL/SDL_video.h:580 pragma Import (C, SDL_LockSurface, "SDL_LockSurface"); procedure SDL_UnlockSurface (surface : access SDL_Surface); -- ../include/SDL/SDL_video.h:581 pragma Import (C, SDL_UnlockSurface, "SDL_UnlockSurface"); function SDL_LoadBMP_RW (src : access SDL_SDL_rwops_h.SDL_RWops; freesrc : int) return access SDL_Surface; -- ../include/SDL/SDL_video.h:589 pragma Import (C, SDL_LoadBMP_RW, "SDL_LoadBMP_RW"); function SDL_SaveBMP_RW (surface : access SDL_Surface; dst : access SDL_SDL_rwops_h.SDL_RWops; freedst : int) return int; -- ../include/SDL/SDL_video.h:599 pragma Import (C, SDL_SaveBMP_RW, "SDL_SaveBMP_RW"); function SDL_SetColorKey (surface : access SDL_Surface; flag : SDL_SDL_stdinc_h.Uint32; key : SDL_SDL_stdinc_h.Uint32) return int; -- ../include/SDL/SDL_video.h:615 pragma Import (C, SDL_SetColorKey, "SDL_SetColorKey"); function SDL_SetAlpha (surface : access SDL_Surface; flag : SDL_SDL_stdinc_h.Uint32; alpha : SDL_SDL_stdinc_h.Uint8) return int; -- ../include/SDL/SDL_video.h:633 pragma Import (C, SDL_SetAlpha, "SDL_SetAlpha"); function SDL_SetClipRect (surface : access SDL_Surface; rect : System.Address) return SDL_SDL_stdinc_h.SDL_bool; -- ../include/SDL/SDL_video.h:647 pragma Import (C, SDL_SetClipRect, "SDL_SetClipRect"); procedure SDL_GetClipRect (surface : access SDL_Surface; rect : access SDL_Rect); -- ../include/SDL/SDL_video.h:654 pragma Import (C, SDL_GetClipRect, "SDL_GetClipRect"); function SDL_ConvertSurface (src : access SDL_Surface; fmt : access SDL_PixelFormat; flags : SDL_SDL_stdinc_h.Uint32) return access SDL_Surface; -- ../include/SDL/SDL_video.h:668 pragma Import (C, SDL_ConvertSurface, "SDL_ConvertSurface"); function SDL_UpperBlit (src : access SDL_Surface; srcrect : access SDL_Rect; dst : access SDL_Surface; dstrect : access SDL_Rect) return int; -- ../include/SDL/SDL_video.h:748 pragma Import (C, SDL_UpperBlit, "SDL_UpperBlit"); function SDL_LowerBlit (src : access SDL_Surface; srcrect : access SDL_Rect; dst : access SDL_Surface; dstrect : access SDL_Rect) return int; -- ../include/SDL/SDL_video.h:754 pragma Import (C, SDL_LowerBlit, "SDL_LowerBlit"); function SDL_FillRect (dst : access SDL_Surface; dstrect : access SDL_Rect; color : SDL_SDL_stdinc_h.Uint32) return int; -- ../include/SDL/SDL_video.h:767 pragma Import (C, SDL_FillRect, "SDL_FillRect"); function SDL_DisplayFormat (surface : access SDL_Surface) return access SDL_Surface; -- ../include/SDL/SDL_video.h:781 pragma Import (C, SDL_DisplayFormat, "SDL_DisplayFormat"); function SDL_DisplayFormatAlpha (surface : access SDL_Surface) return access SDL_Surface; -- ../include/SDL/SDL_video.h:795 pragma Import (C, SDL_DisplayFormatAlpha, "SDL_DisplayFormatAlpha"); function SDL_CreateYUVOverlay (width : int; height : int; format : SDL_SDL_stdinc_h.Uint32; display : access SDL_Surface) return access SDL_Overlay; -- ../include/SDL/SDL_video.h:807 pragma Import (C, SDL_CreateYUVOverlay, "SDL_CreateYUVOverlay"); function SDL_LockYUVOverlay (overlay : access SDL_Overlay) return int; -- ../include/SDL/SDL_video.h:811 pragma Import (C, SDL_LockYUVOverlay, "SDL_LockYUVOverlay"); procedure SDL_UnlockYUVOverlay (overlay : access SDL_Overlay); -- ../include/SDL/SDL_video.h:812 pragma Import (C, SDL_UnlockYUVOverlay, "SDL_UnlockYUVOverlay"); function SDL_DisplayYUVOverlay (overlay : access SDL_Overlay; dstrect : access SDL_Rect) return int; -- ../include/SDL/SDL_video.h:820 pragma Import (C, SDL_DisplayYUVOverlay, "SDL_DisplayYUVOverlay"); procedure SDL_FreeYUVOverlay (overlay : access SDL_Overlay); -- ../include/SDL/SDL_video.h:823 pragma Import (C, SDL_FreeYUVOverlay, "SDL_FreeYUVOverlay"); function SDL_GL_LoadLibrary (path : Interfaces.C.Strings.chars_ptr) return int; -- ../include/SDL/SDL_video.h:837 pragma Import (C, SDL_GL_LoadLibrary, "SDL_GL_LoadLibrary"); function SDL_GL_GetProcAddress (proc : Interfaces.C.Strings.chars_ptr) return System.Address; -- ../include/SDL/SDL_video.h:842 pragma Import (C, SDL_GL_GetProcAddress, "SDL_GL_GetProcAddress"); function SDL_GL_SetAttribute (attr : SDL_GLattr; value : int) return int; -- ../include/SDL/SDL_video.h:847 pragma Import (C, SDL_GL_SetAttribute, "SDL_GL_SetAttribute"); function SDL_GL_GetAttribute (attr : SDL_GLattr; value : access int) return int; -- ../include/SDL/SDL_video.h:858 pragma Import (C, SDL_GL_GetAttribute, "SDL_GL_GetAttribute"); procedure SDL_GL_SwapBuffers; -- ../include/SDL/SDL_video.h:863 pragma Import (C, SDL_GL_SwapBuffers, "SDL_GL_SwapBuffers"); procedure SDL_GL_UpdateRects (numrects : int; rects : access SDL_Rect); -- ../include/SDL/SDL_video.h:870 pragma Import (C, SDL_GL_UpdateRects, "SDL_GL_UpdateRects"); procedure SDL_GL_Lock; -- ../include/SDL/SDL_video.h:871 pragma Import (C, SDL_GL_Lock, "SDL_GL_Lock"); procedure SDL_GL_Unlock; -- ../include/SDL/SDL_video.h:872 pragma Import (C, SDL_GL_Unlock, "SDL_GL_Unlock"); procedure SDL_WM_SetCaption (title : Interfaces.C.Strings.chars_ptr; icon : Interfaces.C.Strings.chars_ptr); -- ../include/SDL/SDL_video.h:885 pragma Import (C, SDL_WM_SetCaption, "SDL_WM_SetCaption"); procedure SDL_WM_GetCaption (title : System.Address; icon : System.Address); -- ../include/SDL/SDL_video.h:889 pragma Import (C, SDL_WM_GetCaption, "SDL_WM_GetCaption"); procedure SDL_WM_SetIcon (icon : access SDL_Surface; mask : access SDL_SDL_stdinc_h.Uint8); -- ../include/SDL/SDL_video.h:897 pragma Import (C, SDL_WM_SetIcon, "SDL_WM_SetIcon"); function SDL_WM_IconifyWindow return int; -- ../include/SDL/SDL_video.h:904 pragma Import (C, SDL_WM_IconifyWindow, "SDL_WM_IconifyWindow"); function SDL_WM_ToggleFullScreen (surface : access SDL_Surface) return int; -- ../include/SDL/SDL_video.h:921 pragma Import (C, SDL_WM_ToggleFullScreen, "SDL_WM_ToggleFullScreen"); subtype SDL_GrabMode is unsigned; SDL_GRAB_QUERY : constant SDL_GrabMode := -1; SDL_GRAB_OFF : constant SDL_GrabMode := 0; SDL_GRAB_ON : constant SDL_GrabMode := 1; SDL_GRAB_FULLSCREEN : constant SDL_GrabMode := 2; -- ../include/SDL/SDL_video.h:928 function SDL_WM_GrabInput (mode : SDL_GrabMode) return SDL_GrabMode; -- ../include/SDL/SDL_video.h:937 pragma Import (C, SDL_WM_GrabInput, "SDL_WM_GrabInput"); function SDL_SoftStretch (src : access SDL_Surface; srcrect : access SDL_Rect; dst : access SDL_Surface; dstrect : access SDL_Rect) return int; -- ../include/SDL/SDL_video.h:942 pragma Import (C, SDL_SoftStretch, "SDL_SoftStretch"); end SDL_SDL_video_h;
48.216274
162
0.701381
df3b4a83b51617a6f9579317fd04e38807d6cb5c
13,973
adb
Ada
gcc-gcc-7_3_0-release/gcc/ada/s-mudido-affinity.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/s-mudido-affinity.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/s-mudido-affinity.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- SYSTEM.MULTIPROCESSORS.DISPATCHING_DOMAINS -- -- -- -- B o d y -- -- -- -- Copyright (C) 2011-2015, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- Body used on targets where the operating system supports setting task -- affinities. with System.Tasking.Initialization; with System.Task_Primitives.Operations; use System.Task_Primitives.Operations; with Ada.Unchecked_Conversion; package body System.Multiprocessors.Dispatching_Domains is package ST renames System.Tasking; ----------------------- -- Local subprograms -- ----------------------- function Convert_Ids is new Ada.Unchecked_Conversion (Ada.Task_Identification.Task_Id, ST.Task_Id); procedure Unchecked_Set_Affinity (Domain : ST.Dispatching_Domain_Access; CPU : CPU_Range; T : ST.Task_Id); -- Internal procedure to move a task to a target domain and CPU. No checks -- are performed about the validity of the domain and the CPU because they -- are done by the callers of this procedure (either Assign_Task or -- Set_CPU). procedure Freeze_Dispatching_Domains; pragma Export (Ada, Freeze_Dispatching_Domains, "__gnat_freeze_dispatching_domains"); -- Signal the time when no new dispatching domains can be created. It -- should be called before the environment task calls the main procedure -- (and after the elaboration code), so the binder-generated file needs to -- import and call this procedure. ----------------- -- Assign_Task -- ----------------- procedure Assign_Task (Domain : in out Dispatching_Domain; CPU : CPU_Range := Not_A_Specific_CPU; T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) is Target : constant ST.Task_Id := Convert_Ids (T); use type ST.Dispatching_Domain_Access; begin -- The exception Dispatching_Domain_Error is propagated if T is already -- assigned to a Dispatching_Domain other than -- System_Dispatching_Domain, or if CPU is not one of the processors of -- Domain (and is not Not_A_Specific_CPU). if Dispatching_Domain (Target.Common.Domain) /= System_Dispatching_Domain then raise Dispatching_Domain_Error with "task already in user-defined dispatching domain"; elsif CPU /= Not_A_Specific_CPU and then CPU not in Domain'Range then raise Dispatching_Domain_Error with "processor does not belong to dispatching domain"; end if; -- Assigning a task to System_Dispatching_Domain that is already -- assigned to that domain has no effect. if Domain = System_Dispatching_Domain then return; else -- Set the task affinity once we know it is possible Unchecked_Set_Affinity (ST.Dispatching_Domain_Access (Domain), CPU, Target); end if; end Assign_Task; ------------ -- Create -- ------------ function Create (First : CPU; Last : CPU_Range) return Dispatching_Domain is begin return Create ((First .. Last => True)); end Create; function Create (Set : CPU_Set) return Dispatching_Domain is ST_DD : aliased constant ST.Dispatching_Domain := ST.Dispatching_Domain (Set); First : constant CPU := Get_First_CPU (ST_DD'Unrestricted_Access); Last : constant CPU_Range := Get_Last_CPU (ST_DD'Unrestricted_Access); subtype Rng is CPU_Range range First .. Last; use type ST.Dispatching_Domain; use type ST.Dispatching_Domain_Access; use type ST.Array_Allocated_Tasks; use type ST.Task_Id; T : ST.Task_Id; New_System_Domain : ST.Dispatching_Domain := ST.System_Domain.all; ST_DD_Slice : constant ST.Dispatching_Domain := ST_DD (Rng); begin -- The set of processors for creating a dispatching domain must -- comply with the following restrictions: -- - Not exceeding the range of available processors. -- - CPUs from the System_Dispatching_Domain. -- - The calling task must be the environment task. -- - The call to Create must take place before the call to the main -- subprogram. -- - Set does not contain a processor with a task assigned to it. -- - The allocation cannot leave System_Dispatching_Domain empty. -- Note that a previous version of the language forbade empty domains. if Rng'Last > Number_Of_CPUs then raise Dispatching_Domain_Error with "CPU not supported by the target"; end if; declare System_Domain_Slice : constant ST.Dispatching_Domain := ST.System_Domain (Rng); Actual : constant ST.Dispatching_Domain := ST_DD_Slice and not System_Domain_Slice; Expected : constant ST.Dispatching_Domain := (Rng => False); begin if Actual /= Expected then raise Dispatching_Domain_Error with "CPU not currently in System_Dispatching_Domain"; end if; end; if Self /= Environment_Task then raise Dispatching_Domain_Error with "only the environment task can create dispatching domains"; end if; if ST.Dispatching_Domains_Frozen then raise Dispatching_Domain_Error with "cannot create dispatching domain after call to main procedure"; end if; for Proc in Rng loop if ST_DD (Proc) and then ST.Dispatching_Domain_Tasks (Proc) /= 0 then raise Dispatching_Domain_Error with "CPU has tasks assigned"; end if; end loop; New_System_Domain (Rng) := New_System_Domain (Rng) and not ST_DD_Slice; if New_System_Domain = (New_System_Domain'Range => False) then raise Dispatching_Domain_Error with "would leave System_Dispatching_Domain empty"; end if; return Result : constant Dispatching_Domain := new ST.Dispatching_Domain'(ST_DD_Slice) do -- At this point we need to fix the processors belonging to the -- system domain, and change the affinity of every task that has -- been created and assigned to the system domain. ST.Initialization.Defer_Abort (Self); Lock_RTS; ST.System_Domain (Rng) := New_System_Domain (Rng); pragma Assert (ST.System_Domain.all = New_System_Domain); -- Iterate the list of tasks belonging to the default system -- dispatching domain and set the appropriate affinity. T := ST.All_Tasks_List; while T /= null loop if T.Common.Domain = ST.System_Domain then Set_Task_Affinity (T); end if; T := T.Common.All_Tasks_Link; end loop; Unlock_RTS; ST.Initialization.Undefer_Abort (Self); end return; end Create; ----------------------------- -- Delay_Until_And_Set_CPU -- ----------------------------- procedure Delay_Until_And_Set_CPU (Delay_Until_Time : Ada.Real_Time.Time; CPU : CPU_Range) is begin -- Not supported atomically by the underlying operating systems. -- Operating systems use to migrate the task immediately after the call -- to set the affinity. delay until Delay_Until_Time; Set_CPU (CPU); end Delay_Until_And_Set_CPU; -------------------------------- -- Freeze_Dispatching_Domains -- -------------------------------- procedure Freeze_Dispatching_Domains is begin -- Signal the end of the elaboration code ST.Dispatching_Domains_Frozen := True; end Freeze_Dispatching_Domains; ------------- -- Get_CPU -- ------------- function Get_CPU (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) return CPU_Range is begin return Convert_Ids (T).Common.Base_CPU; end Get_CPU; ----------------- -- Get_CPU_Set -- ----------------- function Get_CPU_Set (Domain : Dispatching_Domain) return CPU_Set is begin return CPU_Set (Domain.all); end Get_CPU_Set; ---------------------------- -- Get_Dispatching_Domain -- ---------------------------- function Get_Dispatching_Domain (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) return Dispatching_Domain is begin return Result : constant Dispatching_Domain := Dispatching_Domain (Convert_Ids (T).Common.Domain) do pragma Assert (Result /= null); end return; end Get_Dispatching_Domain; ------------------- -- Get_First_CPU -- ------------------- function Get_First_CPU (Domain : Dispatching_Domain) return CPU is begin for Proc in Domain'Range loop if Domain (Proc) then return Proc; end if; end loop; return CPU'First; end Get_First_CPU; ------------------ -- Get_Last_CPU -- ------------------ function Get_Last_CPU (Domain : Dispatching_Domain) return CPU_Range is begin for Proc in reverse Domain'Range loop if Domain (Proc) then return Proc; end if; end loop; return CPU_Range'First; end Get_Last_CPU; ------------- -- Set_CPU -- ------------- procedure Set_CPU (CPU : CPU_Range; T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) is Target : constant ST.Task_Id := Convert_Ids (T); use type ST.Dispatching_Domain_Access; begin -- The exception Dispatching_Domain_Error is propagated if CPU is not -- one of the processors of the Dispatching_Domain on which T is -- assigned (and is not Not_A_Specific_CPU). if CPU /= Not_A_Specific_CPU and then (CPU not in Target.Common.Domain'Range or else not Target.Common.Domain (CPU)) then raise Dispatching_Domain_Error with "processor does not belong to the task's dispatching domain"; end if; Unchecked_Set_Affinity (Target.Common.Domain, CPU, Target); end Set_CPU; ---------------------------- -- Unchecked_Set_Affinity -- ---------------------------- procedure Unchecked_Set_Affinity (Domain : ST.Dispatching_Domain_Access; CPU : CPU_Range; T : ST.Task_Id) is Source_CPU : constant CPU_Range := T.Common.Base_CPU; use type ST.Dispatching_Domain_Access; begin Write_Lock (T); -- Move to the new domain T.Common.Domain := Domain; -- Attach the CPU to the task T.Common.Base_CPU := CPU; -- Change the number of tasks attached to a given task in the system -- domain if needed. if not ST.Dispatching_Domains_Frozen and then (Domain = null or else Domain = ST.System_Domain) then -- Reduce the number of tasks attached to the CPU from which this -- task is being moved, if needed. if Source_CPU /= Not_A_Specific_CPU then ST.Dispatching_Domain_Tasks (Source_CPU) := ST.Dispatching_Domain_Tasks (Source_CPU) - 1; end if; -- Increase the number of tasks attached to the CPU to which this -- task is being moved, if needed. if CPU /= Not_A_Specific_CPU then ST.Dispatching_Domain_Tasks (CPU) := ST.Dispatching_Domain_Tasks (CPU) + 1; end if; end if; -- Change the actual affinity calling the operating system level Set_Task_Affinity (T); Unlock (T); end Unchecked_Set_Affinity; end System.Multiprocessors.Dispatching_Domains;
34.331695
79
0.585057
dfb133bee96f1f8c11b976bc6daf4b24fcb83895
3,638
ads
Ada
source/amf/uml/amf-umldi-uml_profile_diagrams-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-umldi-uml_profile_diagrams-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-umldi-uml_profile_diagrams-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements.Generic_Hash; function AMF.UMLDI.UML_Profile_Diagrams.Hash is new AMF.Elements.Generic_Hash (UMLDI_UML_Profile_Diagram, UMLDI_UML_Profile_Diagram_Access);
72.76
94
0.406817
18da08299b9b45240fbe3271e565b4457ea1ffd3
406,247
ads
Ada
SVD2ada/svd/stm32_svd-hrtim.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
SVD2ada/svd/stm32_svd-hrtim.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
SVD2ada/svd/stm32_svd-hrtim.ads
JCGobbi/Nucleo-STM32H743ZI
bb0b5a66e9ac8b3dbe381f9909df5ed5d77dad1c
[ "BSD-3-Clause" ]
null
null
null
pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.HRTIM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_AD1USRC_Field is HAL.UInt3; subtype CR1_AD2USRC_Field is HAL.UInt3; subtype CR1_AD3USRC_Field is HAL.UInt3; subtype CR1_AD4USRC_Field is HAL.UInt3; -- Control Register 1 type CR1_Register is record -- Master Update Disable MUDIS : Boolean := False; -- Timer A Update Disable TAUDIS : Boolean := False; -- Timer B Update Disable TBUDIS : Boolean := False; -- Timer C Update Disable TCUDIS : Boolean := False; -- Timer D Update Disable TDUDIS : Boolean := False; -- Timer E Update Disable TEUDIS : Boolean := False; -- unspecified Reserved_6_15 : HAL.UInt10 := 16#0#; -- ADC Trigger 1 Update Source AD1USRC : CR1_AD1USRC_Field := 16#0#; -- ADC Trigger 2 Update Source AD2USRC : CR1_AD2USRC_Field := 16#0#; -- ADC Trigger 3 Update Source AD3USRC : CR1_AD3USRC_Field := 16#0#; -- ADC Trigger 4 Update Source AD4USRC : CR1_AD4USRC_Field := 16#0#; -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record MUDIS at 0 range 0 .. 0; TAUDIS at 0 range 1 .. 1; TBUDIS at 0 range 2 .. 2; TCUDIS at 0 range 3 .. 3; TDUDIS at 0 range 4 .. 4; TEUDIS at 0 range 5 .. 5; Reserved_6_15 at 0 range 6 .. 15; AD1USRC at 0 range 16 .. 18; AD2USRC at 0 range 19 .. 21; AD3USRC at 0 range 22 .. 24; AD4USRC at 0 range 25 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; -- Control Register 2 type CR2_Register is record -- Master Timer Software update MSWU : Boolean := False; -- Timer A Software update TASWU : Boolean := False; -- Timer B Software Update TBSWU : Boolean := False; -- Timer C Software Update TCSWU : Boolean := False; -- Timer D Software Update TDSWU : Boolean := False; -- Timer E Software Update TESWU : Boolean := False; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; -- Master Counter software reset MRST : Boolean := False; -- Timer A counter software reset TARST : Boolean := False; -- Timer B counter software reset TBRST : Boolean := False; -- Timer C counter software reset TCRST : Boolean := False; -- Timer D counter software reset TDRST : Boolean := False; -- Timer E counter software reset TERST : Boolean := False; -- unspecified Reserved_14_31 : HAL.UInt18 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record MSWU at 0 range 0 .. 0; TASWU at 0 range 1 .. 1; TBSWU at 0 range 2 .. 2; TCSWU at 0 range 3 .. 3; TDSWU at 0 range 4 .. 4; TESWU at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; MRST at 0 range 8 .. 8; TARST at 0 range 9 .. 9; TBRST at 0 range 10 .. 10; TCRST at 0 range 11 .. 11; TDRST at 0 range 12 .. 12; TERST at 0 range 13 .. 13; Reserved_14_31 at 0 range 14 .. 31; end record; -- ISR_FLT array type ISR_FLT_Field_Array is array (1 .. 5) of Boolean with Component_Size => 1, Size => 5; -- Type definition for ISR_FLT type ISR_FLT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- FLT as a value Val : HAL.UInt5; when True => -- FLT as an array Arr : ISR_FLT_Field_Array; end case; end record with Unchecked_Union, Size => 5; for ISR_FLT_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- Interrupt Status Register type ISR_Register is record -- Read-only. Fault 1 Interrupt Flag FLT : ISR_FLT_Field := (As_Array => False, Val => 16#0#); -- System Fault Interrupt Flag SYSFLT : Boolean := False; -- unspecified Reserved_6_15 : HAL.UInt10 := 16#0#; -- Read-only. DLL Ready Interrupt Flag DLLRDY : Boolean := False; -- Read-only. Burst mode Period Interrupt Flag BMPER : Boolean := False; -- unspecified Reserved_18_31 : HAL.UInt14 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record FLT at 0 range 0 .. 4; SYSFLT at 0 range 5 .. 5; Reserved_6_15 at 0 range 6 .. 15; DLLRDY at 0 range 16 .. 16; BMPER at 0 range 17 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; -- Interrupt Clear Register type ICR_Register is record -- Write-only. Fault 1 Interrupt Flag Clear FLT1C : Boolean := False; -- Write-only. Fault 2 Interrupt Flag Clear FLT2C : Boolean := False; -- Write-only. Fault 3 Interrupt Flag Clear FLT3C : Boolean := False; -- Write-only. Fault 4 Interrupt Flag Clear FLT4C : Boolean := False; -- Write-only. Fault 5 Interrupt Flag Clear FLT5C : Boolean := False; -- System Fault Interrupt Flag Clear SYSFLTC : Boolean := False; -- unspecified Reserved_6_15 : HAL.UInt10 := 16#0#; -- Write-only. DLL Ready Interrupt flag Clear DLLRDYC : Boolean := False; -- Write-only. Burst mode period flag Clear BMPERC : Boolean := False; -- unspecified Reserved_18_31 : HAL.UInt14 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ICR_Register use record FLT1C at 0 range 0 .. 0; FLT2C at 0 range 1 .. 1; FLT3C at 0 range 2 .. 2; FLT4C at 0 range 3 .. 3; FLT5C at 0 range 4 .. 4; SYSFLTC at 0 range 5 .. 5; Reserved_6_15 at 0 range 6 .. 15; DLLRDYC at 0 range 16 .. 16; BMPERC at 0 range 17 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; -- Interrupt Enable Register type IER_Register is record -- Fault 1 Interrupt Enable FLT1IE : Boolean := False; -- Fault 2 Interrupt Enable FLT2IE : Boolean := False; -- Fault 3 Interrupt Enable FLT3IE : Boolean := False; -- Fault 4 Interrupt Enable FLT4IE : Boolean := False; -- Fault 5 Interrupt Enable FLT5IE : Boolean := False; -- System Fault Interrupt Enable SYSFLTE : Boolean := False; -- unspecified Reserved_6_15 : HAL.UInt10 := 16#0#; -- DLL Ready Interrupt Enable DLLRDYIE : Boolean := False; -- Burst mode period Interrupt Enable BMPERIE : Boolean := False; -- unspecified Reserved_18_31 : HAL.UInt14 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for IER_Register use record FLT1IE at 0 range 0 .. 0; FLT2IE at 0 range 1 .. 1; FLT3IE at 0 range 2 .. 2; FLT4IE at 0 range 3 .. 3; FLT5IE at 0 range 4 .. 4; SYSFLTE at 0 range 5 .. 5; Reserved_6_15 at 0 range 6 .. 15; DLLRDYIE at 0 range 16 .. 16; BMPERIE at 0 range 17 .. 17; Reserved_18_31 at 0 range 18 .. 31; end record; -- Output Enable Register type OENR_Register is record -- Write-only. Timer A Output 1 Enable TA1OEN : Boolean := False; -- Write-only. Timer A Output 2 Enable TA2OEN : Boolean := False; -- Write-only. Timer B Output 1 Enable TB1OEN : Boolean := False; -- Write-only. Timer B Output 2 Enable TB2OEN : Boolean := False; -- Write-only. Timer C Output 1 Enable TC1OEN : Boolean := False; -- Write-only. Timer C Output 2 Enable TC2OEN : Boolean := False; -- Write-only. Timer D Output 1 Enable TD1OEN : Boolean := False; -- Write-only. Timer D Output 2 Enable TD2OEN : Boolean := False; -- Write-only. Timer E Output 1 Enable TE1OEN : Boolean := False; -- Write-only. Timer E Output 2 Enable TE2OEN : Boolean := False; -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OENR_Register use record TA1OEN at 0 range 0 .. 0; TA2OEN at 0 range 1 .. 1; TB1OEN at 0 range 2 .. 2; TB2OEN at 0 range 3 .. 3; TC1OEN at 0 range 4 .. 4; TC2OEN at 0 range 5 .. 5; TD1OEN at 0 range 6 .. 6; TD2OEN at 0 range 7 .. 7; TE1OEN at 0 range 8 .. 8; TE2OEN at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; -- ODISR type ODISR_Register is record -- TA1ODIS TA1ODIS : Boolean := False; -- TA2ODIS TA2ODIS : Boolean := False; -- TB1ODIS TB1ODIS : Boolean := False; -- TB2ODIS TB2ODIS : Boolean := False; -- TC1ODIS TC1ODIS : Boolean := False; -- TC2ODIS TC2ODIS : Boolean := False; -- TD1ODIS TD1ODIS : Boolean := False; -- TD2ODIS TD2ODIS : Boolean := False; -- TE1ODIS TE1ODIS : Boolean := False; -- TE2ODIS TE2ODIS : Boolean := False; -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ODISR_Register use record TA1ODIS at 0 range 0 .. 0; TA2ODIS at 0 range 1 .. 1; TB1ODIS at 0 range 2 .. 2; TB2ODIS at 0 range 3 .. 3; TC1ODIS at 0 range 4 .. 4; TC2ODIS at 0 range 5 .. 5; TD1ODIS at 0 range 6 .. 6; TD2ODIS at 0 range 7 .. 7; TE1ODIS at 0 range 8 .. 8; TE2ODIS at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; -- Output Disable Status Register type ODSR_Register is record -- Read-only. Timer A Output 1 disable status TA1ODS : Boolean; -- Read-only. Timer A Output 2 disable status TA2ODS : Boolean; -- Read-only. Timer B Output 1 disable status TB1ODS : Boolean; -- Read-only. Timer B Output 2 disable status TB2ODS : Boolean; -- Read-only. Timer C Output 1 disable status TC1ODS : Boolean; -- Read-only. Timer C Output 2 disable status TC2ODS : Boolean; -- Read-only. Timer D Output 1 disable status TD1ODS : Boolean; -- Read-only. Timer D Output 2 disable status TD2ODS : Boolean; -- Read-only. Timer E Output 1 disable status TE1ODS : Boolean; -- Read-only. Timer E Output 2 disable status TE2ODS : Boolean; -- unspecified Reserved_10_31 : HAL.UInt22; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ODSR_Register use record TA1ODS at 0 range 0 .. 0; TA2ODS at 0 range 1 .. 1; TB1ODS at 0 range 2 .. 2; TB2ODS at 0 range 3 .. 3; TC1ODS at 0 range 4 .. 4; TC2ODS at 0 range 5 .. 5; TD1ODS at 0 range 6 .. 6; TD2ODS at 0 range 7 .. 7; TE1ODS at 0 range 8 .. 8; TE2ODS at 0 range 9 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; subtype BMCR_BMCLK_Field is HAL.UInt4; subtype BMCR_BMPRSC_Field is HAL.UInt4; -- Burst Mode Control Register type BMCR_Register is record -- Burst Mode enable BME : Boolean := False; -- Burst Mode operating mode BMOM : Boolean := False; -- Burst Mode Clock source BMCLK : BMCR_BMCLK_Field := 16#0#; -- Burst Mode Prescaler BMPRSC : BMCR_BMPRSC_Field := 16#0#; -- Burst Mode Preload Enable BMPREN : Boolean := False; -- unspecified Reserved_11_15 : HAL.UInt5 := 16#0#; -- Master Timer Burst Mode MTBM : Boolean := False; -- Timer A Burst Mode TABM : Boolean := False; -- Timer B Burst Mode TBBM : Boolean := False; -- Timer C Burst Mode TCBM : Boolean := False; -- Timer D Burst Mode TDBM : Boolean := False; -- Timer E Burst Mode TEBM : Boolean := False; -- unspecified Reserved_22_30 : HAL.UInt9 := 16#0#; -- Burst Mode Status BMSTAT : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BMCR_Register use record BME at 0 range 0 .. 0; BMOM at 0 range 1 .. 1; BMCLK at 0 range 2 .. 5; BMPRSC at 0 range 6 .. 9; BMPREN at 0 range 10 .. 10; Reserved_11_15 at 0 range 11 .. 15; MTBM at 0 range 16 .. 16; TABM at 0 range 17 .. 17; TBBM at 0 range 18 .. 18; TCBM at 0 range 19 .. 19; TDBM at 0 range 20 .. 20; TEBM at 0 range 21 .. 21; Reserved_22_30 at 0 range 22 .. 30; BMSTAT at 0 range 31 .. 31; end record; -- BMTRG_MSTCMP array type BMTRG_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for BMTRG_MSTCMP type BMTRG_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : BMTRG_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for BMTRG_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- BMTRG_TACMP array type BMTRG_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for BMTRG_TACMP type BMTRG_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : BMTRG_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for BMTRG_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- BMTRG_TBCMP array type BMTRG_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for BMTRG_TBCMP type BMTRG_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : BMTRG_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for BMTRG_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- BMTRG_TCCMP array type BMTRG_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for BMTRG_TCCMP type BMTRG_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : BMTRG_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for BMTRG_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- BMTRG_TDCMP array type BMTRG_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for BMTRG_TDCMP type BMTRG_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : BMTRG_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for BMTRG_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- BMTRG_TECMP array type BMTRG_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for BMTRG_TECMP type BMTRG_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : BMTRG_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for BMTRG_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- BMTRG type BMTRG_Register is record -- SW SW : Boolean := False; -- MSTRST MSTRST : Boolean := False; -- MSTREP MSTREP : Boolean := False; -- MSTCMP1 MSTCMP : BMTRG_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TARST TARST : Boolean := False; -- TAREP TAREP : Boolean := False; -- TACMP1 TACMP : BMTRG_TACMP_Field := (As_Array => False, Val => 16#0#); -- TBRST TBRST : Boolean := False; -- TBREP TBREP : Boolean := False; -- TBCMP1 TBCMP : BMTRG_TBCMP_Field := (As_Array => False, Val => 16#0#); -- TCRST TCRST : Boolean := False; -- TCREP TCREP : Boolean := False; -- TCCMP1 TCCMP : BMTRG_TCCMP_Field := (As_Array => False, Val => 16#0#); -- TDRST TDRST : Boolean := False; -- TDREP TDREP : Boolean := False; -- TDCMP1 TDCMP : BMTRG_TDCMP_Field := (As_Array => False, Val => 16#0#); -- TERST TERST : Boolean := False; -- TEREP TEREP : Boolean := False; -- TECMP1 TECMP : BMTRG_TECMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_27_30 : HAL.UInt4 := 16#0#; -- OCHPEV OCHPEV : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BMTRG_Register use record SW at 0 range 0 .. 0; MSTRST at 0 range 1 .. 1; MSTREP at 0 range 2 .. 2; MSTCMP at 0 range 3 .. 6; TARST at 0 range 7 .. 7; TAREP at 0 range 8 .. 8; TACMP at 0 range 9 .. 10; TBRST at 0 range 11 .. 11; TBREP at 0 range 12 .. 12; TBCMP at 0 range 13 .. 14; TCRST at 0 range 15 .. 15; TCREP at 0 range 16 .. 16; TCCMP at 0 range 17 .. 18; TDRST at 0 range 19 .. 19; TDREP at 0 range 20 .. 20; TDCMP at 0 range 21 .. 22; TERST at 0 range 23 .. 23; TEREP at 0 range 24 .. 24; TECMP at 0 range 25 .. 26; Reserved_27_30 at 0 range 27 .. 30; OCHPEV at 0 range 31 .. 31; end record; subtype BMCMPR_BMCMP_Field is HAL.UInt16; -- BMCMPR type BMCMPR_Register is record -- BMCMP BMCMP : BMCMPR_BMCMP_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BMCMPR_Register use record BMCMP at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype BMPER_BMPER_Field is HAL.UInt16; -- Burst Mode Period Register type BMPER_Register is record -- Burst mode Period BMPER : BMPER_BMPER_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BMPER_Register use record BMPER at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype EECR1_EE1SRC_Field is HAL.UInt2; subtype EECR1_EE1SNS_Field is HAL.UInt2; subtype EECR1_EE2SRC_Field is HAL.UInt2; subtype EECR1_EE2SNS_Field is HAL.UInt2; subtype EECR1_EE3SRC_Field is HAL.UInt2; subtype EECR1_EE3SNS_Field is HAL.UInt2; subtype EECR1_EE4SRC_Field is HAL.UInt2; subtype EECR1_EE4SNS_Field is HAL.UInt2; subtype EECR1_EE5SRC_Field is HAL.UInt2; subtype EECR1_EE5SNS_Field is HAL.UInt2; -- Timer External Event Control Register 1 type EECR1_Register is record -- External Event 1 Source EE1SRC : EECR1_EE1SRC_Field := 16#0#; -- External Event 1 Polarity EE1POL : Boolean := False; -- External Event 1 Sensitivity EE1SNS : EECR1_EE1SNS_Field := 16#0#; -- External Event 1 Fast mode EE1FAST : Boolean := False; -- External Event 2 Source EE2SRC : EECR1_EE2SRC_Field := 16#0#; -- External Event 2 Polarity EE2POL : Boolean := False; -- External Event 2 Sensitivity EE2SNS : EECR1_EE2SNS_Field := 16#0#; -- External Event 2 Fast mode EE2FAST : Boolean := False; -- External Event 3 Source EE3SRC : EECR1_EE3SRC_Field := 16#0#; -- External Event 3 Polarity EE3POL : Boolean := False; -- External Event 3 Sensitivity EE3SNS : EECR1_EE3SNS_Field := 16#0#; -- External Event 3 Fast mode EE3FAST : Boolean := False; -- External Event 4 Source EE4SRC : EECR1_EE4SRC_Field := 16#0#; -- External Event 4 Polarity EE4POL : Boolean := False; -- External Event 4 Sensitivity EE4SNS : EECR1_EE4SNS_Field := 16#0#; -- External Event 4 Fast mode EE4FAST : Boolean := False; -- External Event 5 Source EE5SRC : EECR1_EE5SRC_Field := 16#0#; -- External Event 5 Polarity EE5POL : Boolean := False; -- External Event 5 Sensitivity EE5SNS : EECR1_EE5SNS_Field := 16#0#; -- External Event 5 Fast mode EE5FAST : Boolean := False; -- unspecified Reserved_30_31 : HAL.UInt2 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EECR1_Register use record EE1SRC at 0 range 0 .. 1; EE1POL at 0 range 2 .. 2; EE1SNS at 0 range 3 .. 4; EE1FAST at 0 range 5 .. 5; EE2SRC at 0 range 6 .. 7; EE2POL at 0 range 8 .. 8; EE2SNS at 0 range 9 .. 10; EE2FAST at 0 range 11 .. 11; EE3SRC at 0 range 12 .. 13; EE3POL at 0 range 14 .. 14; EE3SNS at 0 range 15 .. 16; EE3FAST at 0 range 17 .. 17; EE4SRC at 0 range 18 .. 19; EE4POL at 0 range 20 .. 20; EE4SNS at 0 range 21 .. 22; EE4FAST at 0 range 23 .. 23; EE5SRC at 0 range 24 .. 25; EE5POL at 0 range 26 .. 26; EE5SNS at 0 range 27 .. 28; EE5FAST at 0 range 29 .. 29; Reserved_30_31 at 0 range 30 .. 31; end record; subtype EECR2_EE6SRC_Field is HAL.UInt2; subtype EECR2_EE6SNS_Field is HAL.UInt2; subtype EECR2_EE7SRC_Field is HAL.UInt2; subtype EECR2_EE7SNS_Field is HAL.UInt2; subtype EECR2_EE8SRC_Field is HAL.UInt2; subtype EECR2_EE8SNS_Field is HAL.UInt2; subtype EECR2_EE9SRC_Field is HAL.UInt2; subtype EECR2_EE9SNS_Field is HAL.UInt2; subtype EECR2_EE10SRC_Field is HAL.UInt2; subtype EECR2_EE10SNS_Field is HAL.UInt2; -- Timer External Event Control Register 2 type EECR2_Register is record -- External Event 6 Source EE6SRC : EECR2_EE6SRC_Field := 16#0#; -- External Event 6 Polarity EE6POL : Boolean := False; -- External Event 6 Sensitivity EE6SNS : EECR2_EE6SNS_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 7 Source EE7SRC : EECR2_EE7SRC_Field := 16#0#; -- External Event 7 Polarity EE7POL : Boolean := False; -- External Event 7 Sensitivity EE7SNS : EECR2_EE7SNS_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 8 Source EE8SRC : EECR2_EE8SRC_Field := 16#0#; -- External Event 8 Polarity EE8POL : Boolean := False; -- External Event 8 Sensitivity EE8SNS : EECR2_EE8SNS_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 9 Source EE9SRC : EECR2_EE9SRC_Field := 16#0#; -- External Event 9 Polarity EE9POL : Boolean := False; -- External Event 9 Sensitivity EE9SNS : EECR2_EE9SNS_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 10 Source EE10SRC : EECR2_EE10SRC_Field := 16#0#; -- External Event 10 Polarity EE10POL : Boolean := False; -- External Event 10 Sensitivity EE10SNS : EECR2_EE10SNS_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EECR2_Register use record EE6SRC at 0 range 0 .. 1; EE6POL at 0 range 2 .. 2; EE6SNS at 0 range 3 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE7SRC at 0 range 6 .. 7; EE7POL at 0 range 8 .. 8; EE7SNS at 0 range 9 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE8SRC at 0 range 12 .. 13; EE8POL at 0 range 14 .. 14; EE8SNS at 0 range 15 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE9SRC at 0 range 18 .. 19; EE9POL at 0 range 20 .. 20; EE9SNS at 0 range 21 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE10SRC at 0 range 24 .. 25; EE10POL at 0 range 26 .. 26; EE10SNS at 0 range 27 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype EECR3_EE6F_Field is HAL.UInt4; subtype EECR3_EE7F_Field is HAL.UInt4; subtype EECR3_EE8F_Field is HAL.UInt4; subtype EECR3_EE9F_Field is HAL.UInt4; subtype EECR3_EE10F_Field is HAL.UInt4; subtype EECR3_EEVSD_Field is HAL.UInt2; -- Timer External Event Control Register 3 type EECR3_Register is record -- EE6F EE6F : EECR3_EE6F_Field := 16#0#; -- unspecified Reserved_4_5 : HAL.UInt2 := 16#0#; -- EE7F EE7F : EECR3_EE7F_Field := 16#0#; -- unspecified Reserved_10_11 : HAL.UInt2 := 16#0#; -- EE8F EE8F : EECR3_EE8F_Field := 16#0#; -- unspecified Reserved_16_17 : HAL.UInt2 := 16#0#; -- EE9F EE9F : EECR3_EE9F_Field := 16#0#; -- unspecified Reserved_22_23 : HAL.UInt2 := 16#0#; -- EE10F EE10F : EECR3_EE10F_Field := 16#0#; -- unspecified Reserved_28_29 : HAL.UInt2 := 16#0#; -- EEVSD EEVSD : EECR3_EEVSD_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EECR3_Register use record EE6F at 0 range 0 .. 3; Reserved_4_5 at 0 range 4 .. 5; EE7F at 0 range 6 .. 9; Reserved_10_11 at 0 range 10 .. 11; EE8F at 0 range 12 .. 15; Reserved_16_17 at 0 range 16 .. 17; EE9F at 0 range 18 .. 21; Reserved_22_23 at 0 range 22 .. 23; EE10F at 0 range 24 .. 27; Reserved_28_29 at 0 range 28 .. 29; EEVSD at 0 range 30 .. 31; end record; -- ADC1R_AD1MC array type ADC1R_AD1MC_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for ADC1R_AD1MC type ADC1R_AD1MC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1MC as a value Val : HAL.UInt4; when True => -- AD1MC as an array Arr : ADC1R_AD1MC_Field_Array; end case; end record with Unchecked_Union, Size => 4; for ADC1R_AD1MC_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- ADC1R_AD1EEV array type ADC1R_AD1EEV_Field_Array is array (1 .. 5) of Boolean with Component_Size => 1, Size => 5; -- Type definition for ADC1R_AD1EEV type ADC1R_AD1EEV_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1EEV as a value Val : HAL.UInt5; when True => -- AD1EEV as an array Arr : ADC1R_AD1EEV_Field_Array; end case; end record with Unchecked_Union, Size => 5; for ADC1R_AD1EEV_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- ADC1R_AD1TAC array type ADC1R_AD1TAC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC1R_AD1TAC type ADC1R_AD1TAC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TAC as a value Val : HAL.UInt3; when True => -- AD1TAC as an array Arr : ADC1R_AD1TAC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC1R_AD1TAC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC1R_AD1TBC array type ADC1R_AD1TBC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC1R_AD1TBC type ADC1R_AD1TBC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TBC as a value Val : HAL.UInt3; when True => -- AD1TBC as an array Arr : ADC1R_AD1TBC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC1R_AD1TBC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC1R_AD1TCC array type ADC1R_AD1TCC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC1R_AD1TCC type ADC1R_AD1TCC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TCC as a value Val : HAL.UInt3; when True => -- AD1TCC as an array Arr : ADC1R_AD1TCC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC1R_AD1TCC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC1R_AD1TDC array type ADC1R_AD1TDC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC1R_AD1TDC type ADC1R_AD1TDC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TDC as a value Val : HAL.UInt3; when True => -- AD1TDC as an array Arr : ADC1R_AD1TDC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC1R_AD1TDC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC1R_AD1TEC array type ADC1R_AD1TEC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC1R_AD1TEC type ADC1R_AD1TEC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TEC as a value Val : HAL.UInt3; when True => -- AD1TEC as an array Arr : ADC1R_AD1TEC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC1R_AD1TEC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC Trigger 1 Register type ADC1R_Register is record -- ADC trigger 1 on Master Compare 1 AD1MC : ADC1R_AD1MC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Master Period AD1MPER : Boolean := False; -- ADC trigger 1 on External Event 1 AD1EEV : ADC1R_AD1EEV_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Timer A compare 2 AD1TAC : ADC1R_AD1TAC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Timer A Period AD1TAPER : Boolean := False; -- ADC trigger 1 on Timer A Reset AD1TARST : Boolean := False; -- ADC trigger 1 on Timer B compare 2 AD1TBC : ADC1R_AD1TBC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Timer B Period AD1TBPER : Boolean := False; -- ADC trigger 1 on Timer B Reset AD1TBRST : Boolean := False; -- ADC trigger 1 on Timer C compare 2 AD1TCC : ADC1R_AD1TCC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Timer C Period AD1TCPER : Boolean := False; -- ADC trigger 1 on Timer D compare 2 AD1TDC : ADC1R_AD1TDC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Timer D Period AD1TDPER : Boolean := False; -- ADC trigger 1 on Timer E compare 2 AD1TEC : ADC1R_AD1TEC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 1 on Timer E Period AD1TEPER : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ADC1R_Register use record AD1MC at 0 range 0 .. 3; AD1MPER at 0 range 4 .. 4; AD1EEV at 0 range 5 .. 9; AD1TAC at 0 range 10 .. 12; AD1TAPER at 0 range 13 .. 13; AD1TARST at 0 range 14 .. 14; AD1TBC at 0 range 15 .. 17; AD1TBPER at 0 range 18 .. 18; AD1TBRST at 0 range 19 .. 19; AD1TCC at 0 range 20 .. 22; AD1TCPER at 0 range 23 .. 23; AD1TDC at 0 range 24 .. 26; AD1TDPER at 0 range 27 .. 27; AD1TEC at 0 range 28 .. 30; AD1TEPER at 0 range 31 .. 31; end record; -- ADC2R_AD2MC array type ADC2R_AD2MC_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for ADC2R_AD2MC type ADC2R_AD2MC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2MC as a value Val : HAL.UInt4; when True => -- AD2MC as an array Arr : ADC2R_AD2MC_Field_Array; end case; end record with Unchecked_Union, Size => 4; for ADC2R_AD2MC_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- ADC2R_AD2EEV array type ADC2R_AD2EEV_Field_Array is array (6 .. 10) of Boolean with Component_Size => 1, Size => 5; -- Type definition for ADC2R_AD2EEV type ADC2R_AD2EEV_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2EEV as a value Val : HAL.UInt5; when True => -- AD2EEV as an array Arr : ADC2R_AD2EEV_Field_Array; end case; end record with Unchecked_Union, Size => 5; for ADC2R_AD2EEV_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- ADC2R_AD2TAC array type ADC2R_AD2TAC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC2R_AD2TAC type ADC2R_AD2TAC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TAC as a value Val : HAL.UInt3; when True => -- AD2TAC as an array Arr : ADC2R_AD2TAC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC2R_AD2TAC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC2R_AD2TBC array type ADC2R_AD2TBC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC2R_AD2TBC type ADC2R_AD2TBC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TBC as a value Val : HAL.UInt3; when True => -- AD2TBC as an array Arr : ADC2R_AD2TBC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC2R_AD2TBC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC2R_AD2TCC array type ADC2R_AD2TCC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC2R_AD2TCC type ADC2R_AD2TCC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TCC as a value Val : HAL.UInt3; when True => -- AD2TCC as an array Arr : ADC2R_AD2TCC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC2R_AD2TCC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC2R_AD2TDC array type ADC2R_AD2TDC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC2R_AD2TDC type ADC2R_AD2TDC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TDC as a value Val : HAL.UInt3; when True => -- AD2TDC as an array Arr : ADC2R_AD2TDC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC2R_AD2TDC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC2R_AD2TEC array type ADC2R_AD2TEC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC2R_AD2TEC type ADC2R_AD2TEC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TEC as a value Val : HAL.UInt3; when True => -- AD2TEC as an array Arr : ADC2R_AD2TEC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC2R_AD2TEC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC Trigger 2 Register type ADC2R_Register is record -- ADC trigger 2 on Master Compare 1 AD2MC : ADC2R_AD2MC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Master Period AD2MPER : Boolean := False; -- ADC trigger 2 on External Event 6 AD2EEV : ADC2R_AD2EEV_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Timer A compare 2 AD2TAC : ADC2R_AD2TAC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Timer A Period AD2TAPER : Boolean := False; -- ADC trigger 2 on Timer B compare 2 AD2TBC : ADC2R_AD2TBC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Timer B Period AD2TBPER : Boolean := False; -- ADC trigger 2 on Timer C compare 2 AD2TCC : ADC2R_AD2TCC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Timer C Period AD2TCPER : Boolean := False; -- ADC trigger 2 on Timer C Reset AD2TCRST : Boolean := False; -- ADC trigger 2 on Timer D compare 2 AD2TDC : ADC2R_AD2TDC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Timer D Period AD2TDPER : Boolean := False; -- ADC trigger 2 on Timer D Reset AD2TDRST : Boolean := False; -- ADC trigger 2 on Timer E compare 2 AD2TEC : ADC2R_AD2TEC_Field := (As_Array => False, Val => 16#0#); -- ADC trigger 2 on Timer E Reset AD2TERST : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ADC2R_Register use record AD2MC at 0 range 0 .. 3; AD2MPER at 0 range 4 .. 4; AD2EEV at 0 range 5 .. 9; AD2TAC at 0 range 10 .. 12; AD2TAPER at 0 range 13 .. 13; AD2TBC at 0 range 14 .. 16; AD2TBPER at 0 range 17 .. 17; AD2TCC at 0 range 18 .. 20; AD2TCPER at 0 range 21 .. 21; AD2TCRST at 0 range 22 .. 22; AD2TDC at 0 range 23 .. 25; AD2TDPER at 0 range 26 .. 26; AD2TDRST at 0 range 27 .. 27; AD2TEC at 0 range 28 .. 30; AD2TERST at 0 range 31 .. 31; end record; -- ADC3R_AD1MC array type ADC3R_AD1MC_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for ADC3R_AD1MC type ADC3R_AD1MC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1MC as a value Val : HAL.UInt4; when True => -- AD1MC as an array Arr : ADC3R_AD1MC_Field_Array; end case; end record with Unchecked_Union, Size => 4; for ADC3R_AD1MC_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- ADC3R_AD1EEV array type ADC3R_AD1EEV_Field_Array is array (1 .. 5) of Boolean with Component_Size => 1, Size => 5; -- Type definition for ADC3R_AD1EEV type ADC3R_AD1EEV_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1EEV as a value Val : HAL.UInt5; when True => -- AD1EEV as an array Arr : ADC3R_AD1EEV_Field_Array; end case; end record with Unchecked_Union, Size => 5; for ADC3R_AD1EEV_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- ADC3R_AD1TAC array type ADC3R_AD1TAC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC3R_AD1TAC type ADC3R_AD1TAC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TAC as a value Val : HAL.UInt3; when True => -- AD1TAC as an array Arr : ADC3R_AD1TAC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC3R_AD1TAC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC3R_AD1TBC array type ADC3R_AD1TBC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC3R_AD1TBC type ADC3R_AD1TBC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TBC as a value Val : HAL.UInt3; when True => -- AD1TBC as an array Arr : ADC3R_AD1TBC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC3R_AD1TBC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC3R_AD1TCC array type ADC3R_AD1TCC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC3R_AD1TCC type ADC3R_AD1TCC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TCC as a value Val : HAL.UInt3; when True => -- AD1TCC as an array Arr : ADC3R_AD1TCC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC3R_AD1TCC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC3R_AD1TDC array type ADC3R_AD1TDC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC3R_AD1TDC type ADC3R_AD1TDC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TDC as a value Val : HAL.UInt3; when True => -- AD1TDC as an array Arr : ADC3R_AD1TDC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC3R_AD1TDC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC3R_AD1TEC array type ADC3R_AD1TEC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC3R_AD1TEC type ADC3R_AD1TEC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD1TEC as a value Val : HAL.UInt3; when True => -- AD1TEC as an array Arr : ADC3R_AD1TEC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC3R_AD1TEC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC Trigger 3 Register type ADC3R_Register is record -- AD1MC1 AD1MC : ADC3R_AD1MC_Field := (As_Array => False, Val => 16#0#); -- AD1MPER AD1MPER : Boolean := False; -- AD1EEV1 AD1EEV : ADC3R_AD1EEV_Field := (As_Array => False, Val => 16#0#); -- AD1TAC2 AD1TAC : ADC3R_AD1TAC_Field := (As_Array => False, Val => 16#0#); -- AD1TAPER AD1TAPER : Boolean := False; -- AD1TARST AD1TARST : Boolean := False; -- AD1TBC2 AD1TBC : ADC3R_AD1TBC_Field := (As_Array => False, Val => 16#0#); -- AD1TBPER AD1TBPER : Boolean := False; -- AD1TBRST AD1TBRST : Boolean := False; -- AD1TCC2 AD1TCC : ADC3R_AD1TCC_Field := (As_Array => False, Val => 16#0#); -- AD1TCPER AD1TCPER : Boolean := False; -- AD1TDC2 AD1TDC : ADC3R_AD1TDC_Field := (As_Array => False, Val => 16#0#); -- AD1TDPER AD1TDPER : Boolean := False; -- AD1TEC2 AD1TEC : ADC3R_AD1TEC_Field := (As_Array => False, Val => 16#0#); -- AD1TEPER AD1TEPER : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ADC3R_Register use record AD1MC at 0 range 0 .. 3; AD1MPER at 0 range 4 .. 4; AD1EEV at 0 range 5 .. 9; AD1TAC at 0 range 10 .. 12; AD1TAPER at 0 range 13 .. 13; AD1TARST at 0 range 14 .. 14; AD1TBC at 0 range 15 .. 17; AD1TBPER at 0 range 18 .. 18; AD1TBRST at 0 range 19 .. 19; AD1TCC at 0 range 20 .. 22; AD1TCPER at 0 range 23 .. 23; AD1TDC at 0 range 24 .. 26; AD1TDPER at 0 range 27 .. 27; AD1TEC at 0 range 28 .. 30; AD1TEPER at 0 range 31 .. 31; end record; -- ADC4R_AD2MC array type ADC4R_AD2MC_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for ADC4R_AD2MC type ADC4R_AD2MC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2MC as a value Val : HAL.UInt4; when True => -- AD2MC as an array Arr : ADC4R_AD2MC_Field_Array; end case; end record with Unchecked_Union, Size => 4; for ADC4R_AD2MC_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- ADC4R_AD2EEV array type ADC4R_AD2EEV_Field_Array is array (6 .. 10) of Boolean with Component_Size => 1, Size => 5; -- Type definition for ADC4R_AD2EEV type ADC4R_AD2EEV_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2EEV as a value Val : HAL.UInt5; when True => -- AD2EEV as an array Arr : ADC4R_AD2EEV_Field_Array; end case; end record with Unchecked_Union, Size => 5; for ADC4R_AD2EEV_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- ADC4R_AD2TAC array type ADC4R_AD2TAC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC4R_AD2TAC type ADC4R_AD2TAC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TAC as a value Val : HAL.UInt3; when True => -- AD2TAC as an array Arr : ADC4R_AD2TAC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC4R_AD2TAC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC4R_AD2TBC array type ADC4R_AD2TBC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC4R_AD2TBC type ADC4R_AD2TBC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TBC as a value Val : HAL.UInt3; when True => -- AD2TBC as an array Arr : ADC4R_AD2TBC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC4R_AD2TBC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC4R_AD2TCC array type ADC4R_AD2TCC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC4R_AD2TCC type ADC4R_AD2TCC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TCC as a value Val : HAL.UInt3; when True => -- AD2TCC as an array Arr : ADC4R_AD2TCC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC4R_AD2TCC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC4R_AD2TDC array type ADC4R_AD2TDC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC4R_AD2TDC type ADC4R_AD2TDC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TDC as a value Val : HAL.UInt3; when True => -- AD2TDC as an array Arr : ADC4R_AD2TDC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC4R_AD2TDC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC4R_AD2TEC array type ADC4R_AD2TEC_Field_Array is array (2 .. 4) of Boolean with Component_Size => 1, Size => 3; -- Type definition for ADC4R_AD2TEC type ADC4R_AD2TEC_Field (As_Array : Boolean := False) is record case As_Array is when False => -- AD2TEC as a value Val : HAL.UInt3; when True => -- AD2TEC as an array Arr : ADC4R_AD2TEC_Field_Array; end case; end record with Unchecked_Union, Size => 3; for ADC4R_AD2TEC_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- ADC Trigger 4 Register type ADC4R_Register is record -- AD2MC1 AD2MC : ADC4R_AD2MC_Field := (As_Array => False, Val => 16#0#); -- AD2MPER AD2MPER : Boolean := False; -- AD2EEV6 AD2EEV : ADC4R_AD2EEV_Field := (As_Array => False, Val => 16#0#); -- AD2TAC2 AD2TAC : ADC4R_AD2TAC_Field := (As_Array => False, Val => 16#0#); -- AD2TAPER AD2TAPER : Boolean := False; -- AD2TBC2 AD2TBC : ADC4R_AD2TBC_Field := (As_Array => False, Val => 16#0#); -- AD2TBPER AD2TBPER : Boolean := False; -- AD2TCC2 AD2TCC : ADC4R_AD2TCC_Field := (As_Array => False, Val => 16#0#); -- AD2TCPER AD2TCPER : Boolean := False; -- AD2TCRST AD2TCRST : Boolean := False; -- AD2TDC2 AD2TDC : ADC4R_AD2TDC_Field := (As_Array => False, Val => 16#0#); -- AD2TDPER AD2TDPER : Boolean := False; -- AD2TDRST AD2TDRST : Boolean := False; -- AD2TEC2 AD2TEC : ADC4R_AD2TEC_Field := (As_Array => False, Val => 16#0#); -- AD2TERST AD2TERST : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for ADC4R_Register use record AD2MC at 0 range 0 .. 3; AD2MPER at 0 range 4 .. 4; AD2EEV at 0 range 5 .. 9; AD2TAC at 0 range 10 .. 12; AD2TAPER at 0 range 13 .. 13; AD2TBC at 0 range 14 .. 16; AD2TBPER at 0 range 17 .. 17; AD2TCC at 0 range 18 .. 20; AD2TCPER at 0 range 21 .. 21; AD2TCRST at 0 range 22 .. 22; AD2TDC at 0 range 23 .. 25; AD2TDPER at 0 range 26 .. 26; AD2TDRST at 0 range 27 .. 27; AD2TEC at 0 range 28 .. 30; AD2TERST at 0 range 31 .. 31; end record; subtype DLLCR_CALRTE_Field is HAL.UInt2; -- DLL Control Register type DLLCR_Register is record -- DLL Calibration Start CAL : Boolean := False; -- DLL Calibration Enable CALEN : Boolean := False; -- DLL Calibration rate CALRTE : DLLCR_CALRTE_Field := 16#0#; -- unspecified Reserved_4_31 : HAL.UInt28 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DLLCR_Register use record CAL at 0 range 0 .. 0; CALEN at 0 range 1 .. 1; CALRTE at 0 range 2 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; subtype FLTINR1_FLT1F_Field is HAL.UInt4; subtype FLTINR1_FLT2F_Field is HAL.UInt4; subtype FLTINR1_FLT3F_Field is HAL.UInt4; subtype FLTINR1_FLT4F_Field is HAL.UInt4; -- HRTIM Fault Input Register 1 type FLTINR1_Register is record -- FLT1E FLT1E : Boolean := False; -- FLT1P FLT1P : Boolean := False; -- FLT1SRC FLT1SRC : Boolean := False; -- FLT1F FLT1F : FLTINR1_FLT1F_Field := 16#0#; -- FLT1LCK FLT1LCK : Boolean := False; -- FLT2E FLT2E : Boolean := False; -- FLT2P FLT2P : Boolean := False; -- FLT2SRC FLT2SRC : Boolean := False; -- FLT2F FLT2F : FLTINR1_FLT2F_Field := 16#0#; -- FLT2LCK FLT2LCK : Boolean := False; -- FLT3E FLT3E : Boolean := False; -- FLT3P FLT3P : Boolean := False; -- FLT3SRC FLT3SRC : Boolean := False; -- FLT3F FLT3F : FLTINR1_FLT3F_Field := 16#0#; -- FLT3LCK FLT3LCK : Boolean := False; -- FLT4E FLT4E : Boolean := False; -- FLT4P FLT4P : Boolean := False; -- FLT4SRC FLT4SRC : Boolean := False; -- FLT4F FLT4F : FLTINR1_FLT4F_Field := 16#0#; -- FLT4LCK FLT4LCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTINR1_Register use record FLT1E at 0 range 0 .. 0; FLT1P at 0 range 1 .. 1; FLT1SRC at 0 range 2 .. 2; FLT1F at 0 range 3 .. 6; FLT1LCK at 0 range 7 .. 7; FLT2E at 0 range 8 .. 8; FLT2P at 0 range 9 .. 9; FLT2SRC at 0 range 10 .. 10; FLT2F at 0 range 11 .. 14; FLT2LCK at 0 range 15 .. 15; FLT3E at 0 range 16 .. 16; FLT3P at 0 range 17 .. 17; FLT3SRC at 0 range 18 .. 18; FLT3F at 0 range 19 .. 22; FLT3LCK at 0 range 23 .. 23; FLT4E at 0 range 24 .. 24; FLT4P at 0 range 25 .. 25; FLT4SRC at 0 range 26 .. 26; FLT4F at 0 range 27 .. 30; FLT4LCK at 0 range 31 .. 31; end record; subtype FLTINR2_FLT5F_Field is HAL.UInt4; subtype FLTINR2_FLTSD_Field is HAL.UInt2; -- HRTIM Fault Input Register 2 type FLTINR2_Register is record -- FLT5E FLT5E : Boolean := False; -- FLT5P FLT5P : Boolean := False; -- FLT5SRC FLT5SRC : Boolean := False; -- FLT5F FLT5F : FLTINR2_FLT5F_Field := 16#0#; -- FLT5LCK FLT5LCK : Boolean := False; -- unspecified Reserved_8_23 : HAL.UInt16 := 16#0#; -- FLTSD FLTSD : FLTINR2_FLTSD_Field := 16#0#; -- unspecified Reserved_26_31 : HAL.UInt6 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTINR2_Register use record FLT5E at 0 range 0 .. 0; FLT5P at 0 range 1 .. 1; FLT5SRC at 0 range 2 .. 2; FLT5F at 0 range 3 .. 6; FLT5LCK at 0 range 7 .. 7; Reserved_8_23 at 0 range 8 .. 23; FLTSD at 0 range 24 .. 25; Reserved_26_31 at 0 range 26 .. 31; end record; -- BDMUPDR_MCMP array type BDMUPDR_MCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for BDMUPDR_MCMP type BDMUPDR_MCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MCMP as a value Val : HAL.UInt4; when True => -- MCMP as an array Arr : BDMUPDR_MCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for BDMUPDR_MCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- BDMUPDR type BDMUPDR_Register is record -- MCR MCR : Boolean := False; -- MICR MICR : Boolean := False; -- MDIER MDIER : Boolean := False; -- MCNT MCNT : Boolean := False; -- MPER MPER : Boolean := False; -- MREP MREP : Boolean := False; -- MCMP1 MCMP : BDMUPDR_MCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_10_31 : HAL.UInt22 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BDMUPDR_Register use record MCR at 0 range 0 .. 0; MICR at 0 range 1 .. 1; MDIER at 0 range 2 .. 2; MCNT at 0 range 3 .. 3; MPER at 0 range 4 .. 4; MREP at 0 range 5 .. 5; MCMP at 0 range 6 .. 9; Reserved_10_31 at 0 range 10 .. 31; end record; -- BDTxUPR_TIMxCMP array type BDTxUPR_TIMxCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for BDTxUPR_TIMxCMP type BDTxUPR_TIMxCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMxCMP as a value Val : HAL.UInt4; when True => -- TIMxCMP as an array Arr : BDTxUPR_TIMxCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for BDTxUPR_TIMxCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- BDTxUPR_TIMxEEFR array type BDTxUPR_TIMxEEFR_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for BDTxUPR_TIMxEEFR type BDTxUPR_TIMxEEFR_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMxEEFR as a value Val : HAL.UInt2; when True => -- TIMxEEFR as an array Arr : BDTxUPR_TIMxEEFR_Field_Array; end case; end record with Unchecked_Union, Size => 2; for BDTxUPR_TIMxEEFR_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Burst DMA Timerx update Register type BDTxUPR_Register is record -- HRTIM_TIMxCR register update enable TIMxCR : Boolean := False; -- HRTIM_TIMxICR register update enable TIMxICR : Boolean := False; -- HRTIM_TIMxDIER register update enable TIMxDIER : Boolean := False; -- HRTIM_CNTxR register update enable TIMxCNT : Boolean := False; -- HRTIM_PERxR register update enable TIMxPER : Boolean := False; -- HRTIM_REPxR register update enable TIMxREP : Boolean := False; -- HRTIM_CMP1xR register update enable TIMxCMP : BDTxUPR_TIMxCMP_Field := (As_Array => False, Val => 16#0#); -- HRTIM_DTxR register update enable TIMx_DTxR : Boolean := False; -- HRTIM_SET1xR register update enable TIMxSET1R : Boolean := False; -- HRTIM_RST1xR register update enable TIMxRST1R : Boolean := False; -- HRTIM_SET2xR register update enable TIMxSET2R : Boolean := False; -- HRTIM_RST2xR register update enable TIMxRST2R : Boolean := False; -- HRTIM_EEFxR1 register update enable TIMxEEFR : BDTxUPR_TIMxEEFR_Field := (As_Array => False, Val => 16#0#); -- HRTIM_RSTxR register update enable TIMxRSTR : Boolean := False; -- HRTIM_CHPxR register update enable TIMxCHPR : Boolean := False; -- HRTIM_OUTxR register update enable TIMxOUTR : Boolean := False; -- HRTIM_FLTxR register update enable TIMxFLTR : Boolean := False; -- unspecified Reserved_21_31 : HAL.UInt11 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for BDTxUPR_Register use record TIMxCR at 0 range 0 .. 0; TIMxICR at 0 range 1 .. 1; TIMxDIER at 0 range 2 .. 2; TIMxCNT at 0 range 3 .. 3; TIMxPER at 0 range 4 .. 4; TIMxREP at 0 range 5 .. 5; TIMxCMP at 0 range 6 .. 9; TIMx_DTxR at 0 range 10 .. 10; TIMxSET1R at 0 range 11 .. 11; TIMxRST1R at 0 range 12 .. 12; TIMxSET2R at 0 range 13 .. 13; TIMxRST2R at 0 range 14 .. 14; TIMxEEFR at 0 range 15 .. 16; TIMxRSTR at 0 range 17 .. 17; TIMxCHPR at 0 range 18 .. 18; TIMxOUTR at 0 range 19 .. 19; TIMxFLTR at 0 range 20 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; subtype MCR_CKPSC_Field is HAL.UInt3; subtype MCR_SYNCIN_Field is HAL.UInt2; subtype MCR_SYNCOUT_Field is HAL.UInt2; subtype MCR_SYNCSRC_Field is HAL.UInt2; subtype MCR_DACSYNC_Field is HAL.UInt2; subtype MCR_BRSTDMA_Field is HAL.UInt2; -- Master Timer Control Register type MCR_Register is record -- HRTIM Master Clock prescaler CKPSC : MCR_CKPSC_Field := 16#0#; -- Master Continuous mode CONT : Boolean := False; -- Master Re-triggerable mode RETRIG : Boolean := False; -- Half mode enable HALF : Boolean := False; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; -- ynchronization input SYNCIN : MCR_SYNCIN_Field := 16#0#; -- Synchronization Resets Master SYNCRSTM : Boolean := False; -- Synchronization Starts Master SYNCSTRTM : Boolean := False; -- Synchronization output SYNCOUT : MCR_SYNCOUT_Field := 16#0#; -- Synchronization source SYNCSRC : MCR_SYNCSRC_Field := 16#0#; -- Master Counter enable MCEN : Boolean := False; -- Timer A counter enable TACEN : Boolean := False; -- Timer B counter enable TBCEN : Boolean := False; -- Timer C counter enable TCCEN : Boolean := False; -- Timer D counter enable TDCEN : Boolean := False; -- Timer E counter enable TECEN : Boolean := False; -- unspecified Reserved_22_24 : HAL.UInt3 := 16#0#; -- AC Synchronization DACSYNC : MCR_DACSYNC_Field := 16#0#; -- Preload enable PREEN : Boolean := False; -- unspecified Reserved_28_28 : HAL.Bit := 16#0#; -- Master Timer Repetition update MREPU : Boolean := False; -- Burst DMA Update BRSTDMA : MCR_BRSTDMA_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MCR_Register use record CKPSC at 0 range 0 .. 2; CONT at 0 range 3 .. 3; RETRIG at 0 range 4 .. 4; HALF at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; SYNCIN at 0 range 8 .. 9; SYNCRSTM at 0 range 10 .. 10; SYNCSTRTM at 0 range 11 .. 11; SYNCOUT at 0 range 12 .. 13; SYNCSRC at 0 range 14 .. 15; MCEN at 0 range 16 .. 16; TACEN at 0 range 17 .. 17; TBCEN at 0 range 18 .. 18; TCCEN at 0 range 19 .. 19; TDCEN at 0 range 20 .. 20; TECEN at 0 range 21 .. 21; Reserved_22_24 at 0 range 22 .. 24; DACSYNC at 0 range 25 .. 26; PREEN at 0 range 27 .. 27; Reserved_28_28 at 0 range 28 .. 28; MREPU at 0 range 29 .. 29; BRSTDMA at 0 range 30 .. 31; end record; -- MISR_MCMP array type MISR_MCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for MISR_MCMP type MISR_MCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MCMP as a value Val : HAL.UInt4; when True => -- MCMP as an array Arr : MISR_MCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for MISR_MCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- Master Timer Interrupt Status Register type MISR_Register is record -- Read-only. Master Compare 1 Interrupt Flag MCMP : MISR_MCMP_Field; -- Read-only. Master Repetition Interrupt Flag MREP : Boolean; -- Read-only. Sync Input Interrupt Flag SYNC : Boolean; -- Read-only. Master Update Interrupt Flag MUPD : Boolean; -- unspecified Reserved_7_31 : HAL.UInt25; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MISR_Register use record MCMP at 0 range 0 .. 3; MREP at 0 range 4 .. 4; SYNC at 0 range 5 .. 5; MUPD at 0 range 6 .. 6; Reserved_7_31 at 0 range 7 .. 31; end record; -- Master Timer Interrupt Clear Register type MICR_Register is record -- Write-only. Master Compare 1 Interrupt flag clear MCMP1C : Boolean := False; -- Write-only. Master Compare 2 Interrupt flag clear MCMP2C : Boolean := False; -- Write-only. Master Compare 3 Interrupt flag clear MCMP3C : Boolean := False; -- Write-only. Master Compare 4 Interrupt flag clear MCMP4C : Boolean := False; -- Write-only. Repetition Interrupt flag clear MREPC : Boolean := False; -- Write-only. Sync Input Interrupt flag clear SYNCC : Boolean := False; -- Write-only. Master update Interrupt flag clear MUPDC : Boolean := False; -- unspecified Reserved_7_31 : HAL.UInt25 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MICR_Register use record MCMP1C at 0 range 0 .. 0; MCMP2C at 0 range 1 .. 1; MCMP3C at 0 range 2 .. 2; MCMP4C at 0 range 3 .. 3; MREPC at 0 range 4 .. 4; SYNCC at 0 range 5 .. 5; MUPDC at 0 range 6 .. 6; Reserved_7_31 at 0 range 7 .. 31; end record; -- MDIER type MDIER_Register is record -- MCMP1IE MCMP1IE : Boolean := False; -- MCMP2IE MCMP2IE : Boolean := False; -- MCMP3IE MCMP3IE : Boolean := False; -- MCMP4IE MCMP4IE : Boolean := False; -- MREPIE MREPIE : Boolean := False; -- SYNCIE SYNCIE : Boolean := False; -- MUPDIE MUPDIE : Boolean := False; -- unspecified Reserved_7_15 : HAL.UInt9 := 16#0#; -- MCMP1DE MCMP1DE : Boolean := False; -- MCMP2DE MCMP2DE : Boolean := False; -- MCMP3DE MCMP3DE : Boolean := False; -- MCMP4DE MCMP4DE : Boolean := False; -- MREPDE MREPDE : Boolean := False; -- SYNCDE SYNCDE : Boolean := False; -- MUPDDE MUPDDE : Boolean := False; -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MDIER_Register use record MCMP1IE at 0 range 0 .. 0; MCMP2IE at 0 range 1 .. 1; MCMP3IE at 0 range 2 .. 2; MCMP4IE at 0 range 3 .. 3; MREPIE at 0 range 4 .. 4; SYNCIE at 0 range 5 .. 5; MUPDIE at 0 range 6 .. 6; Reserved_7_15 at 0 range 7 .. 15; MCMP1DE at 0 range 16 .. 16; MCMP2DE at 0 range 17 .. 17; MCMP3DE at 0 range 18 .. 18; MCMP4DE at 0 range 19 .. 19; MREPDE at 0 range 20 .. 20; SYNCDE at 0 range 21 .. 21; MUPDDE at 0 range 22 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; subtype MCNTR_MCNT_Field is HAL.UInt16; -- Master Timer Counter Register type MCNTR_Register is record -- Counter value MCNT : MCNTR_MCNT_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MCNTR_Register use record MCNT at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype MPER_MPER_Field is HAL.UInt16; -- Master Timer Period Register type MPER_Register is record -- Master Timer Period value MPER : MPER_MPER_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MPER_Register use record MPER at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype MREP_MREP_Field is HAL.UInt8; -- Master Timer Repetition Register type MREP_Register is record -- Master Timer Repetition counter value MREP : MREP_MREP_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MREP_Register use record MREP at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype MCMP1R_MCMP1_Field is HAL.UInt16; -- Master Timer Compare 1 Register type MCMP1R_Register is record -- Master Timer Compare 1 value MCMP1 : MCMP1R_MCMP1_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MCMP1R_Register use record MCMP1 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype MCMP2R_MCMP2_Field is HAL.UInt16; -- Master Timer Compare 2 Register type MCMP2R_Register is record -- Master Timer Compare 2 value MCMP2 : MCMP2R_MCMP2_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MCMP2R_Register use record MCMP2 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype MCMP3R_MCMP3_Field is HAL.UInt16; -- Master Timer Compare 3 Register type MCMP3R_Register is record -- Master Timer Compare 3 value MCMP3 : MCMP3R_MCMP3_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MCMP3R_Register use record MCMP3 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype MCMP4R_MCMP4_Field is HAL.UInt16; -- Master Timer Compare 4 Register type MCMP4R_Register is record -- Master Timer Compare 4 value MCMP4 : MCMP4R_MCMP4_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for MCMP4R_Register use record MCMP4 at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype TIMACR_CKPSCx_Field is HAL.UInt3; -- TIMACR_DELCMP array element subtype TIMACR_DELCMP_Element is HAL.UInt2; -- TIMACR_DELCMP array type TIMACR_DELCMP_Field_Array is array (2 .. 3) of TIMACR_DELCMP_Element with Component_Size => 2, Size => 4; -- Type definition for TIMACR_DELCMP type TIMACR_DELCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DELCMP as a value Val : HAL.UInt4; when True => -- DELCMP as an array Arr : TIMACR_DELCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMACR_DELCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype TIMACR_DACSYNC_Field is HAL.UInt2; subtype TIMACR_UPDGAT_Field is HAL.UInt4; -- Timerx Control Register type TIMACR_Register is record -- HRTIM Timer x Clock prescaler CKPSCx : TIMACR_CKPSCx_Field := 16#0#; -- Continuous mode CONT : Boolean := False; -- Re-triggerable mode RETRIG : Boolean := False; -- Half mode enable HALF : Boolean := False; -- Push-Pull mode enable PSHPLL : Boolean := False; -- unspecified Reserved_7_9 : HAL.UInt3 := 16#0#; -- Synchronization Resets Timer x SYNCRSTx : Boolean := False; -- Synchronization Starts Timer x SYNCSTRTx : Boolean := False; -- Delayed CMP2 mode DELCMP : TIMACR_DELCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_16 : HAL.Bit := 16#0#; -- Timer x Repetition update TxREPU : Boolean := False; -- Timerx reset update TxRSTU : Boolean := False; -- unspecified Reserved_19_19 : HAL.Bit := 16#0#; -- TBU TBU : Boolean := False; -- TCU TCU : Boolean := False; -- TDU TDU : Boolean := False; -- TEU TEU : Boolean := False; -- Master Timer update MSTU : Boolean := False; -- AC Synchronization DACSYNC : TIMACR_DACSYNC_Field := 16#0#; -- Preload enable PREEN : Boolean := False; -- Update Gating UPDGAT : TIMACR_UPDGAT_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMACR_Register use record CKPSCx at 0 range 0 .. 2; CONT at 0 range 3 .. 3; RETRIG at 0 range 4 .. 4; HALF at 0 range 5 .. 5; PSHPLL at 0 range 6 .. 6; Reserved_7_9 at 0 range 7 .. 9; SYNCRSTx at 0 range 10 .. 10; SYNCSTRTx at 0 range 11 .. 11; DELCMP at 0 range 12 .. 15; Reserved_16_16 at 0 range 16 .. 16; TxREPU at 0 range 17 .. 17; TxRSTU at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; TBU at 0 range 20 .. 20; TCU at 0 range 21 .. 21; TDU at 0 range 22 .. 22; TEU at 0 range 23 .. 23; MSTU at 0 range 24 .. 24; DACSYNC at 0 range 25 .. 26; PREEN at 0 range 27 .. 27; UPDGAT at 0 range 28 .. 31; end record; -- TIMAISR_CMP array type TIMAISR_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for TIMAISR_CMP type TIMAISR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : TIMAISR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMAISR_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- TIMAISR_CPT array type TIMAISR_CPT_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for TIMAISR_CPT type TIMAISR_CPT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CPT as a value Val : HAL.UInt2; when True => -- CPT as an array Arr : TIMAISR_CPT_Field_Array; end case; end record with Unchecked_Union, Size => 2; for TIMAISR_CPT_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Interrupt Status Register type TIMAISR_Register is record -- Read-only. Compare 1 Interrupt Flag CMP : TIMAISR_CMP_Field; -- Read-only. Repetition Interrupt Flag REP : Boolean; -- unspecified Reserved_5_5 : HAL.Bit; -- Read-only. Update Interrupt Flag UPD : Boolean; -- Read-only. Capture1 Interrupt Flag CPT : TIMAISR_CPT_Field; -- Read-only. Output 1 Set Interrupt Flag SETx1 : Boolean; -- Read-only. Output 1 Reset Interrupt Flag RSTx1 : Boolean; -- Read-only. Output 2 Set Interrupt Flag SETx2 : Boolean; -- Read-only. Output 2 Reset Interrupt Flag RSTx2 : Boolean; -- Read-only. Reset Interrupt Flag RST : Boolean; -- Read-only. Delayed Protection Flag DLYPRT : Boolean; -- unspecified Reserved_15_15 : HAL.Bit; -- Read-only. Current Push Pull Status CPPSTAT : Boolean; -- Read-only. Idle Push Pull Status IPPSTAT : Boolean; -- Read-only. Output 1 State O1STAT : Boolean; -- Read-only. Output 2 State O2STAT : Boolean; -- unspecified Reserved_20_31 : HAL.UInt12; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMAISR_Register use record CMP at 0 range 0 .. 3; REP at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPD at 0 range 6 .. 6; CPT at 0 range 7 .. 8; SETx1 at 0 range 9 .. 9; RSTx1 at 0 range 10 .. 10; SETx2 at 0 range 11 .. 11; RSTx2 at 0 range 12 .. 12; RST at 0 range 13 .. 13; DLYPRT at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CPPSTAT at 0 range 16 .. 16; IPPSTAT at 0 range 17 .. 17; O1STAT at 0 range 18 .. 18; O2STAT at 0 range 19 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; -- Timerx Interrupt Clear Register type TIMAICR_Register is record -- Write-only. Compare 1 Interrupt flag Clear CMP1C : Boolean := False; -- Write-only. Compare 2 Interrupt flag Clear CMP2C : Boolean := False; -- Write-only. Compare 3 Interrupt flag Clear CMP3C : Boolean := False; -- Write-only. Compare 4 Interrupt flag Clear CMP4C : Boolean := False; -- Write-only. Repetition Interrupt flag Clear REPC : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- Write-only. Update Interrupt flag Clear UPDC : Boolean := False; -- Write-only. Capture1 Interrupt flag Clear CPT1C : Boolean := False; -- Write-only. Capture2 Interrupt flag Clear CPT2C : Boolean := False; -- Write-only. Output 1 Set flag Clear SET1xC : Boolean := False; -- Write-only. Output 1 Reset flag Clear RSTx1C : Boolean := False; -- Write-only. Output 2 Set flag Clear SET2xC : Boolean := False; -- Write-only. Output 2 Reset flag Clear RSTx2C : Boolean := False; -- Write-only. Reset Interrupt flag Clear RSTC : Boolean := False; -- Write-only. Delayed Protection Flag Clear DLYPRTC : Boolean := False; -- unspecified Reserved_15_31 : HAL.UInt17 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMAICR_Register use record CMP1C at 0 range 0 .. 0; CMP2C at 0 range 1 .. 1; CMP3C at 0 range 2 .. 2; CMP4C at 0 range 3 .. 3; REPC at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDC at 0 range 6 .. 6; CPT1C at 0 range 7 .. 7; CPT2C at 0 range 8 .. 8; SET1xC at 0 range 9 .. 9; RSTx1C at 0 range 10 .. 10; SET2xC at 0 range 11 .. 11; RSTx2C at 0 range 12 .. 12; RSTC at 0 range 13 .. 13; DLYPRTC at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; -- TIMxDIER type TIMADIER_Register is record -- CMP1IE CMP1IE : Boolean := False; -- CMP2IE CMP2IE : Boolean := False; -- CMP3IE CMP3IE : Boolean := False; -- CMP4IE CMP4IE : Boolean := False; -- REPIE REPIE : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- UPDIE UPDIE : Boolean := False; -- CPT1IE CPT1IE : Boolean := False; -- CPT2IE CPT2IE : Boolean := False; -- SET1xIE SET1xIE : Boolean := False; -- RSTx1IE RSTx1IE : Boolean := False; -- SETx2IE SETx2IE : Boolean := False; -- RSTx2IE RSTx2IE : Boolean := False; -- RSTIE RSTIE : Boolean := False; -- DLYPRTIE DLYPRTIE : Boolean := False; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- CMP1DE CMP1DE : Boolean := False; -- CMP2DE CMP2DE : Boolean := False; -- CMP3DE CMP3DE : Boolean := False; -- CMP4DE CMP4DE : Boolean := False; -- REPDE REPDE : Boolean := False; -- unspecified Reserved_21_21 : HAL.Bit := 16#0#; -- UPDDE UPDDE : Boolean := False; -- CPT1DE CPT1DE : Boolean := False; -- CPT2DE CPT2DE : Boolean := False; -- SET1xDE SET1xDE : Boolean := False; -- RSTx1DE RSTx1DE : Boolean := False; -- SETx2DE SETx2DE : Boolean := False; -- RSTx2DE RSTx2DE : Boolean := False; -- RSTDE RSTDE : Boolean := False; -- DLYPRTDE DLYPRTDE : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMADIER_Register use record CMP1IE at 0 range 0 .. 0; CMP2IE at 0 range 1 .. 1; CMP3IE at 0 range 2 .. 2; CMP4IE at 0 range 3 .. 3; REPIE at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDIE at 0 range 6 .. 6; CPT1IE at 0 range 7 .. 7; CPT2IE at 0 range 8 .. 8; SET1xIE at 0 range 9 .. 9; RSTx1IE at 0 range 10 .. 10; SETx2IE at 0 range 11 .. 11; RSTx2IE at 0 range 12 .. 12; RSTIE at 0 range 13 .. 13; DLYPRTIE at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CMP1DE at 0 range 16 .. 16; CMP2DE at 0 range 17 .. 17; CMP3DE at 0 range 18 .. 18; CMP4DE at 0 range 19 .. 19; REPDE at 0 range 20 .. 20; Reserved_21_21 at 0 range 21 .. 21; UPDDE at 0 range 22 .. 22; CPT1DE at 0 range 23 .. 23; CPT2DE at 0 range 24 .. 24; SET1xDE at 0 range 25 .. 25; RSTx1DE at 0 range 26 .. 26; SETx2DE at 0 range 27 .. 27; RSTx2DE at 0 range 28 .. 28; RSTDE at 0 range 29 .. 29; DLYPRTDE at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CNTAR_CNTx_Field is HAL.UInt16; -- Timerx Counter Register type CNTAR_Register is record -- Timerx Counter value CNTx : CNTAR_CNTx_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNTAR_Register use record CNTx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype PERAR_PERx_Field is HAL.UInt16; -- Timerx Period Register type PERAR_Register is record -- Timerx Period value PERx : PERAR_PERx_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PERAR_Register use record PERx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype REPAR_REPx_Field is HAL.UInt8; -- Timerx Repetition Register type REPAR_Register is record -- Timerx Repetition counter value REPx : REPAR_REPx_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for REPAR_Register use record REPx at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype CMP1AR_CMP1x_Field is HAL.UInt16; -- Timerx Compare 1 Register type CMP1AR_Register is record -- Timerx Compare 1 value CMP1x : CMP1AR_CMP1x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1AR_Register use record CMP1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP1CAR_CMP1x_Field is HAL.UInt16; subtype CMP1CAR_REPx_Field is HAL.UInt8; -- Timerx Compare 1 Compound Register type CMP1CAR_Register is record -- Timerx Compare 1 value CMP1x : CMP1CAR_CMP1x_Field := 16#0#; -- Timerx Repetition value (aliased from HRTIM_REPx register) REPx : CMP1CAR_REPx_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1CAR_Register use record CMP1x at 0 range 0 .. 15; REPx at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype CMP2AR_CMP2x_Field is HAL.UInt16; -- Timerx Compare 2 Register type CMP2AR_Register is record -- Timerx Compare 2 value CMP2x : CMP2AR_CMP2x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP2AR_Register use record CMP2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP3AR_CMP3x_Field is HAL.UInt16; -- Timerx Compare 3 Register type CMP3AR_Register is record -- Timerx Compare 3 value CMP3x : CMP3AR_CMP3x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP3AR_Register use record CMP3x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP4AR_CMP4x_Field is HAL.UInt16; -- Timerx Compare 4 Register type CMP4AR_Register is record -- Timerx Compare 4 value CMP4x : CMP4AR_CMP4x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP4AR_Register use record CMP4x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT1AR_CPT1x_Field is HAL.UInt16; -- Timerx Capture 1 Register type CPT1AR_Register is record -- Read-only. Timerx Capture 1 value CPT1x : CPT1AR_CPT1x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1AR_Register use record CPT1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT2AR_CPT2x_Field is HAL.UInt16; -- Timerx Capture 2 Register type CPT2AR_Register is record -- Read-only. Timerx Capture 2 value CPT2x : CPT2AR_CPT2x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2AR_Register use record CPT2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DTAR_DTRx_Field is HAL.UInt9; subtype DTAR_DTPRSC_Field is HAL.UInt3; subtype DTAR_DTFx_Field is HAL.UInt9; -- Timerx Deadtime Register type DTAR_Register is record -- Deadtime Rising value DTRx : DTAR_DTRx_Field := 16#0#; -- Sign Deadtime Rising value SDTRx : Boolean := False; -- Deadtime Prescaler DTPRSC : DTAR_DTPRSC_Field := 16#0#; -- unspecified Reserved_13_13 : HAL.Bit := 16#0#; -- Deadtime Rising Sign Lock DTRSLKx : Boolean := False; -- Deadtime Rising Lock DTRLKx : Boolean := False; -- Deadtime Falling value DTFx : DTAR_DTFx_Field := 16#0#; -- Sign Deadtime Falling value SDTFx : Boolean := False; -- unspecified Reserved_26_29 : HAL.UInt4 := 16#0#; -- Deadtime Falling Sign Lock DTFSLKx : Boolean := False; -- Deadtime Falling Lock DTFLKx : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DTAR_Register use record DTRx at 0 range 0 .. 8; SDTRx at 0 range 9 .. 9; DTPRSC at 0 range 10 .. 12; Reserved_13_13 at 0 range 13 .. 13; DTRSLKx at 0 range 14 .. 14; DTRLKx at 0 range 15 .. 15; DTFx at 0 range 16 .. 24; SDTFx at 0 range 25 .. 25; Reserved_26_29 at 0 range 26 .. 29; DTFSLKx at 0 range 30 .. 30; DTFLKx at 0 range 31 .. 31; end record; -- SETA1R_CMP array type SETA1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETA1R_CMP type SETA1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETA1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETA1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETA1R_MSTCMP array type SETA1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETA1R_MSTCMP type SETA1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETA1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETA1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETA1R_TIMEVNT array type SETA1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETA1R_TIMEVNT type SETA1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETA1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETA1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETA1R_EXTEVNT array type SETA1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETA1R_EXTEVNT type SETA1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETA1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETA1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Set Register type SETA1R_Register is record -- Software Set trigger SST : Boolean := False; -- Timer A resynchronizaton RESYNC : Boolean := False; -- Timer A Period PER : Boolean := False; -- Timer A compare 1 CMP : SETA1R_CMP_Field := (As_Array => False, Val => 16#0#); -- Master Period MSTPER : Boolean := False; -- Master Compare 1 MSTCMP : SETA1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- Timer Event 1 TIMEVNT : SETA1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : SETA1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Registers update (transfer preload to active) UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETA1R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTA1R_CMP array type RSTA1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTA1R_CMP type RSTA1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTA1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTA1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTA1R_MSTCMP array type RSTA1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTA1R_MSTCMP type RSTA1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTA1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTA1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTA1R_TIMEVNT array type RSTA1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTA1R_TIMEVNT type RSTA1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTA1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTA1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTA1R_EXTEVNT array type RSTA1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTA1R_EXTEVNT type RSTA1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTA1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTA1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Reset Register type RSTA1R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTA1R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTA1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTA1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTA1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTA1R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- SETA2R_CMP array type SETA2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETA2R_CMP type SETA2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETA2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETA2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETA2R_MSTCMP array type SETA2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETA2R_MSTCMP type SETA2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETA2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETA2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETA2R_TIMEVNT array type SETA2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETA2R_TIMEVNT type SETA2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETA2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETA2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETA2R_EXTEVNT array type SETA2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETA2R_EXTEVNT type SETA2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETA2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETA2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Set Register type SETA2R_Register is record -- SST SST : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : SETA2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : SETA2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : SETA2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : SETA2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETA2R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTA2R_CMP array type RSTA2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTA2R_CMP type RSTA2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTA2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTA2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTA2R_MSTCMP array type RSTA2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTA2R_MSTCMP type RSTA2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTA2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTA2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTA2R_TIMEVNT array type RSTA2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTA2R_TIMEVNT type RSTA2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTA2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTA2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTA2R_EXTEVNT array type RSTA2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTA2R_EXTEVNT type RSTA2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTA2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTA2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Reset Register type RSTA2R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTA2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTA2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTA2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTA2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTA2R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; subtype EEFAR1_EE1FLTR_Field is HAL.UInt4; subtype EEFAR1_EE2FLTR_Field is HAL.UInt4; subtype EEFAR1_EE3FLTR_Field is HAL.UInt4; subtype EEFAR1_EE4FLTR_Field is HAL.UInt4; subtype EEFAR1_EE5FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 1 type EEFAR1_Register is record -- External Event 1 latch EE1LTCH : Boolean := False; -- External Event 1 filter EE1FLTR : EEFAR1_EE1FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 2 latch EE2LTCH : Boolean := False; -- External Event 2 filter EE2FLTR : EEFAR1_EE2FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 3 latch EE3LTCH : Boolean := False; -- External Event 3 filter EE3FLTR : EEFAR1_EE3FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 4 latch EE4LTCH : Boolean := False; -- External Event 4 filter EE4FLTR : EEFAR1_EE4FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 5 latch EE5LTCH : Boolean := False; -- External Event 5 filter EE5FLTR : EEFAR1_EE5FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFAR1_Register use record EE1LTCH at 0 range 0 .. 0; EE1FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE2LTCH at 0 range 6 .. 6; EE2FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE3LTCH at 0 range 12 .. 12; EE3FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE4LTCH at 0 range 18 .. 18; EE4FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE5LTCH at 0 range 24 .. 24; EE5FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype EEFAR2_EE6FLTR_Field is HAL.UInt4; subtype EEFAR2_EE7FLTR_Field is HAL.UInt4; subtype EEFAR2_EE8FLTR_Field is HAL.UInt4; subtype EEFAR2_EE9FLTR_Field is HAL.UInt4; subtype EEFAR2_EE10FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 2 type EEFAR2_Register is record -- External Event 6 latch EE6LTCH : Boolean := False; -- External Event 6 filter EE6FLTR : EEFAR2_EE6FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 7 latch EE7LTCH : Boolean := False; -- External Event 7 filter EE7FLTR : EEFAR2_EE7FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 8 latch EE8LTCH : Boolean := False; -- External Event 8 filter EE8FLTR : EEFAR2_EE8FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 9 latch EE9LTCH : Boolean := False; -- External Event 9 filter EE9FLTR : EEFAR2_EE9FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 10 latch EE10LTCH : Boolean := False; -- External Event 10 filter EE10FLTR : EEFAR2_EE10FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFAR2_Register use record EE6LTCH at 0 range 0 .. 0; EE6FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE7LTCH at 0 range 6 .. 6; EE7FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE8LTCH at 0 range 12 .. 12; EE8FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE9LTCH at 0 range 18 .. 18; EE9FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE10LTCH at 0 range 24 .. 24; EE10FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; -- RSTAR_CMP array type RSTAR_CMP_Field_Array is array (2 .. 3) of Boolean with Component_Size => 1, Size => 2; -- Type definition for RSTAR_CMP type RSTAR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt2; when True => -- CMP as an array Arr : RSTAR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for RSTAR_CMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- RSTAR_MSTCMP array type RSTAR_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTAR_MSTCMP type RSTAR_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTAR_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTAR_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTAR_EXTEVNT array type RSTAR_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTAR_EXTEVNT type RSTAR_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTAR_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTAR_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- RSTAR_TIMBCMP array type RSTAR_TIMBCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTAR_TIMBCMP type RSTAR_TIMBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMBCMP as a value Val : HAL.UInt3; when True => -- TIMBCMP as an array Arr : RSTAR_TIMBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTAR_TIMBCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTAR_TIMCCMP array type RSTAR_TIMCCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTAR_TIMCCMP type RSTAR_TIMCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMCCMP as a value Val : HAL.UInt3; when True => -- TIMCCMP as an array Arr : RSTAR_TIMCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTAR_TIMCCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTAR_TIMDCMP array type RSTAR_TIMDCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTAR_TIMDCMP type RSTAR_TIMDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMDCMP as a value Val : HAL.UInt3; when True => -- TIMDCMP as an array Arr : RSTAR_TIMDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTAR_TIMDCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTAR_TIMECMP array type RSTAR_TIMECMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTAR_TIMECMP type RSTAR_TIMECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMECMP as a value Val : HAL.UInt3; when True => -- TIMECMP as an array Arr : RSTAR_TIMECMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTAR_TIMECMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- TimerA Reset Register type RSTAR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Timer A Update reset UPDT : Boolean := False; -- Timer A compare 2 reset CMP : RSTAR_CMP_Field := (As_Array => False, Val => 16#0#); -- Master timer Period MSTPER : Boolean := False; -- Master compare 1 MSTCMP : RSTAR_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : RSTAR_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Timer B Compare 1 TIMBCMP : RSTAR_TIMBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C Compare 1 TIMCCMP : RSTAR_TIMCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D Compare 1 TIMDCMP : RSTAR_TIMDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E Compare 1 TIMECMP : RSTAR_TIMECMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTAR_Register use record Reserved_0_0 at 0 range 0 .. 0; UPDT at 0 range 1 .. 1; CMP at 0 range 2 .. 3; MSTPER at 0 range 4 .. 4; MSTCMP at 0 range 5 .. 8; EXTEVNT at 0 range 9 .. 18; TIMBCMP at 0 range 19 .. 21; TIMCCMP at 0 range 22 .. 24; TIMDCMP at 0 range 25 .. 27; TIMECMP at 0 range 28 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CHPAR_CHPFRQ_Field is HAL.UInt4; subtype CHPAR_CHPDTY_Field is HAL.UInt3; subtype CHPAR_STRTPW_Field is HAL.UInt4; -- Timerx Chopper Register type CHPAR_Register is record -- Timerx carrier frequency value CHPFRQ : CHPAR_CHPFRQ_Field := 16#0#; -- Timerx chopper duty cycle value CHPDTY : CHPAR_CHPDTY_Field := 16#0#; -- STRTPW STRTPW : CHPAR_STRTPW_Field := 16#0#; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CHPAR_Register use record CHPFRQ at 0 range 0 .. 3; CHPDTY at 0 range 4 .. 6; STRTPW at 0 range 7 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- CPT1ACR_TBCMP array type CPT1ACR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ACR_TBCMP type CPT1ACR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT1ACR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ACR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1ACR_TCCMP array type CPT1ACR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ACR_TCCMP type CPT1ACR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT1ACR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ACR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1ACR_TDCMP array type CPT1ACR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ACR_TDCMP type CPT1ACR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT1ACR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ACR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1ACR_TECMP array type CPT1ACR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ACR_TECMP type CPT1ACR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT1ACR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ACR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Capture 2 Control Register type CPT1ACR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT1ACR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT1ACR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT1ACR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT1ACR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1ACR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; Reserved_12_15 at 0 range 12 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; -- CPT2ACR_TBCMP array type CPT2ACR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ACR_TBCMP type CPT2ACR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT2ACR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ACR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2ACR_TCCMP array type CPT2ACR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ACR_TCCMP type CPT2ACR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT2ACR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ACR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2ACR_TDCMP array type CPT2ACR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ACR_TDCMP type CPT2ACR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT2ACR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ACR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2ACR_TECMP array type CPT2ACR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ACR_TECMP type CPT2ACR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT2ACR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ACR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2xCR type CPT2ACR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- unspecified Reserved_12_15 : HAL.UInt4 := 16#0#; -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT2ACR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT2ACR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT2ACR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT2ACR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2ACR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; Reserved_12_15 at 0 range 12 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; subtype OUTAR_FAULT1_Field is HAL.UInt2; subtype OUTAR_DLYPRT_Field is HAL.UInt3; subtype OUTAR_FAULT2_Field is HAL.UInt2; -- Timerx Output Register type OUTAR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Output 1 polarity POL1 : Boolean := False; -- Output 1 Idle mode IDLEM1 : Boolean := False; -- Output 1 Idle State IDLES1 : Boolean := False; -- Output 1 Fault state FAULT1 : OUTAR_FAULT1_Field := 16#0#; -- Output 1 Chopper enable CHP1 : Boolean := False; -- Output 1 Deadtime upon burst mode Idle entry DIDL1 : Boolean := False; -- Deadtime enable DTEN : Boolean := False; -- Delayed Protection Enable DLYPRTEN : Boolean := False; -- Delayed Protection DLYPRT : OUTAR_DLYPRT_Field := 16#0#; -- unspecified Reserved_13_16 : HAL.UInt4 := 16#0#; -- Output 2 polarity POL2 : Boolean := False; -- Output 2 Idle mode IDLEM2 : Boolean := False; -- Output 2 Idle State IDLES2 : Boolean := False; -- Output 2 Fault state FAULT2 : OUTAR_FAULT2_Field := 16#0#; -- Output 2 Chopper enable CHP2 : Boolean := False; -- Output 2 Deadtime upon burst mode Idle entry DIDL2 : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OUTAR_Register use record Reserved_0_0 at 0 range 0 .. 0; POL1 at 0 range 1 .. 1; IDLEM1 at 0 range 2 .. 2; IDLES1 at 0 range 3 .. 3; FAULT1 at 0 range 4 .. 5; CHP1 at 0 range 6 .. 6; DIDL1 at 0 range 7 .. 7; DTEN at 0 range 8 .. 8; DLYPRTEN at 0 range 9 .. 9; DLYPRT at 0 range 10 .. 12; Reserved_13_16 at 0 range 13 .. 16; POL2 at 0 range 17 .. 17; IDLEM2 at 0 range 18 .. 18; IDLES2 at 0 range 19 .. 19; FAULT2 at 0 range 20 .. 21; CHP2 at 0 range 22 .. 22; DIDL2 at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Timerx Fault Register type FLTAR_Register is record -- Fault 1 enable FLT1EN : Boolean := False; -- Fault 2 enable FLT2EN : Boolean := False; -- Fault 3 enable FLT3EN : Boolean := False; -- Fault 4 enable FLT4EN : Boolean := False; -- Fault 5 enable FLT5EN : Boolean := False; -- unspecified Reserved_5_30 : HAL.UInt26 := 16#0#; -- Fault sources Lock FLTLCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTAR_Register use record FLT1EN at 0 range 0 .. 0; FLT2EN at 0 range 1 .. 1; FLT3EN at 0 range 2 .. 2; FLT4EN at 0 range 3 .. 3; FLT5EN at 0 range 4 .. 4; Reserved_5_30 at 0 range 5 .. 30; FLTLCK at 0 range 31 .. 31; end record; subtype TIMBCR_CKPSCx_Field is HAL.UInt3; -- TIMBCR_DELCMP array element subtype TIMBCR_DELCMP_Element is HAL.UInt2; -- TIMBCR_DELCMP array type TIMBCR_DELCMP_Field_Array is array (2 .. 3) of TIMBCR_DELCMP_Element with Component_Size => 2, Size => 4; -- Type definition for TIMBCR_DELCMP type TIMBCR_DELCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DELCMP as a value Val : HAL.UInt4; when True => -- DELCMP as an array Arr : TIMBCR_DELCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMBCR_DELCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype TIMBCR_DACSYNC_Field is HAL.UInt2; subtype TIMBCR_UPDGAT_Field is HAL.UInt4; -- Timerx Control Register type TIMBCR_Register is record -- HRTIM Timer x Clock prescaler CKPSCx : TIMBCR_CKPSCx_Field := 16#0#; -- Continuous mode CONT : Boolean := False; -- Re-triggerable mode RETRIG : Boolean := False; -- Half mode enable HALF : Boolean := False; -- Push-Pull mode enable PSHPLL : Boolean := False; -- unspecified Reserved_7_9 : HAL.UInt3 := 16#0#; -- Synchronization Resets Timer x SYNCRSTx : Boolean := False; -- Synchronization Starts Timer x SYNCSTRTx : Boolean := False; -- Delayed CMP2 mode DELCMP : TIMBCR_DELCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_16 : HAL.Bit := 16#0#; -- Timer x Repetition update TxREPU : Boolean := False; -- Timerx reset update TxRSTU : Boolean := False; -- unspecified Reserved_19_19 : HAL.Bit := 16#0#; -- TBU TBU : Boolean := False; -- TCU TCU : Boolean := False; -- TDU TDU : Boolean := False; -- TEU TEU : Boolean := False; -- Master Timer update MSTU : Boolean := False; -- AC Synchronization DACSYNC : TIMBCR_DACSYNC_Field := 16#0#; -- Preload enable PREEN : Boolean := False; -- Update Gating UPDGAT : TIMBCR_UPDGAT_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMBCR_Register use record CKPSCx at 0 range 0 .. 2; CONT at 0 range 3 .. 3; RETRIG at 0 range 4 .. 4; HALF at 0 range 5 .. 5; PSHPLL at 0 range 6 .. 6; Reserved_7_9 at 0 range 7 .. 9; SYNCRSTx at 0 range 10 .. 10; SYNCSTRTx at 0 range 11 .. 11; DELCMP at 0 range 12 .. 15; Reserved_16_16 at 0 range 16 .. 16; TxREPU at 0 range 17 .. 17; TxRSTU at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; TBU at 0 range 20 .. 20; TCU at 0 range 21 .. 21; TDU at 0 range 22 .. 22; TEU at 0 range 23 .. 23; MSTU at 0 range 24 .. 24; DACSYNC at 0 range 25 .. 26; PREEN at 0 range 27 .. 27; UPDGAT at 0 range 28 .. 31; end record; -- TIMBISR_CMP array type TIMBISR_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for TIMBISR_CMP type TIMBISR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : TIMBISR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMBISR_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- TIMBISR_CPT array type TIMBISR_CPT_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for TIMBISR_CPT type TIMBISR_CPT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CPT as a value Val : HAL.UInt2; when True => -- CPT as an array Arr : TIMBISR_CPT_Field_Array; end case; end record with Unchecked_Union, Size => 2; for TIMBISR_CPT_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Interrupt Status Register type TIMBISR_Register is record -- Read-only. Compare 1 Interrupt Flag CMP : TIMBISR_CMP_Field; -- Read-only. Repetition Interrupt Flag REP : Boolean; -- unspecified Reserved_5_5 : HAL.Bit; -- Read-only. Update Interrupt Flag UPD : Boolean; -- Read-only. Capture1 Interrupt Flag CPT : TIMBISR_CPT_Field; -- Read-only. Output 1 Set Interrupt Flag SETx1 : Boolean; -- Read-only. Output 1 Reset Interrupt Flag RSTx1 : Boolean; -- Read-only. Output 2 Set Interrupt Flag SETx2 : Boolean; -- Read-only. Output 2 Reset Interrupt Flag RSTx2 : Boolean; -- Read-only. Reset Interrupt Flag RST : Boolean; -- Read-only. Delayed Protection Flag DLYPRT : Boolean; -- unspecified Reserved_15_15 : HAL.Bit; -- Read-only. Current Push Pull Status CPPSTAT : Boolean; -- Read-only. Idle Push Pull Status IPPSTAT : Boolean; -- Read-only. Output 1 State O1STAT : Boolean; -- Read-only. Output 2 State O2STAT : Boolean; -- unspecified Reserved_20_31 : HAL.UInt12; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMBISR_Register use record CMP at 0 range 0 .. 3; REP at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPD at 0 range 6 .. 6; CPT at 0 range 7 .. 8; SETx1 at 0 range 9 .. 9; RSTx1 at 0 range 10 .. 10; SETx2 at 0 range 11 .. 11; RSTx2 at 0 range 12 .. 12; RST at 0 range 13 .. 13; DLYPRT at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CPPSTAT at 0 range 16 .. 16; IPPSTAT at 0 range 17 .. 17; O1STAT at 0 range 18 .. 18; O2STAT at 0 range 19 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; -- Timerx Interrupt Clear Register type TIMBICR_Register is record -- Write-only. Compare 1 Interrupt flag Clear CMP1C : Boolean := False; -- Write-only. Compare 2 Interrupt flag Clear CMP2C : Boolean := False; -- Write-only. Compare 3 Interrupt flag Clear CMP3C : Boolean := False; -- Write-only. Compare 4 Interrupt flag Clear CMP4C : Boolean := False; -- Write-only. Repetition Interrupt flag Clear REPC : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- Write-only. Update Interrupt flag Clear UPDC : Boolean := False; -- Write-only. Capture1 Interrupt flag Clear CPT1C : Boolean := False; -- Write-only. Capture2 Interrupt flag Clear CPT2C : Boolean := False; -- Write-only. Output 1 Set flag Clear SET1xC : Boolean := False; -- Write-only. Output 1 Reset flag Clear RSTx1C : Boolean := False; -- Write-only. Output 2 Set flag Clear SET2xC : Boolean := False; -- Write-only. Output 2 Reset flag Clear RSTx2C : Boolean := False; -- Write-only. Reset Interrupt flag Clear RSTC : Boolean := False; -- Write-only. Delayed Protection Flag Clear DLYPRTC : Boolean := False; -- unspecified Reserved_15_31 : HAL.UInt17 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMBICR_Register use record CMP1C at 0 range 0 .. 0; CMP2C at 0 range 1 .. 1; CMP3C at 0 range 2 .. 2; CMP4C at 0 range 3 .. 3; REPC at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDC at 0 range 6 .. 6; CPT1C at 0 range 7 .. 7; CPT2C at 0 range 8 .. 8; SET1xC at 0 range 9 .. 9; RSTx1C at 0 range 10 .. 10; SET2xC at 0 range 11 .. 11; RSTx2C at 0 range 12 .. 12; RSTC at 0 range 13 .. 13; DLYPRTC at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; -- TIMxDIER type TIMBDIER_Register is record -- CMP1IE CMP1IE : Boolean := False; -- CMP2IE CMP2IE : Boolean := False; -- CMP3IE CMP3IE : Boolean := False; -- CMP4IE CMP4IE : Boolean := False; -- REPIE REPIE : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- UPDIE UPDIE : Boolean := False; -- CPT1IE CPT1IE : Boolean := False; -- CPT2IE CPT2IE : Boolean := False; -- SET1xIE SET1xIE : Boolean := False; -- RSTx1IE RSTx1IE : Boolean := False; -- SETx2IE SETx2IE : Boolean := False; -- RSTx2IE RSTx2IE : Boolean := False; -- RSTIE RSTIE : Boolean := False; -- DLYPRTIE DLYPRTIE : Boolean := False; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- CMP1DE CMP1DE : Boolean := False; -- CMP2DE CMP2DE : Boolean := False; -- CMP3DE CMP3DE : Boolean := False; -- CMP4DE CMP4DE : Boolean := False; -- REPDE REPDE : Boolean := False; -- unspecified Reserved_21_21 : HAL.Bit := 16#0#; -- UPDDE UPDDE : Boolean := False; -- CPT1DE CPT1DE : Boolean := False; -- CPT2DE CPT2DE : Boolean := False; -- SET1xDE SET1xDE : Boolean := False; -- RSTx1DE RSTx1DE : Boolean := False; -- SETx2DE SETx2DE : Boolean := False; -- RSTx2DE RSTx2DE : Boolean := False; -- RSTDE RSTDE : Boolean := False; -- DLYPRTDE DLYPRTDE : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMBDIER_Register use record CMP1IE at 0 range 0 .. 0; CMP2IE at 0 range 1 .. 1; CMP3IE at 0 range 2 .. 2; CMP4IE at 0 range 3 .. 3; REPIE at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDIE at 0 range 6 .. 6; CPT1IE at 0 range 7 .. 7; CPT2IE at 0 range 8 .. 8; SET1xIE at 0 range 9 .. 9; RSTx1IE at 0 range 10 .. 10; SETx2IE at 0 range 11 .. 11; RSTx2IE at 0 range 12 .. 12; RSTIE at 0 range 13 .. 13; DLYPRTIE at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CMP1DE at 0 range 16 .. 16; CMP2DE at 0 range 17 .. 17; CMP3DE at 0 range 18 .. 18; CMP4DE at 0 range 19 .. 19; REPDE at 0 range 20 .. 20; Reserved_21_21 at 0 range 21 .. 21; UPDDE at 0 range 22 .. 22; CPT1DE at 0 range 23 .. 23; CPT2DE at 0 range 24 .. 24; SET1xDE at 0 range 25 .. 25; RSTx1DE at 0 range 26 .. 26; SETx2DE at 0 range 27 .. 27; RSTx2DE at 0 range 28 .. 28; RSTDE at 0 range 29 .. 29; DLYPRTDE at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CNTR_CNTx_Field is HAL.UInt16; -- Timerx Counter Register type CNTR_Register is record -- Timerx Counter value CNTx : CNTR_CNTx_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNTR_Register use record CNTx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype PERBR_PERx_Field is HAL.UInt16; -- Timerx Period Register type PERBR_Register is record -- Timerx Period value PERx : PERBR_PERx_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PERBR_Register use record PERx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype REPBR_REPx_Field is HAL.UInt8; -- Timerx Repetition Register type REPBR_Register is record -- Timerx Repetition counter value REPx : REPBR_REPx_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for REPBR_Register use record REPx at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype CMP1BR_CMP1x_Field is HAL.UInt16; -- Timerx Compare 1 Register type CMP1BR_Register is record -- Timerx Compare 1 value CMP1x : CMP1BR_CMP1x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1BR_Register use record CMP1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP1CBR_CMP1x_Field is HAL.UInt16; subtype CMP1CBR_REPx_Field is HAL.UInt8; -- Timerx Compare 1 Compound Register type CMP1CBR_Register is record -- Timerx Compare 1 value CMP1x : CMP1CBR_CMP1x_Field := 16#0#; -- Timerx Repetition value (aliased from HRTIM_REPx register) REPx : CMP1CBR_REPx_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1CBR_Register use record CMP1x at 0 range 0 .. 15; REPx at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype CMP2BR_CMP2x_Field is HAL.UInt16; -- Timerx Compare 2 Register type CMP2BR_Register is record -- Timerx Compare 2 value CMP2x : CMP2BR_CMP2x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP2BR_Register use record CMP2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP3BR_CMP3x_Field is HAL.UInt16; -- Timerx Compare 3 Register type CMP3BR_Register is record -- Timerx Compare 3 value CMP3x : CMP3BR_CMP3x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP3BR_Register use record CMP3x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP4BR_CMP4x_Field is HAL.UInt16; -- Timerx Compare 4 Register type CMP4BR_Register is record -- Timerx Compare 4 value CMP4x : CMP4BR_CMP4x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP4BR_Register use record CMP4x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT1BR_CPT1x_Field is HAL.UInt16; -- Timerx Capture 1 Register type CPT1BR_Register is record -- Read-only. Timerx Capture 1 value CPT1x : CPT1BR_CPT1x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1BR_Register use record CPT1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT2BR_CPT2x_Field is HAL.UInt16; -- Timerx Capture 2 Register type CPT2BR_Register is record -- Read-only. Timerx Capture 2 value CPT2x : CPT2BR_CPT2x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2BR_Register use record CPT2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DTBR_DTRx_Field is HAL.UInt9; subtype DTBR_DTPRSC_Field is HAL.UInt3; subtype DTBR_DTFx_Field is HAL.UInt9; -- Timerx Deadtime Register type DTBR_Register is record -- Deadtime Rising value DTRx : DTBR_DTRx_Field := 16#0#; -- Sign Deadtime Rising value SDTRx : Boolean := False; -- Deadtime Prescaler DTPRSC : DTBR_DTPRSC_Field := 16#0#; -- unspecified Reserved_13_13 : HAL.Bit := 16#0#; -- Deadtime Rising Sign Lock DTRSLKx : Boolean := False; -- Deadtime Rising Lock DTRLKx : Boolean := False; -- Deadtime Falling value DTFx : DTBR_DTFx_Field := 16#0#; -- Sign Deadtime Falling value SDTFx : Boolean := False; -- unspecified Reserved_26_29 : HAL.UInt4 := 16#0#; -- Deadtime Falling Sign Lock DTFSLKx : Boolean := False; -- Deadtime Falling Lock DTFLKx : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DTBR_Register use record DTRx at 0 range 0 .. 8; SDTRx at 0 range 9 .. 9; DTPRSC at 0 range 10 .. 12; Reserved_13_13 at 0 range 13 .. 13; DTRSLKx at 0 range 14 .. 14; DTRLKx at 0 range 15 .. 15; DTFx at 0 range 16 .. 24; SDTFx at 0 range 25 .. 25; Reserved_26_29 at 0 range 26 .. 29; DTFSLKx at 0 range 30 .. 30; DTFLKx at 0 range 31 .. 31; end record; -- SETB1R_CMP array type SETB1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETB1R_CMP type SETB1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETB1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETB1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETB1R_MSTCMP array type SETB1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETB1R_MSTCMP type SETB1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETB1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETB1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETB1R_TIMEVNT array type SETB1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETB1R_TIMEVNT type SETB1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETB1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETB1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETB1R_EXTEVNT array type SETB1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETB1R_EXTEVNT type SETB1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETB1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETB1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Set Register type SETB1R_Register is record -- Software Set trigger SST : Boolean := False; -- Timer A resynchronizaton RESYNC : Boolean := False; -- Timer A Period PER : Boolean := False; -- Timer A compare 1 CMP : SETB1R_CMP_Field := (As_Array => False, Val => 16#0#); -- Master Period MSTPER : Boolean := False; -- Master Compare 1 MSTCMP : SETB1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- Timer Event 1 TIMEVNT : SETB1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : SETB1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Registers update (transfer preload to active) UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETB1R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTB1R_CMP array type RSTB1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTB1R_CMP type RSTB1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTB1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTB1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTB1R_MSTCMP array type RSTB1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTB1R_MSTCMP type RSTB1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTB1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTB1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTB1R_TIMEVNT array type RSTB1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTB1R_TIMEVNT type RSTB1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTB1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTB1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTB1R_EXTEVNT array type RSTB1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTB1R_EXTEVNT type RSTB1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTB1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTB1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Reset Register type RSTB1R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTB1R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTB1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTB1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTB1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTB1R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- SETB2R_CMP array type SETB2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETB2R_CMP type SETB2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETB2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETB2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETB2R_MSTCMP array type SETB2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETB2R_MSTCMP type SETB2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETB2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETB2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETB2R_TIMEVNT array type SETB2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETB2R_TIMEVNT type SETB2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETB2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETB2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETB2R_EXTEVNT array type SETB2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETB2R_EXTEVNT type SETB2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETB2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETB2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Set Register type SETB2R_Register is record -- SST SST : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : SETB2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : SETB2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : SETB2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : SETB2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETB2R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTB2R_CMP array type RSTB2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTB2R_CMP type RSTB2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTB2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTB2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTB2R_MSTCMP array type RSTB2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTB2R_MSTCMP type RSTB2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTB2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTB2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTB2R_TIMEVNT array type RSTB2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTB2R_TIMEVNT type RSTB2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTB2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTB2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTB2R_EXTEVNT array type RSTB2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTB2R_EXTEVNT type RSTB2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTB2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTB2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Reset Register type RSTB2R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTB2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTB2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTB2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTB2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTB2R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; subtype EEFBR1_EE1FLTR_Field is HAL.UInt4; subtype EEFBR1_EE2FLTR_Field is HAL.UInt4; subtype EEFBR1_EE3FLTR_Field is HAL.UInt4; subtype EEFBR1_EE4FLTR_Field is HAL.UInt4; subtype EEFBR1_EE5FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 1 type EEFBR1_Register is record -- External Event 1 latch EE1LTCH : Boolean := False; -- External Event 1 filter EE1FLTR : EEFBR1_EE1FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 2 latch EE2LTCH : Boolean := False; -- External Event 2 filter EE2FLTR : EEFBR1_EE2FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 3 latch EE3LTCH : Boolean := False; -- External Event 3 filter EE3FLTR : EEFBR1_EE3FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 4 latch EE4LTCH : Boolean := False; -- External Event 4 filter EE4FLTR : EEFBR1_EE4FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 5 latch EE5LTCH : Boolean := False; -- External Event 5 filter EE5FLTR : EEFBR1_EE5FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFBR1_Register use record EE1LTCH at 0 range 0 .. 0; EE1FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE2LTCH at 0 range 6 .. 6; EE2FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE3LTCH at 0 range 12 .. 12; EE3FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE4LTCH at 0 range 18 .. 18; EE4FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE5LTCH at 0 range 24 .. 24; EE5FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype EEFBR2_EE6FLTR_Field is HAL.UInt4; subtype EEFBR2_EE7FLTR_Field is HAL.UInt4; subtype EEFBR2_EE8FLTR_Field is HAL.UInt4; subtype EEFBR2_EE9FLTR_Field is HAL.UInt4; subtype EEFBR2_EE10FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 2 type EEFBR2_Register is record -- External Event 6 latch EE6LTCH : Boolean := False; -- External Event 6 filter EE6FLTR : EEFBR2_EE6FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 7 latch EE7LTCH : Boolean := False; -- External Event 7 filter EE7FLTR : EEFBR2_EE7FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 8 latch EE8LTCH : Boolean := False; -- External Event 8 filter EE8FLTR : EEFBR2_EE8FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 9 latch EE9LTCH : Boolean := False; -- External Event 9 filter EE9FLTR : EEFBR2_EE9FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 10 latch EE10LTCH : Boolean := False; -- External Event 10 filter EE10FLTR : EEFBR2_EE10FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFBR2_Register use record EE6LTCH at 0 range 0 .. 0; EE6FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE7LTCH at 0 range 6 .. 6; EE7FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE8LTCH at 0 range 12 .. 12; EE8FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE9LTCH at 0 range 18 .. 18; EE9FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE10LTCH at 0 range 24 .. 24; EE10FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; -- RSTBR_CMP array type RSTBR_CMP_Field_Array is array (2 .. 3) of Boolean with Component_Size => 1, Size => 2; -- Type definition for RSTBR_CMP type RSTBR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt2; when True => -- CMP as an array Arr : RSTBR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for RSTBR_CMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- RSTBR_MSTCMP array type RSTBR_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTBR_MSTCMP type RSTBR_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTBR_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTBR_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTBR_EXTEVNT array type RSTBR_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTBR_EXTEVNT type RSTBR_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTBR_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTBR_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- RSTBR_TIMACMP array type RSTBR_TIMACMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTBR_TIMACMP type RSTBR_TIMACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMACMP as a value Val : HAL.UInt3; when True => -- TIMACMP as an array Arr : RSTBR_TIMACMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTBR_TIMACMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTBR_TIMCCMP array type RSTBR_TIMCCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTBR_TIMCCMP type RSTBR_TIMCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMCCMP as a value Val : HAL.UInt3; when True => -- TIMCCMP as an array Arr : RSTBR_TIMCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTBR_TIMCCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTBR_TIMDCMP array type RSTBR_TIMDCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTBR_TIMDCMP type RSTBR_TIMDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMDCMP as a value Val : HAL.UInt3; when True => -- TIMDCMP as an array Arr : RSTBR_TIMDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTBR_TIMDCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTBR_TIMECMP array type RSTBR_TIMECMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTBR_TIMECMP type RSTBR_TIMECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMECMP as a value Val : HAL.UInt3; when True => -- TIMECMP as an array Arr : RSTBR_TIMECMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTBR_TIMECMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- TimerA Reset Register type RSTBR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Timer A Update reset UPDT : Boolean := False; -- Timer A compare 2 reset CMP : RSTBR_CMP_Field := (As_Array => False, Val => 16#0#); -- Master timer Period MSTPER : Boolean := False; -- Master compare 1 MSTCMP : RSTBR_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : RSTBR_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Timer A Compare 1 TIMACMP : RSTBR_TIMACMP_Field := (As_Array => False, Val => 16#0#); -- Timer C Compare 1 TIMCCMP : RSTBR_TIMCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D Compare 1 TIMDCMP : RSTBR_TIMDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E Compare 1 TIMECMP : RSTBR_TIMECMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTBR_Register use record Reserved_0_0 at 0 range 0 .. 0; UPDT at 0 range 1 .. 1; CMP at 0 range 2 .. 3; MSTPER at 0 range 4 .. 4; MSTCMP at 0 range 5 .. 8; EXTEVNT at 0 range 9 .. 18; TIMACMP at 0 range 19 .. 21; TIMCCMP at 0 range 22 .. 24; TIMDCMP at 0 range 25 .. 27; TIMECMP at 0 range 28 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CHPBR_CHPFRQ_Field is HAL.UInt4; subtype CHPBR_CHPDTY_Field is HAL.UInt3; subtype CHPBR_STRTPW_Field is HAL.UInt4; -- Timerx Chopper Register type CHPBR_Register is record -- Timerx carrier frequency value CHPFRQ : CHPBR_CHPFRQ_Field := 16#0#; -- Timerx chopper duty cycle value CHPDTY : CHPBR_CHPDTY_Field := 16#0#; -- STRTPW STRTPW : CHPBR_STRTPW_Field := 16#0#; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CHPBR_Register use record CHPFRQ at 0 range 0 .. 3; CHPDTY at 0 range 4 .. 6; STRTPW at 0 range 7 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- CPT1BCR_TACMP array type CPT1BCR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1BCR_TACMP type CPT1BCR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT1BCR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1BCR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1BCR_TCCMP array type CPT1BCR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1BCR_TCCMP type CPT1BCR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT1BCR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1BCR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1BCR_TDCMP array type CPT1BCR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1BCR_TDCMP type CPT1BCR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT1BCR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1BCR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1BCR_TECMP array type CPT1BCR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1BCR_TECMP type CPT1BCR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT1BCR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1BCR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Capture 2 Control Register type CPT1BCR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT1BCR_TACMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_19 : HAL.UInt4 := 16#0#; -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT1BCR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT1BCR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT1BCR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1BCR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; Reserved_16_19 at 0 range 16 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; -- CPT2BCR_TACMP array type CPT2BCR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2BCR_TACMP type CPT2BCR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT2BCR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2BCR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2BCR_TCCMP array type CPT2BCR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2BCR_TCCMP type CPT2BCR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT2BCR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2BCR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2BCR_TDCMP array type CPT2BCR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2BCR_TDCMP type CPT2BCR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT2BCR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2BCR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2BCR_TECMP array type CPT2BCR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2BCR_TECMP type CPT2BCR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT2BCR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2BCR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2xCR type CPT2BCR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT2BCR_TACMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_19 : HAL.UInt4 := 16#0#; -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT2BCR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT2BCR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT2BCR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2BCR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; Reserved_16_19 at 0 range 16 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; subtype OUTBR_FAULT1_Field is HAL.UInt2; subtype OUTBR_DLYPRT_Field is HAL.UInt3; subtype OUTBR_FAULT2_Field is HAL.UInt2; -- Timerx Output Register type OUTBR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Output 1 polarity POL1 : Boolean := False; -- Output 1 Idle mode IDLEM1 : Boolean := False; -- Output 1 Idle State IDLES1 : Boolean := False; -- Output 1 Fault state FAULT1 : OUTBR_FAULT1_Field := 16#0#; -- Output 1 Chopper enable CHP1 : Boolean := False; -- Output 1 Deadtime upon burst mode Idle entry DIDL1 : Boolean := False; -- Deadtime enable DTEN : Boolean := False; -- Delayed Protection Enable DLYPRTEN : Boolean := False; -- Delayed Protection DLYPRT : OUTBR_DLYPRT_Field := 16#0#; -- unspecified Reserved_13_16 : HAL.UInt4 := 16#0#; -- Output 2 polarity POL2 : Boolean := False; -- Output 2 Idle mode IDLEM2 : Boolean := False; -- Output 2 Idle State IDLES2 : Boolean := False; -- Output 2 Fault state FAULT2 : OUTBR_FAULT2_Field := 16#0#; -- Output 2 Chopper enable CHP2 : Boolean := False; -- Output 2 Deadtime upon burst mode Idle entry DIDL2 : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OUTBR_Register use record Reserved_0_0 at 0 range 0 .. 0; POL1 at 0 range 1 .. 1; IDLEM1 at 0 range 2 .. 2; IDLES1 at 0 range 3 .. 3; FAULT1 at 0 range 4 .. 5; CHP1 at 0 range 6 .. 6; DIDL1 at 0 range 7 .. 7; DTEN at 0 range 8 .. 8; DLYPRTEN at 0 range 9 .. 9; DLYPRT at 0 range 10 .. 12; Reserved_13_16 at 0 range 13 .. 16; POL2 at 0 range 17 .. 17; IDLEM2 at 0 range 18 .. 18; IDLES2 at 0 range 19 .. 19; FAULT2 at 0 range 20 .. 21; CHP2 at 0 range 22 .. 22; DIDL2 at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Timerx Fault Register type FLTBR_Register is record -- Fault 1 enable FLT1EN : Boolean := False; -- Fault 2 enable FLT2EN : Boolean := False; -- Fault 3 enable FLT3EN : Boolean := False; -- Fault 4 enable FLT4EN : Boolean := False; -- Fault 5 enable FLT5EN : Boolean := False; -- unspecified Reserved_5_30 : HAL.UInt26 := 16#0#; -- Fault sources Lock FLTLCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTBR_Register use record FLT1EN at 0 range 0 .. 0; FLT2EN at 0 range 1 .. 1; FLT3EN at 0 range 2 .. 2; FLT4EN at 0 range 3 .. 3; FLT5EN at 0 range 4 .. 4; Reserved_5_30 at 0 range 5 .. 30; FLTLCK at 0 range 31 .. 31; end record; subtype TIMCCR_CKPSCx_Field is HAL.UInt3; -- TIMCCR_DELCMP array element subtype TIMCCR_DELCMP_Element is HAL.UInt2; -- TIMCCR_DELCMP array type TIMCCR_DELCMP_Field_Array is array (2 .. 3) of TIMCCR_DELCMP_Element with Component_Size => 2, Size => 4; -- Type definition for TIMCCR_DELCMP type TIMCCR_DELCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DELCMP as a value Val : HAL.UInt4; when True => -- DELCMP as an array Arr : TIMCCR_DELCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMCCR_DELCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype TIMCCR_DACSYNC_Field is HAL.UInt2; subtype TIMCCR_UPDGAT_Field is HAL.UInt4; -- Timerx Control Register type TIMCCR_Register is record -- HRTIM Timer x Clock prescaler CKPSCx : TIMCCR_CKPSCx_Field := 16#0#; -- Continuous mode CONT : Boolean := False; -- Re-triggerable mode RETRIG : Boolean := False; -- Half mode enable HALF : Boolean := False; -- Push-Pull mode enable PSHPLL : Boolean := False; -- unspecified Reserved_7_9 : HAL.UInt3 := 16#0#; -- Synchronization Resets Timer x SYNCRSTx : Boolean := False; -- Synchronization Starts Timer x SYNCSTRTx : Boolean := False; -- Delayed CMP2 mode DELCMP : TIMCCR_DELCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_16 : HAL.Bit := 16#0#; -- Timer x Repetition update TxREPU : Boolean := False; -- Timerx reset update TxRSTU : Boolean := False; -- unspecified Reserved_19_19 : HAL.Bit := 16#0#; -- TBU TBU : Boolean := False; -- TCU TCU : Boolean := False; -- TDU TDU : Boolean := False; -- TEU TEU : Boolean := False; -- Master Timer update MSTU : Boolean := False; -- AC Synchronization DACSYNC : TIMCCR_DACSYNC_Field := 16#0#; -- Preload enable PREEN : Boolean := False; -- Update Gating UPDGAT : TIMCCR_UPDGAT_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMCCR_Register use record CKPSCx at 0 range 0 .. 2; CONT at 0 range 3 .. 3; RETRIG at 0 range 4 .. 4; HALF at 0 range 5 .. 5; PSHPLL at 0 range 6 .. 6; Reserved_7_9 at 0 range 7 .. 9; SYNCRSTx at 0 range 10 .. 10; SYNCSTRTx at 0 range 11 .. 11; DELCMP at 0 range 12 .. 15; Reserved_16_16 at 0 range 16 .. 16; TxREPU at 0 range 17 .. 17; TxRSTU at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; TBU at 0 range 20 .. 20; TCU at 0 range 21 .. 21; TDU at 0 range 22 .. 22; TEU at 0 range 23 .. 23; MSTU at 0 range 24 .. 24; DACSYNC at 0 range 25 .. 26; PREEN at 0 range 27 .. 27; UPDGAT at 0 range 28 .. 31; end record; -- TIMCISR_CMP array type TIMCISR_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for TIMCISR_CMP type TIMCISR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : TIMCISR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMCISR_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- TIMCISR_CPT array type TIMCISR_CPT_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for TIMCISR_CPT type TIMCISR_CPT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CPT as a value Val : HAL.UInt2; when True => -- CPT as an array Arr : TIMCISR_CPT_Field_Array; end case; end record with Unchecked_Union, Size => 2; for TIMCISR_CPT_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Interrupt Status Register type TIMCISR_Register is record -- Read-only. Compare 1 Interrupt Flag CMP : TIMCISR_CMP_Field; -- Read-only. Repetition Interrupt Flag REP : Boolean; -- unspecified Reserved_5_5 : HAL.Bit; -- Read-only. Update Interrupt Flag UPD : Boolean; -- Read-only. Capture1 Interrupt Flag CPT : TIMCISR_CPT_Field; -- Read-only. Output 1 Set Interrupt Flag SETx1 : Boolean; -- Read-only. Output 1 Reset Interrupt Flag RSTx1 : Boolean; -- Read-only. Output 2 Set Interrupt Flag SETx2 : Boolean; -- Read-only. Output 2 Reset Interrupt Flag RSTx2 : Boolean; -- Read-only. Reset Interrupt Flag RST : Boolean; -- Read-only. Delayed Protection Flag DLYPRT : Boolean; -- unspecified Reserved_15_15 : HAL.Bit; -- Read-only. Current Push Pull Status CPPSTAT : Boolean; -- Read-only. Idle Push Pull Status IPPSTAT : Boolean; -- Read-only. Output 1 State O1STAT : Boolean; -- Read-only. Output 2 State O2STAT : Boolean; -- unspecified Reserved_20_31 : HAL.UInt12; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMCISR_Register use record CMP at 0 range 0 .. 3; REP at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPD at 0 range 6 .. 6; CPT at 0 range 7 .. 8; SETx1 at 0 range 9 .. 9; RSTx1 at 0 range 10 .. 10; SETx2 at 0 range 11 .. 11; RSTx2 at 0 range 12 .. 12; RST at 0 range 13 .. 13; DLYPRT at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CPPSTAT at 0 range 16 .. 16; IPPSTAT at 0 range 17 .. 17; O1STAT at 0 range 18 .. 18; O2STAT at 0 range 19 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; -- Timerx Interrupt Clear Register type TIMCICR_Register is record -- Write-only. Compare 1 Interrupt flag Clear CMP1C : Boolean := False; -- Write-only. Compare 2 Interrupt flag Clear CMP2C : Boolean := False; -- Write-only. Compare 3 Interrupt flag Clear CMP3C : Boolean := False; -- Write-only. Compare 4 Interrupt flag Clear CMP4C : Boolean := False; -- Write-only. Repetition Interrupt flag Clear REPC : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- Write-only. Update Interrupt flag Clear UPDC : Boolean := False; -- Write-only. Capture1 Interrupt flag Clear CPT1C : Boolean := False; -- Write-only. Capture2 Interrupt flag Clear CPT2C : Boolean := False; -- Write-only. Output 1 Set flag Clear SET1xC : Boolean := False; -- Write-only. Output 1 Reset flag Clear RSTx1C : Boolean := False; -- Write-only. Output 2 Set flag Clear SET2xC : Boolean := False; -- Write-only. Output 2 Reset flag Clear RSTx2C : Boolean := False; -- Write-only. Reset Interrupt flag Clear RSTC : Boolean := False; -- Write-only. Delayed Protection Flag Clear DLYPRTC : Boolean := False; -- unspecified Reserved_15_31 : HAL.UInt17 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMCICR_Register use record CMP1C at 0 range 0 .. 0; CMP2C at 0 range 1 .. 1; CMP3C at 0 range 2 .. 2; CMP4C at 0 range 3 .. 3; REPC at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDC at 0 range 6 .. 6; CPT1C at 0 range 7 .. 7; CPT2C at 0 range 8 .. 8; SET1xC at 0 range 9 .. 9; RSTx1C at 0 range 10 .. 10; SET2xC at 0 range 11 .. 11; RSTx2C at 0 range 12 .. 12; RSTC at 0 range 13 .. 13; DLYPRTC at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; -- TIMxDIER type TIMCDIER_Register is record -- CMP1IE CMP1IE : Boolean := False; -- CMP2IE CMP2IE : Boolean := False; -- CMP3IE CMP3IE : Boolean := False; -- CMP4IE CMP4IE : Boolean := False; -- REPIE REPIE : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- UPDIE UPDIE : Boolean := False; -- CPT1IE CPT1IE : Boolean := False; -- CPT2IE CPT2IE : Boolean := False; -- SET1xIE SET1xIE : Boolean := False; -- RSTx1IE RSTx1IE : Boolean := False; -- SETx2IE SETx2IE : Boolean := False; -- RSTx2IE RSTx2IE : Boolean := False; -- RSTIE RSTIE : Boolean := False; -- DLYPRTIE DLYPRTIE : Boolean := False; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- CMP1DE CMP1DE : Boolean := False; -- CMP2DE CMP2DE : Boolean := False; -- CMP3DE CMP3DE : Boolean := False; -- CMP4DE CMP4DE : Boolean := False; -- REPDE REPDE : Boolean := False; -- unspecified Reserved_21_21 : HAL.Bit := 16#0#; -- UPDDE UPDDE : Boolean := False; -- CPT1DE CPT1DE : Boolean := False; -- CPT2DE CPT2DE : Boolean := False; -- SET1xDE SET1xDE : Boolean := False; -- RSTx1DE RSTx1DE : Boolean := False; -- SETx2DE SETx2DE : Boolean := False; -- RSTx2DE RSTx2DE : Boolean := False; -- RSTDE RSTDE : Boolean := False; -- DLYPRTDE DLYPRTDE : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMCDIER_Register use record CMP1IE at 0 range 0 .. 0; CMP2IE at 0 range 1 .. 1; CMP3IE at 0 range 2 .. 2; CMP4IE at 0 range 3 .. 3; REPIE at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDIE at 0 range 6 .. 6; CPT1IE at 0 range 7 .. 7; CPT2IE at 0 range 8 .. 8; SET1xIE at 0 range 9 .. 9; RSTx1IE at 0 range 10 .. 10; SETx2IE at 0 range 11 .. 11; RSTx2IE at 0 range 12 .. 12; RSTIE at 0 range 13 .. 13; DLYPRTIE at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CMP1DE at 0 range 16 .. 16; CMP2DE at 0 range 17 .. 17; CMP3DE at 0 range 18 .. 18; CMP4DE at 0 range 19 .. 19; REPDE at 0 range 20 .. 20; Reserved_21_21 at 0 range 21 .. 21; UPDDE at 0 range 22 .. 22; CPT1DE at 0 range 23 .. 23; CPT2DE at 0 range 24 .. 24; SET1xDE at 0 range 25 .. 25; RSTx1DE at 0 range 26 .. 26; SETx2DE at 0 range 27 .. 27; RSTx2DE at 0 range 28 .. 28; RSTDE at 0 range 29 .. 29; DLYPRTDE at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CNTCR_CNTx_Field is HAL.UInt16; -- Timerx Counter Register type CNTCR_Register is record -- Timerx Counter value CNTx : CNTCR_CNTx_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNTCR_Register use record CNTx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype PERCR_PERx_Field is HAL.UInt16; -- Timerx Period Register type PERCR_Register is record -- Timerx Period value PERx : PERCR_PERx_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PERCR_Register use record PERx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype REPCR_REPx_Field is HAL.UInt8; -- Timerx Repetition Register type REPCR_Register is record -- Timerx Repetition counter value REPx : REPCR_REPx_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for REPCR_Register use record REPx at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype CMP1CR_CMP1x_Field is HAL.UInt16; -- Timerx Compare 1 Register type CMP1CR_Register is record -- Timerx Compare 1 value CMP1x : CMP1CR_CMP1x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1CR_Register use record CMP1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP1CCR_CMP1x_Field is HAL.UInt16; subtype CMP1CCR_REPx_Field is HAL.UInt8; -- Timerx Compare 1 Compound Register type CMP1CCR_Register is record -- Timerx Compare 1 value CMP1x : CMP1CCR_CMP1x_Field := 16#0#; -- Timerx Repetition value (aliased from HRTIM_REPx register) REPx : CMP1CCR_REPx_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1CCR_Register use record CMP1x at 0 range 0 .. 15; REPx at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype CMP2CR_CMP2x_Field is HAL.UInt16; -- Timerx Compare 2 Register type CMP2CR_Register is record -- Timerx Compare 2 value CMP2x : CMP2CR_CMP2x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP2CR_Register use record CMP2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP3CR_CMP3x_Field is HAL.UInt16; -- Timerx Compare 3 Register type CMP3CR_Register is record -- Timerx Compare 3 value CMP3x : CMP3CR_CMP3x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP3CR_Register use record CMP3x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP4CR_CMP4x_Field is HAL.UInt16; -- Timerx Compare 4 Register type CMP4CR_Register is record -- Timerx Compare 4 value CMP4x : CMP4CR_CMP4x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP4CR_Register use record CMP4x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT1CR_CPT1x_Field is HAL.UInt16; -- Timerx Capture 1 Register type CPT1CR_Register is record -- Read-only. Timerx Capture 1 value CPT1x : CPT1CR_CPT1x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1CR_Register use record CPT1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT2CR_CPT2x_Field is HAL.UInt16; -- Timerx Capture 2 Register type CPT2CR_Register is record -- Read-only. Timerx Capture 2 value CPT2x : CPT2CR_CPT2x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2CR_Register use record CPT2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DTCR_DTRx_Field is HAL.UInt9; subtype DTCR_DTPRSC_Field is HAL.UInt3; subtype DTCR_DTFx_Field is HAL.UInt9; -- Timerx Deadtime Register type DTCR_Register is record -- Deadtime Rising value DTRx : DTCR_DTRx_Field := 16#0#; -- Sign Deadtime Rising value SDTRx : Boolean := False; -- Deadtime Prescaler DTPRSC : DTCR_DTPRSC_Field := 16#0#; -- unspecified Reserved_13_13 : HAL.Bit := 16#0#; -- Deadtime Rising Sign Lock DTRSLKx : Boolean := False; -- Deadtime Rising Lock DTRLKx : Boolean := False; -- Deadtime Falling value DTFx : DTCR_DTFx_Field := 16#0#; -- Sign Deadtime Falling value SDTFx : Boolean := False; -- unspecified Reserved_26_29 : HAL.UInt4 := 16#0#; -- Deadtime Falling Sign Lock DTFSLKx : Boolean := False; -- Deadtime Falling Lock DTFLKx : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DTCR_Register use record DTRx at 0 range 0 .. 8; SDTRx at 0 range 9 .. 9; DTPRSC at 0 range 10 .. 12; Reserved_13_13 at 0 range 13 .. 13; DTRSLKx at 0 range 14 .. 14; DTRLKx at 0 range 15 .. 15; DTFx at 0 range 16 .. 24; SDTFx at 0 range 25 .. 25; Reserved_26_29 at 0 range 26 .. 29; DTFSLKx at 0 range 30 .. 30; DTFLKx at 0 range 31 .. 31; end record; -- SETC1R_CMP array type SETC1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETC1R_CMP type SETC1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETC1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETC1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETC1R_MSTCMP array type SETC1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETC1R_MSTCMP type SETC1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETC1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETC1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETC1R_TIMEVNT array type SETC1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETC1R_TIMEVNT type SETC1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETC1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETC1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETC1R_EXTEVNT array type SETC1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETC1R_EXTEVNT type SETC1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETC1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETC1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Set Register type SETC1R_Register is record -- Software Set trigger SST : Boolean := False; -- Timer A resynchronizaton RESYNC : Boolean := False; -- Timer A Period PER : Boolean := False; -- Timer A compare 1 CMP : SETC1R_CMP_Field := (As_Array => False, Val => 16#0#); -- Master Period MSTPER : Boolean := False; -- Master Compare 1 MSTCMP : SETC1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- Timer Event 1 TIMEVNT : SETC1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : SETC1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Registers update (transfer preload to active) UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETC1R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTC1R_CMP array type RSTC1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTC1R_CMP type RSTC1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTC1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTC1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTC1R_MSTCMP array type RSTC1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTC1R_MSTCMP type RSTC1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTC1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTC1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTC1R_TIMEVNT array type RSTC1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTC1R_TIMEVNT type RSTC1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTC1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTC1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTC1R_EXTEVNT array type RSTC1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTC1R_EXTEVNT type RSTC1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTC1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTC1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Reset Register type RSTC1R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTC1R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTC1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTC1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTC1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTC1R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- SETC2R_CMP array type SETC2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETC2R_CMP type SETC2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETC2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETC2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETC2R_MSTCMP array type SETC2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETC2R_MSTCMP type SETC2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETC2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETC2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETC2R_TIMEVNT array type SETC2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETC2R_TIMEVNT type SETC2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETC2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETC2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETC2R_EXTEVNT array type SETC2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETC2R_EXTEVNT type SETC2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETC2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETC2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Set Register type SETC2R_Register is record -- SST SST : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : SETC2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : SETC2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : SETC2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : SETC2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETC2R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTC2R_CMP array type RSTC2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTC2R_CMP type RSTC2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTC2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTC2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTC2R_MSTCMP array type RSTC2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTC2R_MSTCMP type RSTC2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTC2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTC2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTC2R_TIMEVNT array type RSTC2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTC2R_TIMEVNT type RSTC2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTC2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTC2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTC2R_EXTEVNT array type RSTC2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTC2R_EXTEVNT type RSTC2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTC2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTC2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Reset Register type RSTC2R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTC2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTC2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTC2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTC2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTC2R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; subtype EEFCR1_EE1FLTR_Field is HAL.UInt4; subtype EEFCR1_EE2FLTR_Field is HAL.UInt4; subtype EEFCR1_EE3FLTR_Field is HAL.UInt4; subtype EEFCR1_EE4FLTR_Field is HAL.UInt4; subtype EEFCR1_EE5FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 1 type EEFCR1_Register is record -- External Event 1 latch EE1LTCH : Boolean := False; -- External Event 1 filter EE1FLTR : EEFCR1_EE1FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 2 latch EE2LTCH : Boolean := False; -- External Event 2 filter EE2FLTR : EEFCR1_EE2FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 3 latch EE3LTCH : Boolean := False; -- External Event 3 filter EE3FLTR : EEFCR1_EE3FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 4 latch EE4LTCH : Boolean := False; -- External Event 4 filter EE4FLTR : EEFCR1_EE4FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 5 latch EE5LTCH : Boolean := False; -- External Event 5 filter EE5FLTR : EEFCR1_EE5FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFCR1_Register use record EE1LTCH at 0 range 0 .. 0; EE1FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE2LTCH at 0 range 6 .. 6; EE2FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE3LTCH at 0 range 12 .. 12; EE3FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE4LTCH at 0 range 18 .. 18; EE4FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE5LTCH at 0 range 24 .. 24; EE5FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype EEFCR2_EE6FLTR_Field is HAL.UInt4; subtype EEFCR2_EE7FLTR_Field is HAL.UInt4; subtype EEFCR2_EE8FLTR_Field is HAL.UInt4; subtype EEFCR2_EE9FLTR_Field is HAL.UInt4; subtype EEFCR2_EE10FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 2 type EEFCR2_Register is record -- External Event 6 latch EE6LTCH : Boolean := False; -- External Event 6 filter EE6FLTR : EEFCR2_EE6FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 7 latch EE7LTCH : Boolean := False; -- External Event 7 filter EE7FLTR : EEFCR2_EE7FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 8 latch EE8LTCH : Boolean := False; -- External Event 8 filter EE8FLTR : EEFCR2_EE8FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 9 latch EE9LTCH : Boolean := False; -- External Event 9 filter EE9FLTR : EEFCR2_EE9FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 10 latch EE10LTCH : Boolean := False; -- External Event 10 filter EE10FLTR : EEFCR2_EE10FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFCR2_Register use record EE6LTCH at 0 range 0 .. 0; EE6FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE7LTCH at 0 range 6 .. 6; EE7FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE8LTCH at 0 range 12 .. 12; EE8FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE9LTCH at 0 range 18 .. 18; EE9FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE10LTCH at 0 range 24 .. 24; EE10FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; -- RSTCR_CMP array type RSTCR_CMP_Field_Array is array (2 .. 3) of Boolean with Component_Size => 1, Size => 2; -- Type definition for RSTCR_CMP type RSTCR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt2; when True => -- CMP as an array Arr : RSTCR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for RSTCR_CMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- RSTCR_MSTCMP array type RSTCR_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTCR_MSTCMP type RSTCR_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTCR_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTCR_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTCR_EXTEVNT array type RSTCR_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTCR_EXTEVNT type RSTCR_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTCR_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTCR_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- RSTCR_TIMACMP array type RSTCR_TIMACMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTCR_TIMACMP type RSTCR_TIMACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMACMP as a value Val : HAL.UInt3; when True => -- TIMACMP as an array Arr : RSTCR_TIMACMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTCR_TIMACMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTCR_TIMBCMP array type RSTCR_TIMBCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTCR_TIMBCMP type RSTCR_TIMBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMBCMP as a value Val : HAL.UInt3; when True => -- TIMBCMP as an array Arr : RSTCR_TIMBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTCR_TIMBCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTCR_TIMDCMP array type RSTCR_TIMDCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTCR_TIMDCMP type RSTCR_TIMDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMDCMP as a value Val : HAL.UInt3; when True => -- TIMDCMP as an array Arr : RSTCR_TIMDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTCR_TIMDCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTCR_TIMECMP array type RSTCR_TIMECMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTCR_TIMECMP type RSTCR_TIMECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMECMP as a value Val : HAL.UInt3; when True => -- TIMECMP as an array Arr : RSTCR_TIMECMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTCR_TIMECMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- TimerA Reset Register type RSTCR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Timer A Update reset UPDT : Boolean := False; -- Timer A compare 2 reset CMP : RSTCR_CMP_Field := (As_Array => False, Val => 16#0#); -- Master timer Period MSTPER : Boolean := False; -- Master compare 1 MSTCMP : RSTCR_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : RSTCR_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Timer A Compare 1 TIMACMP : RSTCR_TIMACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B Compare 1 TIMBCMP : RSTCR_TIMBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D Compare 1 TIMDCMP : RSTCR_TIMDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E Compare 1 TIMECMP : RSTCR_TIMECMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTCR_Register use record Reserved_0_0 at 0 range 0 .. 0; UPDT at 0 range 1 .. 1; CMP at 0 range 2 .. 3; MSTPER at 0 range 4 .. 4; MSTCMP at 0 range 5 .. 8; EXTEVNT at 0 range 9 .. 18; TIMACMP at 0 range 19 .. 21; TIMBCMP at 0 range 22 .. 24; TIMDCMP at 0 range 25 .. 27; TIMECMP at 0 range 28 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CHPCR_CHPFRQ_Field is HAL.UInt4; subtype CHPCR_CHPDTY_Field is HAL.UInt3; subtype CHPCR_STRTPW_Field is HAL.UInt4; -- Timerx Chopper Register type CHPCR_Register is record -- Timerx carrier frequency value CHPFRQ : CHPCR_CHPFRQ_Field := 16#0#; -- Timerx chopper duty cycle value CHPDTY : CHPCR_CHPDTY_Field := 16#0#; -- STRTPW STRTPW : CHPCR_STRTPW_Field := 16#0#; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CHPCR_Register use record CHPFRQ at 0 range 0 .. 3; CHPDTY at 0 range 4 .. 6; STRTPW at 0 range 7 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- CPT1CCR_TACMP array type CPT1CCR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1CCR_TACMP type CPT1CCR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT1CCR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1CCR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1CCR_TBCMP array type CPT1CCR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1CCR_TBCMP type CPT1CCR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT1CCR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1CCR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1CCR_TDCMP array type CPT1CCR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1CCR_TDCMP type CPT1CCR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT1CCR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1CCR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1CCR_TECMP array type CPT1CCR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1CCR_TECMP type CPT1CCR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT1CCR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1CCR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Capture 2 Control Register type CPT1CCR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT1CCR_TACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT1CCR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_20_23 : HAL.UInt4 := 16#0#; -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT1CCR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT1CCR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1CCR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; Reserved_20_23 at 0 range 20 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; -- CPT2CCR_TACMP array type CPT2CCR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2CCR_TACMP type CPT2CCR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT2CCR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2CCR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2CCR_TBCMP array type CPT2CCR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2CCR_TBCMP type CPT2CCR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT2CCR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2CCR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2CCR_TDCMP array type CPT2CCR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2CCR_TDCMP type CPT2CCR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT2CCR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2CCR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2CCR_TECMP array type CPT2CCR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2CCR_TECMP type CPT2CCR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT2CCR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2CCR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2xCR type CPT2CCR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT2CCR_TACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT2CCR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_20_23 : HAL.UInt4 := 16#0#; -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT2CCR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT2CCR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2CCR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; Reserved_20_23 at 0 range 20 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; subtype OUTCR_FAULT1_Field is HAL.UInt2; subtype OUTCR_DLYPRT_Field is HAL.UInt3; subtype OUTCR_FAULT2_Field is HAL.UInt2; -- Timerx Output Register type OUTCR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Output 1 polarity POL1 : Boolean := False; -- Output 1 Idle mode IDLEM1 : Boolean := False; -- Output 1 Idle State IDLES1 : Boolean := False; -- Output 1 Fault state FAULT1 : OUTCR_FAULT1_Field := 16#0#; -- Output 1 Chopper enable CHP1 : Boolean := False; -- Output 1 Deadtime upon burst mode Idle entry DIDL1 : Boolean := False; -- Deadtime enable DTEN : Boolean := False; -- Delayed Protection Enable DLYPRTEN : Boolean := False; -- Delayed Protection DLYPRT : OUTCR_DLYPRT_Field := 16#0#; -- unspecified Reserved_13_16 : HAL.UInt4 := 16#0#; -- Output 2 polarity POL2 : Boolean := False; -- Output 2 Idle mode IDLEM2 : Boolean := False; -- Output 2 Idle State IDLES2 : Boolean := False; -- Output 2 Fault state FAULT2 : OUTCR_FAULT2_Field := 16#0#; -- Output 2 Chopper enable CHP2 : Boolean := False; -- Output 2 Deadtime upon burst mode Idle entry DIDL2 : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OUTCR_Register use record Reserved_0_0 at 0 range 0 .. 0; POL1 at 0 range 1 .. 1; IDLEM1 at 0 range 2 .. 2; IDLES1 at 0 range 3 .. 3; FAULT1 at 0 range 4 .. 5; CHP1 at 0 range 6 .. 6; DIDL1 at 0 range 7 .. 7; DTEN at 0 range 8 .. 8; DLYPRTEN at 0 range 9 .. 9; DLYPRT at 0 range 10 .. 12; Reserved_13_16 at 0 range 13 .. 16; POL2 at 0 range 17 .. 17; IDLEM2 at 0 range 18 .. 18; IDLES2 at 0 range 19 .. 19; FAULT2 at 0 range 20 .. 21; CHP2 at 0 range 22 .. 22; DIDL2 at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Timerx Fault Register type FLTCR_Register is record -- Fault 1 enable FLT1EN : Boolean := False; -- Fault 2 enable FLT2EN : Boolean := False; -- Fault 3 enable FLT3EN : Boolean := False; -- Fault 4 enable FLT4EN : Boolean := False; -- Fault 5 enable FLT5EN : Boolean := False; -- unspecified Reserved_5_30 : HAL.UInt26 := 16#0#; -- Fault sources Lock FLTLCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTCR_Register use record FLT1EN at 0 range 0 .. 0; FLT2EN at 0 range 1 .. 1; FLT3EN at 0 range 2 .. 2; FLT4EN at 0 range 3 .. 3; FLT5EN at 0 range 4 .. 4; Reserved_5_30 at 0 range 5 .. 30; FLTLCK at 0 range 31 .. 31; end record; subtype TIMDCR_CKPSCx_Field is HAL.UInt3; -- TIMDCR_DELCMP array element subtype TIMDCR_DELCMP_Element is HAL.UInt2; -- TIMDCR_DELCMP array type TIMDCR_DELCMP_Field_Array is array (2 .. 3) of TIMDCR_DELCMP_Element with Component_Size => 2, Size => 4; -- Type definition for TIMDCR_DELCMP type TIMDCR_DELCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DELCMP as a value Val : HAL.UInt4; when True => -- DELCMP as an array Arr : TIMDCR_DELCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMDCR_DELCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype TIMDCR_DACSYNC_Field is HAL.UInt2; subtype TIMDCR_UPDGAT_Field is HAL.UInt4; -- Timerx Control Register type TIMDCR_Register is record -- HRTIM Timer x Clock prescaler CKPSCx : TIMDCR_CKPSCx_Field := 16#0#; -- Continuous mode CONT : Boolean := False; -- Re-triggerable mode RETRIG : Boolean := False; -- Half mode enable HALF : Boolean := False; -- Push-Pull mode enable PSHPLL : Boolean := False; -- unspecified Reserved_7_9 : HAL.UInt3 := 16#0#; -- Synchronization Resets Timer x SYNCRSTx : Boolean := False; -- Synchronization Starts Timer x SYNCSTRTx : Boolean := False; -- Delayed CMP2 mode DELCMP : TIMDCR_DELCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_16 : HAL.Bit := 16#0#; -- Timer x Repetition update TxREPU : Boolean := False; -- Timerx reset update TxRSTU : Boolean := False; -- unspecified Reserved_19_19 : HAL.Bit := 16#0#; -- TBU TBU : Boolean := False; -- TCU TCU : Boolean := False; -- TDU TDU : Boolean := False; -- TEU TEU : Boolean := False; -- Master Timer update MSTU : Boolean := False; -- AC Synchronization DACSYNC : TIMDCR_DACSYNC_Field := 16#0#; -- Preload enable PREEN : Boolean := False; -- Update Gating UPDGAT : TIMDCR_UPDGAT_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMDCR_Register use record CKPSCx at 0 range 0 .. 2; CONT at 0 range 3 .. 3; RETRIG at 0 range 4 .. 4; HALF at 0 range 5 .. 5; PSHPLL at 0 range 6 .. 6; Reserved_7_9 at 0 range 7 .. 9; SYNCRSTx at 0 range 10 .. 10; SYNCSTRTx at 0 range 11 .. 11; DELCMP at 0 range 12 .. 15; Reserved_16_16 at 0 range 16 .. 16; TxREPU at 0 range 17 .. 17; TxRSTU at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; TBU at 0 range 20 .. 20; TCU at 0 range 21 .. 21; TDU at 0 range 22 .. 22; TEU at 0 range 23 .. 23; MSTU at 0 range 24 .. 24; DACSYNC at 0 range 25 .. 26; PREEN at 0 range 27 .. 27; UPDGAT at 0 range 28 .. 31; end record; -- TIMDISR_CMP array type TIMDISR_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for TIMDISR_CMP type TIMDISR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : TIMDISR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMDISR_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- TIMDISR_CPT array type TIMDISR_CPT_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for TIMDISR_CPT type TIMDISR_CPT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CPT as a value Val : HAL.UInt2; when True => -- CPT as an array Arr : TIMDISR_CPT_Field_Array; end case; end record with Unchecked_Union, Size => 2; for TIMDISR_CPT_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Interrupt Status Register type TIMDISR_Register is record -- Read-only. Compare 1 Interrupt Flag CMP : TIMDISR_CMP_Field; -- Read-only. Repetition Interrupt Flag REP : Boolean; -- unspecified Reserved_5_5 : HAL.Bit; -- Read-only. Update Interrupt Flag UPD : Boolean; -- Read-only. Capture1 Interrupt Flag CPT : TIMDISR_CPT_Field; -- Read-only. Output 1 Set Interrupt Flag SETx1 : Boolean; -- Read-only. Output 1 Reset Interrupt Flag RSTx1 : Boolean; -- Read-only. Output 2 Set Interrupt Flag SETx2 : Boolean; -- Read-only. Output 2 Reset Interrupt Flag RSTx2 : Boolean; -- Read-only. Reset Interrupt Flag RST : Boolean; -- Read-only. Delayed Protection Flag DLYPRT : Boolean; -- unspecified Reserved_15_15 : HAL.Bit; -- Read-only. Current Push Pull Status CPPSTAT : Boolean; -- Read-only. Idle Push Pull Status IPPSTAT : Boolean; -- Read-only. Output 1 State O1STAT : Boolean; -- Read-only. Output 2 State O2STAT : Boolean; -- unspecified Reserved_20_31 : HAL.UInt12; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMDISR_Register use record CMP at 0 range 0 .. 3; REP at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPD at 0 range 6 .. 6; CPT at 0 range 7 .. 8; SETx1 at 0 range 9 .. 9; RSTx1 at 0 range 10 .. 10; SETx2 at 0 range 11 .. 11; RSTx2 at 0 range 12 .. 12; RST at 0 range 13 .. 13; DLYPRT at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CPPSTAT at 0 range 16 .. 16; IPPSTAT at 0 range 17 .. 17; O1STAT at 0 range 18 .. 18; O2STAT at 0 range 19 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; -- Timerx Interrupt Clear Register type TIMDICR_Register is record -- Write-only. Compare 1 Interrupt flag Clear CMP1C : Boolean := False; -- Write-only. Compare 2 Interrupt flag Clear CMP2C : Boolean := False; -- Write-only. Compare 3 Interrupt flag Clear CMP3C : Boolean := False; -- Write-only. Compare 4 Interrupt flag Clear CMP4C : Boolean := False; -- Write-only. Repetition Interrupt flag Clear REPC : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- Write-only. Update Interrupt flag Clear UPDC : Boolean := False; -- Write-only. Capture1 Interrupt flag Clear CPT1C : Boolean := False; -- Write-only. Capture2 Interrupt flag Clear CPT2C : Boolean := False; -- Write-only. Output 1 Set flag Clear SET1xC : Boolean := False; -- Write-only. Output 1 Reset flag Clear RSTx1C : Boolean := False; -- Write-only. Output 2 Set flag Clear SET2xC : Boolean := False; -- Write-only. Output 2 Reset flag Clear RSTx2C : Boolean := False; -- Write-only. Reset Interrupt flag Clear RSTC : Boolean := False; -- Write-only. Delayed Protection Flag Clear DLYPRTC : Boolean := False; -- unspecified Reserved_15_31 : HAL.UInt17 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMDICR_Register use record CMP1C at 0 range 0 .. 0; CMP2C at 0 range 1 .. 1; CMP3C at 0 range 2 .. 2; CMP4C at 0 range 3 .. 3; REPC at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDC at 0 range 6 .. 6; CPT1C at 0 range 7 .. 7; CPT2C at 0 range 8 .. 8; SET1xC at 0 range 9 .. 9; RSTx1C at 0 range 10 .. 10; SET2xC at 0 range 11 .. 11; RSTx2C at 0 range 12 .. 12; RSTC at 0 range 13 .. 13; DLYPRTC at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; -- TIMxDIER type TIMDDIER_Register is record -- CMP1IE CMP1IE : Boolean := False; -- CMP2IE CMP2IE : Boolean := False; -- CMP3IE CMP3IE : Boolean := False; -- CMP4IE CMP4IE : Boolean := False; -- REPIE REPIE : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- UPDIE UPDIE : Boolean := False; -- CPT1IE CPT1IE : Boolean := False; -- CPT2IE CPT2IE : Boolean := False; -- SET1xIE SET1xIE : Boolean := False; -- RSTx1IE RSTx1IE : Boolean := False; -- SETx2IE SETx2IE : Boolean := False; -- RSTx2IE RSTx2IE : Boolean := False; -- RSTIE RSTIE : Boolean := False; -- DLYPRTIE DLYPRTIE : Boolean := False; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- CMP1DE CMP1DE : Boolean := False; -- CMP2DE CMP2DE : Boolean := False; -- CMP3DE CMP3DE : Boolean := False; -- CMP4DE CMP4DE : Boolean := False; -- REPDE REPDE : Boolean := False; -- unspecified Reserved_21_21 : HAL.Bit := 16#0#; -- UPDDE UPDDE : Boolean := False; -- CPT1DE CPT1DE : Boolean := False; -- CPT2DE CPT2DE : Boolean := False; -- SET1xDE SET1xDE : Boolean := False; -- RSTx1DE RSTx1DE : Boolean := False; -- SETx2DE SETx2DE : Boolean := False; -- RSTx2DE RSTx2DE : Boolean := False; -- RSTDE RSTDE : Boolean := False; -- DLYPRTDE DLYPRTDE : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMDDIER_Register use record CMP1IE at 0 range 0 .. 0; CMP2IE at 0 range 1 .. 1; CMP3IE at 0 range 2 .. 2; CMP4IE at 0 range 3 .. 3; REPIE at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDIE at 0 range 6 .. 6; CPT1IE at 0 range 7 .. 7; CPT2IE at 0 range 8 .. 8; SET1xIE at 0 range 9 .. 9; RSTx1IE at 0 range 10 .. 10; SETx2IE at 0 range 11 .. 11; RSTx2IE at 0 range 12 .. 12; RSTIE at 0 range 13 .. 13; DLYPRTIE at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CMP1DE at 0 range 16 .. 16; CMP2DE at 0 range 17 .. 17; CMP3DE at 0 range 18 .. 18; CMP4DE at 0 range 19 .. 19; REPDE at 0 range 20 .. 20; Reserved_21_21 at 0 range 21 .. 21; UPDDE at 0 range 22 .. 22; CPT1DE at 0 range 23 .. 23; CPT2DE at 0 range 24 .. 24; SET1xDE at 0 range 25 .. 25; RSTx1DE at 0 range 26 .. 26; SETx2DE at 0 range 27 .. 27; RSTx2DE at 0 range 28 .. 28; RSTDE at 0 range 29 .. 29; DLYPRTDE at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CNTDR_CNTx_Field is HAL.UInt16; -- Timerx Counter Register type CNTDR_Register is record -- Timerx Counter value CNTx : CNTDR_CNTx_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNTDR_Register use record CNTx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype PERDR_PERx_Field is HAL.UInt16; -- Timerx Period Register type PERDR_Register is record -- Timerx Period value PERx : PERDR_PERx_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PERDR_Register use record PERx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype REPDR_REPx_Field is HAL.UInt8; -- Timerx Repetition Register type REPDR_Register is record -- Timerx Repetition counter value REPx : REPDR_REPx_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for REPDR_Register use record REPx at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype CMP1DR_CMP1x_Field is HAL.UInt16; -- Timerx Compare 1 Register type CMP1DR_Register is record -- Timerx Compare 1 value CMP1x : CMP1DR_CMP1x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1DR_Register use record CMP1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP1CDR_CMP1x_Field is HAL.UInt16; subtype CMP1CDR_REPx_Field is HAL.UInt8; -- Timerx Compare 1 Compound Register type CMP1CDR_Register is record -- Timerx Compare 1 value CMP1x : CMP1CDR_CMP1x_Field := 16#0#; -- Timerx Repetition value (aliased from HRTIM_REPx register) REPx : CMP1CDR_REPx_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1CDR_Register use record CMP1x at 0 range 0 .. 15; REPx at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype CMP2DR_CMP2x_Field is HAL.UInt16; -- Timerx Compare 2 Register type CMP2DR_Register is record -- Timerx Compare 2 value CMP2x : CMP2DR_CMP2x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP2DR_Register use record CMP2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP3DR_CMP3x_Field is HAL.UInt16; -- Timerx Compare 3 Register type CMP3DR_Register is record -- Timerx Compare 3 value CMP3x : CMP3DR_CMP3x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP3DR_Register use record CMP3x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP4DR_CMP4x_Field is HAL.UInt16; -- Timerx Compare 4 Register type CMP4DR_Register is record -- Timerx Compare 4 value CMP4x : CMP4DR_CMP4x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP4DR_Register use record CMP4x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT1DR_CPT1x_Field is HAL.UInt16; -- Timerx Capture 1 Register type CPT1DR_Register is record -- Read-only. Timerx Capture 1 value CPT1x : CPT1DR_CPT1x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1DR_Register use record CPT1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT2DR_CPT2x_Field is HAL.UInt16; -- Timerx Capture 2 Register type CPT2DR_Register is record -- Read-only. Timerx Capture 2 value CPT2x : CPT2DR_CPT2x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2DR_Register use record CPT2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DTDR_DTRx_Field is HAL.UInt9; subtype DTDR_DTPRSC_Field is HAL.UInt3; subtype DTDR_DTFx_Field is HAL.UInt9; -- Timerx Deadtime Register type DTDR_Register is record -- Deadtime Rising value DTRx : DTDR_DTRx_Field := 16#0#; -- Sign Deadtime Rising value SDTRx : Boolean := False; -- Deadtime Prescaler DTPRSC : DTDR_DTPRSC_Field := 16#0#; -- unspecified Reserved_13_13 : HAL.Bit := 16#0#; -- Deadtime Rising Sign Lock DTRSLKx : Boolean := False; -- Deadtime Rising Lock DTRLKx : Boolean := False; -- Deadtime Falling value DTFx : DTDR_DTFx_Field := 16#0#; -- Sign Deadtime Falling value SDTFx : Boolean := False; -- unspecified Reserved_26_29 : HAL.UInt4 := 16#0#; -- Deadtime Falling Sign Lock DTFSLKx : Boolean := False; -- Deadtime Falling Lock DTFLKx : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DTDR_Register use record DTRx at 0 range 0 .. 8; SDTRx at 0 range 9 .. 9; DTPRSC at 0 range 10 .. 12; Reserved_13_13 at 0 range 13 .. 13; DTRSLKx at 0 range 14 .. 14; DTRLKx at 0 range 15 .. 15; DTFx at 0 range 16 .. 24; SDTFx at 0 range 25 .. 25; Reserved_26_29 at 0 range 26 .. 29; DTFSLKx at 0 range 30 .. 30; DTFLKx at 0 range 31 .. 31; end record; -- SETD1R_CMP array type SETD1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETD1R_CMP type SETD1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETD1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETD1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETD1R_MSTCMP array type SETD1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETD1R_MSTCMP type SETD1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETD1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETD1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETD1R_TIMEVNT array type SETD1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETD1R_TIMEVNT type SETD1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETD1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETD1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETD1R_EXTEVNT array type SETD1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETD1R_EXTEVNT type SETD1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETD1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETD1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Set Register type SETD1R_Register is record -- Software Set trigger SST : Boolean := False; -- Timer A resynchronizaton RESYNC : Boolean := False; -- Timer A Period PER : Boolean := False; -- Timer A compare 1 CMP : SETD1R_CMP_Field := (As_Array => False, Val => 16#0#); -- Master Period MSTPER : Boolean := False; -- Master Compare 1 MSTCMP : SETD1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- Timer Event 1 TIMEVNT : SETD1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : SETD1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Registers update (transfer preload to active) UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETD1R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTD1R_CMP array type RSTD1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTD1R_CMP type RSTD1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTD1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTD1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTD1R_MSTCMP array type RSTD1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTD1R_MSTCMP type RSTD1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTD1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTD1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTD1R_TIMEVNT array type RSTD1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTD1R_TIMEVNT type RSTD1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTD1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTD1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTD1R_EXTEVNT array type RSTD1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTD1R_EXTEVNT type RSTD1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTD1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTD1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Reset Register type RSTD1R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTD1R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTD1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTD1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTD1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTD1R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- SETD2R_CMP array type SETD2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETD2R_CMP type SETD2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETD2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETD2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETD2R_MSTCMP array type SETD2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETD2R_MSTCMP type SETD2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETD2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETD2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETD2R_TIMEVNT array type SETD2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETD2R_TIMEVNT type SETD2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETD2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETD2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETD2R_EXTEVNT array type SETD2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETD2R_EXTEVNT type SETD2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETD2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETD2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Set Register type SETD2R_Register is record -- SST SST : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : SETD2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : SETD2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : SETD2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : SETD2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETD2R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTD2R_CMP array type RSTD2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTD2R_CMP type RSTD2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTD2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTD2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTD2R_MSTCMP array type RSTD2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTD2R_MSTCMP type RSTD2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTD2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTD2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTD2R_TIMEVNT array type RSTD2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTD2R_TIMEVNT type RSTD2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTD2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTD2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTD2R_EXTEVNT array type RSTD2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTD2R_EXTEVNT type RSTD2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTD2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTD2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Reset Register type RSTD2R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTD2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTD2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTD2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTD2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTD2R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; subtype EEFDR1_EE1FLTR_Field is HAL.UInt4; subtype EEFDR1_EE2FLTR_Field is HAL.UInt4; subtype EEFDR1_EE3FLTR_Field is HAL.UInt4; subtype EEFDR1_EE4FLTR_Field is HAL.UInt4; subtype EEFDR1_EE5FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 1 type EEFDR1_Register is record -- External Event 1 latch EE1LTCH : Boolean := False; -- External Event 1 filter EE1FLTR : EEFDR1_EE1FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 2 latch EE2LTCH : Boolean := False; -- External Event 2 filter EE2FLTR : EEFDR1_EE2FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 3 latch EE3LTCH : Boolean := False; -- External Event 3 filter EE3FLTR : EEFDR1_EE3FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 4 latch EE4LTCH : Boolean := False; -- External Event 4 filter EE4FLTR : EEFDR1_EE4FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 5 latch EE5LTCH : Boolean := False; -- External Event 5 filter EE5FLTR : EEFDR1_EE5FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFDR1_Register use record EE1LTCH at 0 range 0 .. 0; EE1FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE2LTCH at 0 range 6 .. 6; EE2FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE3LTCH at 0 range 12 .. 12; EE3FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE4LTCH at 0 range 18 .. 18; EE4FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE5LTCH at 0 range 24 .. 24; EE5FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype EEFDR2_EE6FLTR_Field is HAL.UInt4; subtype EEFDR2_EE7FLTR_Field is HAL.UInt4; subtype EEFDR2_EE8FLTR_Field is HAL.UInt4; subtype EEFDR2_EE9FLTR_Field is HAL.UInt4; subtype EEFDR2_EE10FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 2 type EEFDR2_Register is record -- External Event 6 latch EE6LTCH : Boolean := False; -- External Event 6 filter EE6FLTR : EEFDR2_EE6FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 7 latch EE7LTCH : Boolean := False; -- External Event 7 filter EE7FLTR : EEFDR2_EE7FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 8 latch EE8LTCH : Boolean := False; -- External Event 8 filter EE8FLTR : EEFDR2_EE8FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 9 latch EE9LTCH : Boolean := False; -- External Event 9 filter EE9FLTR : EEFDR2_EE9FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 10 latch EE10LTCH : Boolean := False; -- External Event 10 filter EE10FLTR : EEFDR2_EE10FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFDR2_Register use record EE6LTCH at 0 range 0 .. 0; EE6FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE7LTCH at 0 range 6 .. 6; EE7FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE8LTCH at 0 range 12 .. 12; EE8FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE9LTCH at 0 range 18 .. 18; EE9FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE10LTCH at 0 range 24 .. 24; EE10FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; -- RSTDR_CMP array type RSTDR_CMP_Field_Array is array (2 .. 3) of Boolean with Component_Size => 1, Size => 2; -- Type definition for RSTDR_CMP type RSTDR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt2; when True => -- CMP as an array Arr : RSTDR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for RSTDR_CMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- RSTDR_MSTCMP array type RSTDR_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTDR_MSTCMP type RSTDR_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTDR_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTDR_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTDR_EXTEVNT array type RSTDR_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTDR_EXTEVNT type RSTDR_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTDR_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTDR_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- RSTDR_TIMACMP array type RSTDR_TIMACMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTDR_TIMACMP type RSTDR_TIMACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMACMP as a value Val : HAL.UInt3; when True => -- TIMACMP as an array Arr : RSTDR_TIMACMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTDR_TIMACMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTDR_TIMBCMP array type RSTDR_TIMBCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTDR_TIMBCMP type RSTDR_TIMBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMBCMP as a value Val : HAL.UInt3; when True => -- TIMBCMP as an array Arr : RSTDR_TIMBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTDR_TIMBCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTDR_TIMCCMP array type RSTDR_TIMCCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTDR_TIMCCMP type RSTDR_TIMCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMCCMP as a value Val : HAL.UInt3; when True => -- TIMCCMP as an array Arr : RSTDR_TIMCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTDR_TIMCCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTDR_TIMECMP array type RSTDR_TIMECMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTDR_TIMECMP type RSTDR_TIMECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMECMP as a value Val : HAL.UInt3; when True => -- TIMECMP as an array Arr : RSTDR_TIMECMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTDR_TIMECMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- TimerA Reset Register type RSTDR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Timer A Update reset UPDT : Boolean := False; -- Timer A compare 2 reset CMP : RSTDR_CMP_Field := (As_Array => False, Val => 16#0#); -- Master timer Period MSTPER : Boolean := False; -- Master compare 1 MSTCMP : RSTDR_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : RSTDR_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Timer A Compare 1 TIMACMP : RSTDR_TIMACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B Compare 1 TIMBCMP : RSTDR_TIMBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C Compare 1 TIMCCMP : RSTDR_TIMCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer E Compare 1 TIMECMP : RSTDR_TIMECMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTDR_Register use record Reserved_0_0 at 0 range 0 .. 0; UPDT at 0 range 1 .. 1; CMP at 0 range 2 .. 3; MSTPER at 0 range 4 .. 4; MSTCMP at 0 range 5 .. 8; EXTEVNT at 0 range 9 .. 18; TIMACMP at 0 range 19 .. 21; TIMBCMP at 0 range 22 .. 24; TIMCCMP at 0 range 25 .. 27; TIMECMP at 0 range 28 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CHPDR_CHPFRQ_Field is HAL.UInt4; subtype CHPDR_CHPDTY_Field is HAL.UInt3; subtype CHPDR_STRTPW_Field is HAL.UInt4; -- Timerx Chopper Register type CHPDR_Register is record -- Timerx carrier frequency value CHPFRQ : CHPDR_CHPFRQ_Field := 16#0#; -- Timerx chopper duty cycle value CHPDTY : CHPDR_CHPDTY_Field := 16#0#; -- STRTPW STRTPW : CHPDR_STRTPW_Field := 16#0#; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CHPDR_Register use record CHPFRQ at 0 range 0 .. 3; CHPDTY at 0 range 4 .. 6; STRTPW at 0 range 7 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- CPT1DCR_TACMP array type CPT1DCR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1DCR_TACMP type CPT1DCR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT1DCR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1DCR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1DCR_TBCMP array type CPT1DCR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1DCR_TBCMP type CPT1DCR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT1DCR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1DCR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1DCR_TCCMP array type CPT1DCR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1DCR_TCCMP type CPT1DCR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT1DCR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1DCR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1DCR_TECMP array type CPT1DCR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1DCR_TECMP type CPT1DCR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT1DCR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1DCR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Capture 2 Control Register type CPT1DCR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT1DCR_TACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT1DCR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT1DCR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_24_27 : HAL.UInt4 := 16#0#; -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT1DCR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1DCR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; Reserved_24_27 at 0 range 24 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; -- CPT2DCR_TACMP array type CPT2DCR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2DCR_TACMP type CPT2DCR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT2DCR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2DCR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2DCR_TBCMP array type CPT2DCR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2DCR_TBCMP type CPT2DCR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT2DCR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2DCR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2DCR_TCCMP array type CPT2DCR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2DCR_TCCMP type CPT2DCR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT2DCR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2DCR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2DCR_TECMP array type CPT2DCR_TECMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2DCR_TECMP type CPT2DCR_TECMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TECMP as a value Val : HAL.UInt2; when True => -- TECMP as an array Arr : CPT2DCR_TECMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2DCR_TECMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2xCR type CPT2DCR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT2DCR_TACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT2DCR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT2DCR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_24_27 : HAL.UInt4 := 16#0#; -- Timer E output 1 Set TE1SET : Boolean := False; -- Timer E output 1 Reset TE1RST : Boolean := False; -- Timer E Compare 1 TECMP : CPT2DCR_TECMP_Field := (As_Array => False, Val => 16#0#); end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2DCR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; Reserved_24_27 at 0 range 24 .. 27; TE1SET at 0 range 28 .. 28; TE1RST at 0 range 29 .. 29; TECMP at 0 range 30 .. 31; end record; subtype OUTDR_FAULT1_Field is HAL.UInt2; subtype OUTDR_DLYPRT_Field is HAL.UInt3; subtype OUTDR_FAULT2_Field is HAL.UInt2; -- Timerx Output Register type OUTDR_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Output 1 polarity POL1 : Boolean := False; -- Output 1 Idle mode IDLEM1 : Boolean := False; -- Output 1 Idle State IDLES1 : Boolean := False; -- Output 1 Fault state FAULT1 : OUTDR_FAULT1_Field := 16#0#; -- Output 1 Chopper enable CHP1 : Boolean := False; -- Output 1 Deadtime upon burst mode Idle entry DIDL1 : Boolean := False; -- Deadtime enable DTEN : Boolean := False; -- Delayed Protection Enable DLYPRTEN : Boolean := False; -- Delayed Protection DLYPRT : OUTDR_DLYPRT_Field := 16#0#; -- unspecified Reserved_13_16 : HAL.UInt4 := 16#0#; -- Output 2 polarity POL2 : Boolean := False; -- Output 2 Idle mode IDLEM2 : Boolean := False; -- Output 2 Idle State IDLES2 : Boolean := False; -- Output 2 Fault state FAULT2 : OUTDR_FAULT2_Field := 16#0#; -- Output 2 Chopper enable CHP2 : Boolean := False; -- Output 2 Deadtime upon burst mode Idle entry DIDL2 : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OUTDR_Register use record Reserved_0_0 at 0 range 0 .. 0; POL1 at 0 range 1 .. 1; IDLEM1 at 0 range 2 .. 2; IDLES1 at 0 range 3 .. 3; FAULT1 at 0 range 4 .. 5; CHP1 at 0 range 6 .. 6; DIDL1 at 0 range 7 .. 7; DTEN at 0 range 8 .. 8; DLYPRTEN at 0 range 9 .. 9; DLYPRT at 0 range 10 .. 12; Reserved_13_16 at 0 range 13 .. 16; POL2 at 0 range 17 .. 17; IDLEM2 at 0 range 18 .. 18; IDLES2 at 0 range 19 .. 19; FAULT2 at 0 range 20 .. 21; CHP2 at 0 range 22 .. 22; DIDL2 at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Timerx Fault Register type FLTDR_Register is record -- Fault 1 enable FLT1EN : Boolean := False; -- Fault 2 enable FLT2EN : Boolean := False; -- Fault 3 enable FLT3EN : Boolean := False; -- Fault 4 enable FLT4EN : Boolean := False; -- Fault 5 enable FLT5EN : Boolean := False; -- unspecified Reserved_5_30 : HAL.UInt26 := 16#0#; -- Fault sources Lock FLTLCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTDR_Register use record FLT1EN at 0 range 0 .. 0; FLT2EN at 0 range 1 .. 1; FLT3EN at 0 range 2 .. 2; FLT4EN at 0 range 3 .. 3; FLT5EN at 0 range 4 .. 4; Reserved_5_30 at 0 range 5 .. 30; FLTLCK at 0 range 31 .. 31; end record; subtype TIMECR_CKPSCx_Field is HAL.UInt3; -- TIMECR_DELCMP array element subtype TIMECR_DELCMP_Element is HAL.UInt2; -- TIMECR_DELCMP array type TIMECR_DELCMP_Field_Array is array (2 .. 3) of TIMECR_DELCMP_Element with Component_Size => 2, Size => 4; -- Type definition for TIMECR_DELCMP type TIMECR_DELCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DELCMP as a value Val : HAL.UInt4; when True => -- DELCMP as an array Arr : TIMECR_DELCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMECR_DELCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; subtype TIMECR_DACSYNC_Field is HAL.UInt2; subtype TIMECR_UPDGAT_Field is HAL.UInt4; -- Timerx Control Register type TIMECR_Register is record -- HRTIM Timer x Clock prescaler CKPSCx : TIMECR_CKPSCx_Field := 16#0#; -- Continuous mode CONT : Boolean := False; -- Re-triggerable mode RETRIG : Boolean := False; -- Half mode enable HALF : Boolean := False; -- Push-Pull mode enable PSHPLL : Boolean := False; -- unspecified Reserved_7_9 : HAL.UInt3 := 16#0#; -- Synchronization Resets Timer x SYNCRSTx : Boolean := False; -- Synchronization Starts Timer x SYNCSTRTx : Boolean := False; -- Delayed CMP2 mode DELCMP : TIMECR_DELCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_16 : HAL.Bit := 16#0#; -- Timer x Repetition update TxREPU : Boolean := False; -- Timerx reset update TxRSTU : Boolean := False; -- unspecified Reserved_19_19 : HAL.Bit := 16#0#; -- TBU TBU : Boolean := False; -- TCU TCU : Boolean := False; -- TDU TDU : Boolean := False; -- TEU TEU : Boolean := False; -- Master Timer update MSTU : Boolean := False; -- AC Synchronization DACSYNC : TIMECR_DACSYNC_Field := 16#0#; -- Preload enable PREEN : Boolean := False; -- Update Gating UPDGAT : TIMECR_UPDGAT_Field := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMECR_Register use record CKPSCx at 0 range 0 .. 2; CONT at 0 range 3 .. 3; RETRIG at 0 range 4 .. 4; HALF at 0 range 5 .. 5; PSHPLL at 0 range 6 .. 6; Reserved_7_9 at 0 range 7 .. 9; SYNCRSTx at 0 range 10 .. 10; SYNCSTRTx at 0 range 11 .. 11; DELCMP at 0 range 12 .. 15; Reserved_16_16 at 0 range 16 .. 16; TxREPU at 0 range 17 .. 17; TxRSTU at 0 range 18 .. 18; Reserved_19_19 at 0 range 19 .. 19; TBU at 0 range 20 .. 20; TCU at 0 range 21 .. 21; TDU at 0 range 22 .. 22; TEU at 0 range 23 .. 23; MSTU at 0 range 24 .. 24; DACSYNC at 0 range 25 .. 26; PREEN at 0 range 27 .. 27; UPDGAT at 0 range 28 .. 31; end record; -- TIMEISR_CMP array type TIMEISR_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for TIMEISR_CMP type TIMEISR_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : TIMEISR_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for TIMEISR_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- TIMEISR_CPT array type TIMEISR_CPT_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for TIMEISR_CPT type TIMEISR_CPT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CPT as a value Val : HAL.UInt2; when True => -- CPT as an array Arr : TIMEISR_CPT_Field_Array; end case; end record with Unchecked_Union, Size => 2; for TIMEISR_CPT_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Interrupt Status Register type TIMEISR_Register is record -- Read-only. Compare 1 Interrupt Flag CMP : TIMEISR_CMP_Field; -- Read-only. Repetition Interrupt Flag REP : Boolean; -- unspecified Reserved_5_5 : HAL.Bit; -- Read-only. Update Interrupt Flag UPD : Boolean; -- Read-only. Capture1 Interrupt Flag CPT : TIMEISR_CPT_Field; -- Read-only. Output 1 Set Interrupt Flag SETx1 : Boolean; -- Read-only. Output 1 Reset Interrupt Flag RSTx1 : Boolean; -- Read-only. Output 2 Set Interrupt Flag SETx2 : Boolean; -- Read-only. Output 2 Reset Interrupt Flag RSTx2 : Boolean; -- Read-only. Reset Interrupt Flag RST : Boolean; -- Read-only. Delayed Protection Flag DLYPRT : Boolean; -- unspecified Reserved_15_15 : HAL.Bit; -- Read-only. Current Push Pull Status CPPSTAT : Boolean; -- Read-only. Idle Push Pull Status IPPSTAT : Boolean; -- Read-only. Output 1 State O1STAT : Boolean; -- Read-only. Output 2 State O2STAT : Boolean; -- unspecified Reserved_20_31 : HAL.UInt12; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMEISR_Register use record CMP at 0 range 0 .. 3; REP at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPD at 0 range 6 .. 6; CPT at 0 range 7 .. 8; SETx1 at 0 range 9 .. 9; RSTx1 at 0 range 10 .. 10; SETx2 at 0 range 11 .. 11; RSTx2 at 0 range 12 .. 12; RST at 0 range 13 .. 13; DLYPRT at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CPPSTAT at 0 range 16 .. 16; IPPSTAT at 0 range 17 .. 17; O1STAT at 0 range 18 .. 18; O2STAT at 0 range 19 .. 19; Reserved_20_31 at 0 range 20 .. 31; end record; -- Timerx Interrupt Clear Register type TIMEICR_Register is record -- Write-only. Compare 1 Interrupt flag Clear CMP1C : Boolean := False; -- Write-only. Compare 2 Interrupt flag Clear CMP2C : Boolean := False; -- Write-only. Compare 3 Interrupt flag Clear CMP3C : Boolean := False; -- Write-only. Compare 4 Interrupt flag Clear CMP4C : Boolean := False; -- Write-only. Repetition Interrupt flag Clear REPC : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- Write-only. Update Interrupt flag Clear UPDC : Boolean := False; -- Write-only. Capture1 Interrupt flag Clear CPT1C : Boolean := False; -- Write-only. Capture2 Interrupt flag Clear CPT2C : Boolean := False; -- Write-only. Output 1 Set flag Clear SET1xC : Boolean := False; -- Write-only. Output 1 Reset flag Clear RSTx1C : Boolean := False; -- Write-only. Output 2 Set flag Clear SET2xC : Boolean := False; -- Write-only. Output 2 Reset flag Clear RSTx2C : Boolean := False; -- Write-only. Reset Interrupt flag Clear RSTC : Boolean := False; -- Write-only. Delayed Protection Flag Clear DLYPRTC : Boolean := False; -- unspecified Reserved_15_31 : HAL.UInt17 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMEICR_Register use record CMP1C at 0 range 0 .. 0; CMP2C at 0 range 1 .. 1; CMP3C at 0 range 2 .. 2; CMP4C at 0 range 3 .. 3; REPC at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDC at 0 range 6 .. 6; CPT1C at 0 range 7 .. 7; CPT2C at 0 range 8 .. 8; SET1xC at 0 range 9 .. 9; RSTx1C at 0 range 10 .. 10; SET2xC at 0 range 11 .. 11; RSTx2C at 0 range 12 .. 12; RSTC at 0 range 13 .. 13; DLYPRTC at 0 range 14 .. 14; Reserved_15_31 at 0 range 15 .. 31; end record; -- TIMxDIER type TIMEDIER_Register is record -- CMP1IE CMP1IE : Boolean := False; -- CMP2IE CMP2IE : Boolean := False; -- CMP3IE CMP3IE : Boolean := False; -- CMP4IE CMP4IE : Boolean := False; -- REPIE REPIE : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- UPDIE UPDIE : Boolean := False; -- CPT1IE CPT1IE : Boolean := False; -- CPT2IE CPT2IE : Boolean := False; -- SET1xIE SET1xIE : Boolean := False; -- RSTx1IE RSTx1IE : Boolean := False; -- SETx2IE SETx2IE : Boolean := False; -- RSTx2IE RSTx2IE : Boolean := False; -- RSTIE RSTIE : Boolean := False; -- DLYPRTIE DLYPRTIE : Boolean := False; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- CMP1DE CMP1DE : Boolean := False; -- CMP2DE CMP2DE : Boolean := False; -- CMP3DE CMP3DE : Boolean := False; -- CMP4DE CMP4DE : Boolean := False; -- REPDE REPDE : Boolean := False; -- unspecified Reserved_21_21 : HAL.Bit := 16#0#; -- UPDDE UPDDE : Boolean := False; -- CPT1DE CPT1DE : Boolean := False; -- CPT2DE CPT2DE : Boolean := False; -- SET1xDE SET1xDE : Boolean := False; -- RSTx1DE RSTx1DE : Boolean := False; -- SETx2DE SETx2DE : Boolean := False; -- RSTx2DE RSTx2DE : Boolean := False; -- RSTDE RSTDE : Boolean := False; -- DLYPRTDE DLYPRTDE : Boolean := False; -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for TIMEDIER_Register use record CMP1IE at 0 range 0 .. 0; CMP2IE at 0 range 1 .. 1; CMP3IE at 0 range 2 .. 2; CMP4IE at 0 range 3 .. 3; REPIE at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; UPDIE at 0 range 6 .. 6; CPT1IE at 0 range 7 .. 7; CPT2IE at 0 range 8 .. 8; SET1xIE at 0 range 9 .. 9; RSTx1IE at 0 range 10 .. 10; SETx2IE at 0 range 11 .. 11; RSTx2IE at 0 range 12 .. 12; RSTIE at 0 range 13 .. 13; DLYPRTIE at 0 range 14 .. 14; Reserved_15_15 at 0 range 15 .. 15; CMP1DE at 0 range 16 .. 16; CMP2DE at 0 range 17 .. 17; CMP3DE at 0 range 18 .. 18; CMP4DE at 0 range 19 .. 19; REPDE at 0 range 20 .. 20; Reserved_21_21 at 0 range 21 .. 21; UPDDE at 0 range 22 .. 22; CPT1DE at 0 range 23 .. 23; CPT2DE at 0 range 24 .. 24; SET1xDE at 0 range 25 .. 25; RSTx1DE at 0 range 26 .. 26; SETx2DE at 0 range 27 .. 27; RSTx2DE at 0 range 28 .. 28; RSTDE at 0 range 29 .. 29; DLYPRTDE at 0 range 30 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CNTER_CNTx_Field is HAL.UInt16; -- Timerx Counter Register type CNTER_Register is record -- Timerx Counter value CNTx : CNTER_CNTx_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CNTER_Register use record CNTx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype PERER_PERx_Field is HAL.UInt16; -- Timerx Period Register type PERER_Register is record -- Timerx Period value PERx : PERER_PERx_Field := 16#FFFF#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PERER_Register use record PERx at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype REPER_REPx_Field is HAL.UInt8; -- Timerx Repetition Register type REPER_Register is record -- Timerx Repetition counter value REPx : REPER_REPx_Field := 16#0#; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for REPER_Register use record REPx at 0 range 0 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; subtype CMP1ER_CMP1x_Field is HAL.UInt16; -- Timerx Compare 1 Register type CMP1ER_Register is record -- Timerx Compare 1 value CMP1x : CMP1ER_CMP1x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1ER_Register use record CMP1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP1CER_CMP1x_Field is HAL.UInt16; subtype CMP1CER_REPx_Field is HAL.UInt8; -- Timerx Compare 1 Compound Register type CMP1CER_Register is record -- Timerx Compare 1 value CMP1x : CMP1CER_CMP1x_Field := 16#0#; -- Timerx Repetition value (aliased from HRTIM_REPx register) REPx : CMP1CER_REPx_Field := 16#0#; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP1CER_Register use record CMP1x at 0 range 0 .. 15; REPx at 0 range 16 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; subtype CMP2ER_CMP2x_Field is HAL.UInt16; -- Timerx Compare 2 Register type CMP2ER_Register is record -- Timerx Compare 2 value CMP2x : CMP2ER_CMP2x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP2ER_Register use record CMP2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP3ER_CMP3x_Field is HAL.UInt16; -- Timerx Compare 3 Register type CMP3ER_Register is record -- Timerx Compare 3 value CMP3x : CMP3ER_CMP3x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP3ER_Register use record CMP3x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CMP4ER_CMP4x_Field is HAL.UInt16; -- Timerx Compare 4 Register type CMP4ER_Register is record -- Timerx Compare 4 value CMP4x : CMP4ER_CMP4x_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CMP4ER_Register use record CMP4x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT1ER_CPT1x_Field is HAL.UInt16; -- Timerx Capture 1 Register type CPT1ER_Register is record -- Read-only. Timerx Capture 1 value CPT1x : CPT1ER_CPT1x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1ER_Register use record CPT1x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype CPT2ER_CPT2x_Field is HAL.UInt16; -- Timerx Capture 2 Register type CPT2ER_Register is record -- Read-only. Timerx Capture 2 value CPT2x : CPT2ER_CPT2x_Field; -- unspecified Reserved_16_31 : HAL.UInt16; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2ER_Register use record CPT2x at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype DTER_DTRx_Field is HAL.UInt9; subtype DTER_DTPRSC_Field is HAL.UInt3; subtype DTER_DTFx_Field is HAL.UInt9; -- Timerx Deadtime Register type DTER_Register is record -- Deadtime Rising value DTRx : DTER_DTRx_Field := 16#0#; -- Sign Deadtime Rising value SDTRx : Boolean := False; -- Deadtime Prescaler DTPRSC : DTER_DTPRSC_Field := 16#0#; -- unspecified Reserved_13_13 : HAL.Bit := 16#0#; -- Deadtime Rising Sign Lock DTRSLKx : Boolean := False; -- Deadtime Rising Lock DTRLKx : Boolean := False; -- Deadtime Falling value DTFx : DTER_DTFx_Field := 16#0#; -- Sign Deadtime Falling value SDTFx : Boolean := False; -- unspecified Reserved_26_29 : HAL.UInt4 := 16#0#; -- Deadtime Falling Sign Lock DTFSLKx : Boolean := False; -- Deadtime Falling Lock DTFLKx : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for DTER_Register use record DTRx at 0 range 0 .. 8; SDTRx at 0 range 9 .. 9; DTPRSC at 0 range 10 .. 12; Reserved_13_13 at 0 range 13 .. 13; DTRSLKx at 0 range 14 .. 14; DTRLKx at 0 range 15 .. 15; DTFx at 0 range 16 .. 24; SDTFx at 0 range 25 .. 25; Reserved_26_29 at 0 range 26 .. 29; DTFSLKx at 0 range 30 .. 30; DTFLKx at 0 range 31 .. 31; end record; -- SETE1R_CMP array type SETE1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETE1R_CMP type SETE1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETE1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETE1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETE1R_MSTCMP array type SETE1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETE1R_MSTCMP type SETE1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETE1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETE1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETE1R_TIMEVNT array type SETE1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETE1R_TIMEVNT type SETE1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETE1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETE1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETE1R_EXTEVNT array type SETE1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETE1R_EXTEVNT type SETE1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETE1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETE1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Set Register type SETE1R_Register is record -- Software Set trigger SST : Boolean := False; -- Timer A resynchronizaton RESYNC : Boolean := False; -- Timer A Period PER : Boolean := False; -- Timer A compare 1 CMP : SETE1R_CMP_Field := (As_Array => False, Val => 16#0#); -- Master Period MSTPER : Boolean := False; -- Master Compare 1 MSTCMP : SETE1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- Timer Event 1 TIMEVNT : SETE1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : SETE1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Registers update (transfer preload to active) UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETE1R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTE1R_CMP array type RSTE1R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTE1R_CMP type RSTE1R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTE1R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTE1R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTE1R_MSTCMP array type RSTE1R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTE1R_MSTCMP type RSTE1R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTE1R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTE1R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTE1R_TIMEVNT array type RSTE1R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTE1R_TIMEVNT type RSTE1R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTE1R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTE1R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTE1R_EXTEVNT array type RSTE1R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTE1R_EXTEVNT type RSTE1R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTE1R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTE1R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output1 Reset Register type RSTE1R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTE1R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTE1R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTE1R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTE1R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTE1R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- SETE2R_CMP array type SETE2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETE2R_CMP type SETE2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : SETE2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETE2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETE2R_MSTCMP array type SETE2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for SETE2R_MSTCMP type SETE2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : SETE2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for SETE2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- SETE2R_TIMEVNT array type SETE2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for SETE2R_TIMEVNT type SETE2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : SETE2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for SETE2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- SETE2R_EXTEVNT array type SETE2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for SETE2R_EXTEVNT type SETE2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : SETE2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for SETE2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Set Register type SETE2R_Register is record -- SST SST : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : SETE2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : SETE2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : SETE2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : SETE2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SETE2R_Register use record SST at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; -- RSTE2R_CMP array type RSTE2R_CMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTE2R_CMP type RSTE2R_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt4; when True => -- CMP as an array Arr : RSTE2R_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTE2R_CMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTE2R_MSTCMP array type RSTE2R_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTE2R_MSTCMP type RSTE2R_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTE2R_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTE2R_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTE2R_TIMEVNT array type RSTE2R_TIMEVNT_Field_Array is array (1 .. 9) of Boolean with Component_Size => 1, Size => 9; -- Type definition for RSTE2R_TIMEVNT type RSTE2R_TIMEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMEVNT as a value Val : HAL.UInt9; when True => -- TIMEVNT as an array Arr : RSTE2R_TIMEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 9; for RSTE2R_TIMEVNT_Field use record Val at 0 range 0 .. 8; Arr at 0 range 0 .. 8; end record; -- RSTE2R_EXTEVNT array type RSTE2R_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTE2R_EXTEVNT type RSTE2R_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTE2R_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTE2R_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- Timerx Output2 Reset Register type RSTE2R_Register is record -- SRT SRT : Boolean := False; -- RESYNC RESYNC : Boolean := False; -- PER PER : Boolean := False; -- CMP1 CMP : RSTE2R_CMP_Field := (As_Array => False, Val => 16#0#); -- MSTPER MSTPER : Boolean := False; -- MSTCMP1 MSTCMP : RSTE2R_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- TIMEVNT1 TIMEVNT : RSTE2R_TIMEVNT_Field := (As_Array => False, Val => 16#0#); -- EXTEVNT1 EXTEVNT : RSTE2R_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- UPDATE UPDATE : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTE2R_Register use record SRT at 0 range 0 .. 0; RESYNC at 0 range 1 .. 1; PER at 0 range 2 .. 2; CMP at 0 range 3 .. 6; MSTPER at 0 range 7 .. 7; MSTCMP at 0 range 8 .. 11; TIMEVNT at 0 range 12 .. 20; EXTEVNT at 0 range 21 .. 30; UPDATE at 0 range 31 .. 31; end record; subtype EEFER1_EE1FLTR_Field is HAL.UInt4; subtype EEFER1_EE2FLTR_Field is HAL.UInt4; subtype EEFER1_EE3FLTR_Field is HAL.UInt4; subtype EEFER1_EE4FLTR_Field is HAL.UInt4; subtype EEFER1_EE5FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 1 type EEFER1_Register is record -- External Event 1 latch EE1LTCH : Boolean := False; -- External Event 1 filter EE1FLTR : EEFER1_EE1FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 2 latch EE2LTCH : Boolean := False; -- External Event 2 filter EE2FLTR : EEFER1_EE2FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 3 latch EE3LTCH : Boolean := False; -- External Event 3 filter EE3FLTR : EEFER1_EE3FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 4 latch EE4LTCH : Boolean := False; -- External Event 4 filter EE4FLTR : EEFER1_EE4FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 5 latch EE5LTCH : Boolean := False; -- External Event 5 filter EE5FLTR : EEFER1_EE5FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFER1_Register use record EE1LTCH at 0 range 0 .. 0; EE1FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE2LTCH at 0 range 6 .. 6; EE2FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE3LTCH at 0 range 12 .. 12; EE3FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE4LTCH at 0 range 18 .. 18; EE4FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE5LTCH at 0 range 24 .. 24; EE5FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype EEFER2_EE6FLTR_Field is HAL.UInt4; subtype EEFER2_EE7FLTR_Field is HAL.UInt4; subtype EEFER2_EE8FLTR_Field is HAL.UInt4; subtype EEFER2_EE9FLTR_Field is HAL.UInt4; subtype EEFER2_EE10FLTR_Field is HAL.UInt4; -- Timerx External Event Filtering Register 2 type EEFER2_Register is record -- External Event 6 latch EE6LTCH : Boolean := False; -- External Event 6 filter EE6FLTR : EEFER2_EE6FLTR_Field := 16#0#; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- External Event 7 latch EE7LTCH : Boolean := False; -- External Event 7 filter EE7FLTR : EEFER2_EE7FLTR_Field := 16#0#; -- unspecified Reserved_11_11 : HAL.Bit := 16#0#; -- External Event 8 latch EE8LTCH : Boolean := False; -- External Event 8 filter EE8FLTR : EEFER2_EE8FLTR_Field := 16#0#; -- unspecified Reserved_17_17 : HAL.Bit := 16#0#; -- External Event 9 latch EE9LTCH : Boolean := False; -- External Event 9 filter EE9FLTR : EEFER2_EE9FLTR_Field := 16#0#; -- unspecified Reserved_23_23 : HAL.Bit := 16#0#; -- External Event 10 latch EE10LTCH : Boolean := False; -- External Event 10 filter EE10FLTR : EEFER2_EE10FLTR_Field := 16#0#; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for EEFER2_Register use record EE6LTCH at 0 range 0 .. 0; EE6FLTR at 0 range 1 .. 4; Reserved_5_5 at 0 range 5 .. 5; EE7LTCH at 0 range 6 .. 6; EE7FLTR at 0 range 7 .. 10; Reserved_11_11 at 0 range 11 .. 11; EE8LTCH at 0 range 12 .. 12; EE8FLTR at 0 range 13 .. 16; Reserved_17_17 at 0 range 17 .. 17; EE9LTCH at 0 range 18 .. 18; EE9FLTR at 0 range 19 .. 22; Reserved_23_23 at 0 range 23 .. 23; EE10LTCH at 0 range 24 .. 24; EE10FLTR at 0 range 25 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; -- RSTER_CMP array type RSTER_CMP_Field_Array is array (2 .. 3) of Boolean with Component_Size => 1, Size => 2; -- Type definition for RSTER_CMP type RSTER_CMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- CMP as a value Val : HAL.UInt2; when True => -- CMP as an array Arr : RSTER_CMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for RSTER_CMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- RSTER_MSTCMP array type RSTER_MSTCMP_Field_Array is array (1 .. 4) of Boolean with Component_Size => 1, Size => 4; -- Type definition for RSTER_MSTCMP type RSTER_MSTCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- MSTCMP as a value Val : HAL.UInt4; when True => -- MSTCMP as an array Arr : RSTER_MSTCMP_Field_Array; end case; end record with Unchecked_Union, Size => 4; for RSTER_MSTCMP_Field use record Val at 0 range 0 .. 3; Arr at 0 range 0 .. 3; end record; -- RSTER_EXTEVNT array type RSTER_EXTEVNT_Field_Array is array (1 .. 10) of Boolean with Component_Size => 1, Size => 10; -- Type definition for RSTER_EXTEVNT type RSTER_EXTEVNT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTEVNT as a value Val : HAL.UInt10; when True => -- EXTEVNT as an array Arr : RSTER_EXTEVNT_Field_Array; end case; end record with Unchecked_Union, Size => 10; for RSTER_EXTEVNT_Field use record Val at 0 range 0 .. 9; Arr at 0 range 0 .. 9; end record; -- RSTER_TIMACMP array type RSTER_TIMACMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTER_TIMACMP type RSTER_TIMACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMACMP as a value Val : HAL.UInt3; when True => -- TIMACMP as an array Arr : RSTER_TIMACMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTER_TIMACMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTER_TIMBCMP array type RSTER_TIMBCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTER_TIMBCMP type RSTER_TIMBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMBCMP as a value Val : HAL.UInt3; when True => -- TIMBCMP as an array Arr : RSTER_TIMBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTER_TIMBCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTER_TIMCCMP array type RSTER_TIMCCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTER_TIMCCMP type RSTER_TIMCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMCCMP as a value Val : HAL.UInt3; when True => -- TIMCCMP as an array Arr : RSTER_TIMCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTER_TIMCCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- RSTER_TIMDCMP array type RSTER_TIMDCMP_Field_Array is array (1 .. 3) of Boolean with Component_Size => 1, Size => 3; -- Type definition for RSTER_TIMDCMP type RSTER_TIMDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TIMDCMP as a value Val : HAL.UInt3; when True => -- TIMDCMP as an array Arr : RSTER_TIMDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 3; for RSTER_TIMDCMP_Field use record Val at 0 range 0 .. 2; Arr at 0 range 0 .. 2; end record; -- TimerA Reset Register type RSTER_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Timer A Update reset UPDT : Boolean := False; -- Timer A compare 2 reset CMP : RSTER_CMP_Field := (As_Array => False, Val => 16#0#); -- Master timer Period MSTPER : Boolean := False; -- Master compare 1 MSTCMP : RSTER_MSTCMP_Field := (As_Array => False, Val => 16#0#); -- External Event 1 EXTEVNT : RSTER_EXTEVNT_Field := (As_Array => False, Val => 16#0#); -- Timer A Compare 1 TIMACMP : RSTER_TIMACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B Compare 1 TIMBCMP : RSTER_TIMBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C Compare 1 TIMCCMP : RSTER_TIMCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D Compare 1 TIMDCMP : RSTER_TIMDCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_31_31 : HAL.Bit := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for RSTER_Register use record Reserved_0_0 at 0 range 0 .. 0; UPDT at 0 range 1 .. 1; CMP at 0 range 2 .. 3; MSTPER at 0 range 4 .. 4; MSTCMP at 0 range 5 .. 8; EXTEVNT at 0 range 9 .. 18; TIMACMP at 0 range 19 .. 21; TIMBCMP at 0 range 22 .. 24; TIMCCMP at 0 range 25 .. 27; TIMDCMP at 0 range 28 .. 30; Reserved_31_31 at 0 range 31 .. 31; end record; subtype CHPER_CHPFRQ_Field is HAL.UInt4; subtype CHPER_CHPDTY_Field is HAL.UInt3; subtype CHPER_STRTPW_Field is HAL.UInt4; -- Timerx Chopper Register type CHPER_Register is record -- Timerx carrier frequency value CHPFRQ : CHPER_CHPFRQ_Field := 16#0#; -- Timerx chopper duty cycle value CHPDTY : CHPER_CHPDTY_Field := 16#0#; -- STRTPW STRTPW : CHPER_STRTPW_Field := 16#0#; -- unspecified Reserved_11_31 : HAL.UInt21 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CHPER_Register use record CHPFRQ at 0 range 0 .. 3; CHPDTY at 0 range 4 .. 6; STRTPW at 0 range 7 .. 10; Reserved_11_31 at 0 range 11 .. 31; end record; -- CPT1ECR_TACMP array type CPT1ECR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ECR_TACMP type CPT1ECR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT1ECR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ECR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1ECR_TBCMP array type CPT1ECR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ECR_TBCMP type CPT1ECR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT1ECR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ECR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1ECR_TCCMP array type CPT1ECR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ECR_TCCMP type CPT1ECR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT1ECR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ECR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT1ECR_TDCMP array type CPT1ECR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT1ECR_TDCMP type CPT1ECR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT1ECR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT1ECR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- Timerx Capture 2 Control Register type CPT1ECR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT1ECR_TACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT1ECR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT1ECR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT1ECR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT1ECR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; -- CPT2ECR_TACMP array type CPT2ECR_TACMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ECR_TACMP type CPT2ECR_TACMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TACMP as a value Val : HAL.UInt2; when True => -- TACMP as an array Arr : CPT2ECR_TACMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ECR_TACMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2ECR_TBCMP array type CPT2ECR_TBCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ECR_TBCMP type CPT2ECR_TBCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TBCMP as a value Val : HAL.UInt2; when True => -- TBCMP as an array Arr : CPT2ECR_TBCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ECR_TBCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2ECR_TCCMP array type CPT2ECR_TCCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ECR_TCCMP type CPT2ECR_TCCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TCCMP as a value Val : HAL.UInt2; when True => -- TCCMP as an array Arr : CPT2ECR_TCCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ECR_TCCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2ECR_TDCMP array type CPT2ECR_TDCMP_Field_Array is array (1 .. 2) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CPT2ECR_TDCMP type CPT2ECR_TDCMP_Field (As_Array : Boolean := False) is record case As_Array is when False => -- TDCMP as a value Val : HAL.UInt2; when True => -- TDCMP as an array Arr : CPT2ECR_TDCMP_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CPT2ECR_TDCMP_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; -- CPT2xCR type CPT2ECR_Register is record -- Software Capture SWCPT : Boolean := False; -- Update Capture UDPCPT : Boolean := False; -- External Event 1 Capture EXEV1CPT : Boolean := False; -- External Event 2 Capture EXEV2CPT : Boolean := False; -- External Event 3 Capture EXEV3CPT : Boolean := False; -- External Event 4 Capture EXEV4CPT : Boolean := False; -- External Event 5 Capture EXEV5CPT : Boolean := False; -- External Event 6 Capture EXEV6CPT : Boolean := False; -- External Event 7 Capture EXEV7CPT : Boolean := False; -- External Event 8 Capture EXEV8CPT : Boolean := False; -- External Event 9 Capture EXEV9CPT : Boolean := False; -- External Event 10 Capture EXEV10CPT : Boolean := False; -- Timer A output 1 Set TA1SET : Boolean := False; -- Timer A output 1 Reset TA1RST : Boolean := False; -- Timer A Compare 1 TACMP : CPT2ECR_TACMP_Field := (As_Array => False, Val => 16#0#); -- Timer B output 1 Set TB1SET : Boolean := False; -- Timer B output 1 Reset TB1RST : Boolean := False; -- Timer B Compare 1 TBCMP : CPT2ECR_TBCMP_Field := (As_Array => False, Val => 16#0#); -- Timer C output 1 Set TC1SET : Boolean := False; -- Timer C output 1 Reset TC1RST : Boolean := False; -- Timer C Compare 1 TCCMP : CPT2ECR_TCCMP_Field := (As_Array => False, Val => 16#0#); -- Timer D output 1 Set TD1SET : Boolean := False; -- Timer D output 1 Reset TD1RST : Boolean := False; -- Timer D Compare 1 TDCMP : CPT2ECR_TDCMP_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_28_31 : HAL.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CPT2ECR_Register use record SWCPT at 0 range 0 .. 0; UDPCPT at 0 range 1 .. 1; EXEV1CPT at 0 range 2 .. 2; EXEV2CPT at 0 range 3 .. 3; EXEV3CPT at 0 range 4 .. 4; EXEV4CPT at 0 range 5 .. 5; EXEV5CPT at 0 range 6 .. 6; EXEV6CPT at 0 range 7 .. 7; EXEV7CPT at 0 range 8 .. 8; EXEV8CPT at 0 range 9 .. 9; EXEV9CPT at 0 range 10 .. 10; EXEV10CPT at 0 range 11 .. 11; TA1SET at 0 range 12 .. 12; TA1RST at 0 range 13 .. 13; TACMP at 0 range 14 .. 15; TB1SET at 0 range 16 .. 16; TB1RST at 0 range 17 .. 17; TBCMP at 0 range 18 .. 19; TC1SET at 0 range 20 .. 20; TC1RST at 0 range 21 .. 21; TCCMP at 0 range 22 .. 23; TD1SET at 0 range 24 .. 24; TD1RST at 0 range 25 .. 25; TDCMP at 0 range 26 .. 27; Reserved_28_31 at 0 range 28 .. 31; end record; subtype OUTER_FAULT1_Field is HAL.UInt2; subtype OUTER_DLYPRT_Field is HAL.UInt3; subtype OUTER_FAULT2_Field is HAL.UInt2; -- Timerx Output Register type OUTER_Register is record -- unspecified Reserved_0_0 : HAL.Bit := 16#0#; -- Output 1 polarity POL1 : Boolean := False; -- Output 1 Idle mode IDLEM1 : Boolean := False; -- Output 1 Idle State IDLES1 : Boolean := False; -- Output 1 Fault state FAULT1 : OUTER_FAULT1_Field := 16#0#; -- Output 1 Chopper enable CHP1 : Boolean := False; -- Output 1 Deadtime upon burst mode Idle entry DIDL1 : Boolean := False; -- Deadtime enable DTEN : Boolean := False; -- Delayed Protection Enable DLYPRTEN : Boolean := False; -- Delayed Protection DLYPRT : OUTER_DLYPRT_Field := 16#0#; -- unspecified Reserved_13_16 : HAL.UInt4 := 16#0#; -- Output 2 polarity POL2 : Boolean := False; -- Output 2 Idle mode IDLEM2 : Boolean := False; -- Output 2 Idle State IDLES2 : Boolean := False; -- Output 2 Fault state FAULT2 : OUTER_FAULT2_Field := 16#0#; -- Output 2 Chopper enable CHP2 : Boolean := False; -- Output 2 Deadtime upon burst mode Idle entry DIDL2 : Boolean := False; -- unspecified Reserved_24_31 : HAL.UInt8 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for OUTER_Register use record Reserved_0_0 at 0 range 0 .. 0; POL1 at 0 range 1 .. 1; IDLEM1 at 0 range 2 .. 2; IDLES1 at 0 range 3 .. 3; FAULT1 at 0 range 4 .. 5; CHP1 at 0 range 6 .. 6; DIDL1 at 0 range 7 .. 7; DTEN at 0 range 8 .. 8; DLYPRTEN at 0 range 9 .. 9; DLYPRT at 0 range 10 .. 12; Reserved_13_16 at 0 range 13 .. 16; POL2 at 0 range 17 .. 17; IDLEM2 at 0 range 18 .. 18; IDLES2 at 0 range 19 .. 19; FAULT2 at 0 range 20 .. 21; CHP2 at 0 range 22 .. 22; DIDL2 at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; -- Timerx Fault Register type FLTER_Register is record -- Fault 1 enable FLT1EN : Boolean := False; -- Fault 2 enable FLT2EN : Boolean := False; -- Fault 3 enable FLT3EN : Boolean := False; -- Fault 4 enable FLT4EN : Boolean := False; -- Fault 5 enable FLT5EN : Boolean := False; -- unspecified Reserved_5_30 : HAL.UInt26 := 16#0#; -- Fault sources Lock FLTLCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FLTER_Register use record FLT1EN at 0 range 0 .. 0; FLT2EN at 0 range 1 .. 1; FLT3EN at 0 range 2 .. 2; FLT4EN at 0 range 3 .. 3; FLT5EN at 0 range 4 .. 4; Reserved_5_30 at 0 range 5 .. 30; FLTLCK at 0 range 31 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- High Resolution Timer: Common functions type HRTIM_Common_Peripheral is record -- Control Register 1 CR1 : aliased CR1_Register; -- Control Register 2 CR2 : aliased CR2_Register; -- Interrupt Status Register ISR : aliased ISR_Register; -- Interrupt Clear Register ICR : aliased ICR_Register; -- Interrupt Enable Register IER : aliased IER_Register; -- Output Enable Register OENR : aliased OENR_Register; -- ODISR ODISR : aliased ODISR_Register; -- Output Disable Status Register ODSR : aliased ODSR_Register; -- Burst Mode Control Register BMCR : aliased BMCR_Register; -- BMTRG BMTRG : aliased BMTRG_Register; -- BMCMPR BMCMPR : aliased BMCMPR_Register; -- Burst Mode Period Register BMPER : aliased BMPER_Register; -- Timer External Event Control Register 1 EECR1 : aliased EECR1_Register; -- Timer External Event Control Register 2 EECR2 : aliased EECR2_Register; -- Timer External Event Control Register 3 EECR3 : aliased EECR3_Register; -- ADC Trigger 1 Register ADC1R : aliased ADC1R_Register; -- ADC Trigger 2 Register ADC2R : aliased ADC2R_Register; -- ADC Trigger 3 Register ADC3R : aliased ADC3R_Register; -- ADC Trigger 4 Register ADC4R : aliased ADC4R_Register; -- DLL Control Register DLLCR : aliased DLLCR_Register; -- HRTIM Fault Input Register 1 FLTINR1 : aliased FLTINR1_Register; -- HRTIM Fault Input Register 2 FLTINR2 : aliased FLTINR2_Register; -- BDMUPDR BDMUPDR : aliased BDMUPDR_Register; -- Burst DMA Timerx update Register BDTxUPR : aliased BDTxUPR_Register; -- Burst DMA Data Register BDMADR : aliased HAL.UInt32; end record with Volatile; for HRTIM_Common_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; ISR at 16#8# range 0 .. 31; ICR at 16#C# range 0 .. 31; IER at 16#10# range 0 .. 31; OENR at 16#14# range 0 .. 31; ODISR at 16#18# range 0 .. 31; ODSR at 16#1C# range 0 .. 31; BMCR at 16#20# range 0 .. 31; BMTRG at 16#24# range 0 .. 31; BMCMPR at 16#28# range 0 .. 31; BMPER at 16#2C# range 0 .. 31; EECR1 at 16#30# range 0 .. 31; EECR2 at 16#34# range 0 .. 31; EECR3 at 16#38# range 0 .. 31; ADC1R at 16#3C# range 0 .. 31; ADC2R at 16#40# range 0 .. 31; ADC3R at 16#44# range 0 .. 31; ADC4R at 16#48# range 0 .. 31; DLLCR at 16#4C# range 0 .. 31; FLTINR1 at 16#50# range 0 .. 31; FLTINR2 at 16#54# range 0 .. 31; BDMUPDR at 16#58# range 0 .. 31; BDTxUPR at 16#5C# range 0 .. 31; BDMADR at 16#60# range 0 .. 31; end record; -- High Resolution Timer: Common functions HRTIM_Common_Periph : aliased HRTIM_Common_Peripheral with Import, Address => HRTIM_Common_Base; -- High Resolution Timer: Master Timers type HRTIM_Master_Peripheral is record -- Master Timer Control Register MCR : aliased MCR_Register; -- Master Timer Interrupt Status Register MISR : aliased MISR_Register; -- Master Timer Interrupt Clear Register MICR : aliased MICR_Register; -- MDIER MDIER : aliased MDIER_Register; -- Master Timer Counter Register MCNTR : aliased MCNTR_Register; -- Master Timer Period Register MPER : aliased MPER_Register; -- Master Timer Repetition Register MREP : aliased MREP_Register; -- Master Timer Compare 1 Register MCMP1R : aliased MCMP1R_Register; -- Master Timer Compare 2 Register MCMP2R : aliased MCMP2R_Register; -- Master Timer Compare 3 Register MCMP3R : aliased MCMP3R_Register; -- Master Timer Compare 4 Register MCMP4R : aliased MCMP4R_Register; end record with Volatile; for HRTIM_Master_Peripheral use record MCR at 16#0# range 0 .. 31; MISR at 16#4# range 0 .. 31; MICR at 16#8# range 0 .. 31; MDIER at 16#C# range 0 .. 31; MCNTR at 16#10# range 0 .. 31; MPER at 16#14# range 0 .. 31; MREP at 16#18# range 0 .. 31; MCMP1R at 16#1C# range 0 .. 31; MCMP2R at 16#24# range 0 .. 31; MCMP3R at 16#28# range 0 .. 31; MCMP4R at 16#2C# range 0 .. 31; end record; -- High Resolution Timer: Master Timers HRTIM_Master_Periph : aliased HRTIM_Master_Peripheral with Import, Address => HRTIM_Master_Base; -- High Resolution Timer: TIMA type HRTIM_TIMA_Peripheral is record -- Timerx Control Register TIMACR : aliased TIMACR_Register; -- Timerx Interrupt Status Register TIMAISR : aliased TIMAISR_Register; -- Timerx Interrupt Clear Register TIMAICR : aliased TIMAICR_Register; -- TIMxDIER TIMADIER : aliased TIMADIER_Register; -- Timerx Counter Register CNTAR : aliased CNTAR_Register; -- Timerx Period Register PERAR : aliased PERAR_Register; -- Timerx Repetition Register REPAR : aliased REPAR_Register; -- Timerx Compare 1 Register CMP1AR : aliased CMP1AR_Register; -- Timerx Compare 1 Compound Register CMP1CAR : aliased CMP1CAR_Register; -- Timerx Compare 2 Register CMP2AR : aliased CMP2AR_Register; -- Timerx Compare 3 Register CMP3AR : aliased CMP3AR_Register; -- Timerx Compare 4 Register CMP4AR : aliased CMP4AR_Register; -- Timerx Capture 1 Register CPT1AR : aliased CPT1AR_Register; -- Timerx Capture 2 Register CPT2AR : aliased CPT2AR_Register; -- Timerx Deadtime Register DTAR : aliased DTAR_Register; -- Timerx Output1 Set Register SETA1R : aliased SETA1R_Register; -- Timerx Output1 Reset Register RSTA1R : aliased RSTA1R_Register; -- Timerx Output2 Set Register SETA2R : aliased SETA2R_Register; -- Timerx Output2 Reset Register RSTA2R : aliased RSTA2R_Register; -- Timerx External Event Filtering Register 1 EEFAR1 : aliased EEFAR1_Register; -- Timerx External Event Filtering Register 2 EEFAR2 : aliased EEFAR2_Register; -- TimerA Reset Register RSTAR : aliased RSTAR_Register; -- Timerx Chopper Register CHPAR : aliased CHPAR_Register; -- Timerx Capture 2 Control Register CPT1ACR : aliased CPT1ACR_Register; -- CPT2xCR CPT2ACR : aliased CPT2ACR_Register; -- Timerx Output Register OUTAR : aliased OUTAR_Register; -- Timerx Fault Register FLTAR : aliased FLTAR_Register; end record with Volatile; for HRTIM_TIMA_Peripheral use record TIMACR at 16#0# range 0 .. 31; TIMAISR at 16#4# range 0 .. 31; TIMAICR at 16#8# range 0 .. 31; TIMADIER at 16#C# range 0 .. 31; CNTAR at 16#10# range 0 .. 31; PERAR at 16#14# range 0 .. 31; REPAR at 16#18# range 0 .. 31; CMP1AR at 16#1C# range 0 .. 31; CMP1CAR at 16#20# range 0 .. 31; CMP2AR at 16#24# range 0 .. 31; CMP3AR at 16#28# range 0 .. 31; CMP4AR at 16#2C# range 0 .. 31; CPT1AR at 16#30# range 0 .. 31; CPT2AR at 16#34# range 0 .. 31; DTAR at 16#38# range 0 .. 31; SETA1R at 16#3C# range 0 .. 31; RSTA1R at 16#40# range 0 .. 31; SETA2R at 16#44# range 0 .. 31; RSTA2R at 16#48# range 0 .. 31; EEFAR1 at 16#4C# range 0 .. 31; EEFAR2 at 16#50# range 0 .. 31; RSTAR at 16#54# range 0 .. 31; CHPAR at 16#58# range 0 .. 31; CPT1ACR at 16#5C# range 0 .. 31; CPT2ACR at 16#60# range 0 .. 31; OUTAR at 16#64# range 0 .. 31; FLTAR at 16#68# range 0 .. 31; end record; -- High Resolution Timer: TIMA HRTIM_TIMA_Periph : aliased HRTIM_TIMA_Peripheral with Import, Address => HRTIM_TIMA_Base; -- High Resolution Timer: TIMB type HRTIM_TIMB_Peripheral is record -- Timerx Control Register TIMBCR : aliased TIMBCR_Register; -- Timerx Interrupt Status Register TIMBISR : aliased TIMBISR_Register; -- Timerx Interrupt Clear Register TIMBICR : aliased TIMBICR_Register; -- TIMxDIER TIMBDIER : aliased TIMBDIER_Register; -- Timerx Counter Register CNTR : aliased CNTR_Register; -- Timerx Period Register PERBR : aliased PERBR_Register; -- Timerx Repetition Register REPBR : aliased REPBR_Register; -- Timerx Compare 1 Register CMP1BR : aliased CMP1BR_Register; -- Timerx Compare 1 Compound Register CMP1CBR : aliased CMP1CBR_Register; -- Timerx Compare 2 Register CMP2BR : aliased CMP2BR_Register; -- Timerx Compare 3 Register CMP3BR : aliased CMP3BR_Register; -- Timerx Compare 4 Register CMP4BR : aliased CMP4BR_Register; -- Timerx Capture 1 Register CPT1BR : aliased CPT1BR_Register; -- Timerx Capture 2 Register CPT2BR : aliased CPT2BR_Register; -- Timerx Deadtime Register DTBR : aliased DTBR_Register; -- Timerx Output1 Set Register SETB1R : aliased SETB1R_Register; -- Timerx Output1 Reset Register RSTB1R : aliased RSTB1R_Register; -- Timerx Output2 Set Register SETB2R : aliased SETB2R_Register; -- Timerx Output2 Reset Register RSTB2R : aliased RSTB2R_Register; -- Timerx External Event Filtering Register 1 EEFBR1 : aliased EEFBR1_Register; -- Timerx External Event Filtering Register 2 EEFBR2 : aliased EEFBR2_Register; -- TimerA Reset Register RSTBR : aliased RSTBR_Register; -- Timerx Chopper Register CHPBR : aliased CHPBR_Register; -- Timerx Capture 2 Control Register CPT1BCR : aliased CPT1BCR_Register; -- CPT2xCR CPT2BCR : aliased CPT2BCR_Register; -- Timerx Output Register OUTBR : aliased OUTBR_Register; -- Timerx Fault Register FLTBR : aliased FLTBR_Register; end record with Volatile; for HRTIM_TIMB_Peripheral use record TIMBCR at 16#0# range 0 .. 31; TIMBISR at 16#4# range 0 .. 31; TIMBICR at 16#8# range 0 .. 31; TIMBDIER at 16#C# range 0 .. 31; CNTR at 16#10# range 0 .. 31; PERBR at 16#14# range 0 .. 31; REPBR at 16#18# range 0 .. 31; CMP1BR at 16#1C# range 0 .. 31; CMP1CBR at 16#20# range 0 .. 31; CMP2BR at 16#24# range 0 .. 31; CMP3BR at 16#28# range 0 .. 31; CMP4BR at 16#2C# range 0 .. 31; CPT1BR at 16#30# range 0 .. 31; CPT2BR at 16#34# range 0 .. 31; DTBR at 16#38# range 0 .. 31; SETB1R at 16#3C# range 0 .. 31; RSTB1R at 16#40# range 0 .. 31; SETB2R at 16#44# range 0 .. 31; RSTB2R at 16#48# range 0 .. 31; EEFBR1 at 16#4C# range 0 .. 31; EEFBR2 at 16#50# range 0 .. 31; RSTBR at 16#54# range 0 .. 31; CHPBR at 16#58# range 0 .. 31; CPT1BCR at 16#5C# range 0 .. 31; CPT2BCR at 16#60# range 0 .. 31; OUTBR at 16#64# range 0 .. 31; FLTBR at 16#68# range 0 .. 31; end record; -- High Resolution Timer: TIMB HRTIM_TIMB_Periph : aliased HRTIM_TIMB_Peripheral with Import, Address => HRTIM_TIMB_Base; -- High Resolution Timer: TIMC type HRTIM_TIMC_Peripheral is record -- Timerx Control Register TIMCCR : aliased TIMCCR_Register; -- Timerx Interrupt Status Register TIMCISR : aliased TIMCISR_Register; -- Timerx Interrupt Clear Register TIMCICR : aliased TIMCICR_Register; -- TIMxDIER TIMCDIER : aliased TIMCDIER_Register; -- Timerx Counter Register CNTCR : aliased CNTCR_Register; -- Timerx Period Register PERCR : aliased PERCR_Register; -- Timerx Repetition Register REPCR : aliased REPCR_Register; -- Timerx Compare 1 Register CMP1CR : aliased CMP1CR_Register; -- Timerx Compare 1 Compound Register CMP1CCR : aliased CMP1CCR_Register; -- Timerx Compare 2 Register CMP2CR : aliased CMP2CR_Register; -- Timerx Compare 3 Register CMP3CR : aliased CMP3CR_Register; -- Timerx Compare 4 Register CMP4CR : aliased CMP4CR_Register; -- Timerx Capture 1 Register CPT1CR : aliased CPT1CR_Register; -- Timerx Capture 2 Register CPT2CR : aliased CPT2CR_Register; -- Timerx Deadtime Register DTCR : aliased DTCR_Register; -- Timerx Output1 Set Register SETC1R : aliased SETC1R_Register; -- Timerx Output1 Reset Register RSTC1R : aliased RSTC1R_Register; -- Timerx Output2 Set Register SETC2R : aliased SETC2R_Register; -- Timerx Output2 Reset Register RSTC2R : aliased RSTC2R_Register; -- Timerx External Event Filtering Register 1 EEFCR1 : aliased EEFCR1_Register; -- Timerx External Event Filtering Register 2 EEFCR2 : aliased EEFCR2_Register; -- TimerA Reset Register RSTCR : aliased RSTCR_Register; -- Timerx Chopper Register CHPCR : aliased CHPCR_Register; -- Timerx Capture 2 Control Register CPT1CCR : aliased CPT1CCR_Register; -- CPT2xCR CPT2CCR : aliased CPT2CCR_Register; -- Timerx Output Register OUTCR : aliased OUTCR_Register; -- Timerx Fault Register FLTCR : aliased FLTCR_Register; end record with Volatile; for HRTIM_TIMC_Peripheral use record TIMCCR at 16#0# range 0 .. 31; TIMCISR at 16#4# range 0 .. 31; TIMCICR at 16#8# range 0 .. 31; TIMCDIER at 16#C# range 0 .. 31; CNTCR at 16#10# range 0 .. 31; PERCR at 16#14# range 0 .. 31; REPCR at 16#18# range 0 .. 31; CMP1CR at 16#1C# range 0 .. 31; CMP1CCR at 16#20# range 0 .. 31; CMP2CR at 16#24# range 0 .. 31; CMP3CR at 16#28# range 0 .. 31; CMP4CR at 16#2C# range 0 .. 31; CPT1CR at 16#30# range 0 .. 31; CPT2CR at 16#34# range 0 .. 31; DTCR at 16#38# range 0 .. 31; SETC1R at 16#3C# range 0 .. 31; RSTC1R at 16#40# range 0 .. 31; SETC2R at 16#44# range 0 .. 31; RSTC2R at 16#48# range 0 .. 31; EEFCR1 at 16#4C# range 0 .. 31; EEFCR2 at 16#50# range 0 .. 31; RSTCR at 16#54# range 0 .. 31; CHPCR at 16#58# range 0 .. 31; CPT1CCR at 16#5C# range 0 .. 31; CPT2CCR at 16#60# range 0 .. 31; OUTCR at 16#64# range 0 .. 31; FLTCR at 16#68# range 0 .. 31; end record; -- High Resolution Timer: TIMC HRTIM_TIMC_Periph : aliased HRTIM_TIMC_Peripheral with Import, Address => HRTIM_TIMC_Base; -- High Resolution Timer: TIMD type HRTIM_TIMD_Peripheral is record -- Timerx Control Register TIMDCR : aliased TIMDCR_Register; -- Timerx Interrupt Status Register TIMDISR : aliased TIMDISR_Register; -- Timerx Interrupt Clear Register TIMDICR : aliased TIMDICR_Register; -- TIMxDIER TIMDDIER : aliased TIMDDIER_Register; -- Timerx Counter Register CNTDR : aliased CNTDR_Register; -- Timerx Period Register PERDR : aliased PERDR_Register; -- Timerx Repetition Register REPDR : aliased REPDR_Register; -- Timerx Compare 1 Register CMP1DR : aliased CMP1DR_Register; -- Timerx Compare 1 Compound Register CMP1CDR : aliased CMP1CDR_Register; -- Timerx Compare 2 Register CMP2DR : aliased CMP2DR_Register; -- Timerx Compare 3 Register CMP3DR : aliased CMP3DR_Register; -- Timerx Compare 4 Register CMP4DR : aliased CMP4DR_Register; -- Timerx Capture 1 Register CPT1DR : aliased CPT1DR_Register; -- Timerx Capture 2 Register CPT2DR : aliased CPT2DR_Register; -- Timerx Deadtime Register DTDR : aliased DTDR_Register; -- Timerx Output1 Set Register SETD1R : aliased SETD1R_Register; -- Timerx Output1 Reset Register RSTD1R : aliased RSTD1R_Register; -- Timerx Output2 Set Register SETD2R : aliased SETD2R_Register; -- Timerx Output2 Reset Register RSTD2R : aliased RSTD2R_Register; -- Timerx External Event Filtering Register 1 EEFDR1 : aliased EEFDR1_Register; -- Timerx External Event Filtering Register 2 EEFDR2 : aliased EEFDR2_Register; -- TimerA Reset Register RSTDR : aliased RSTDR_Register; -- Timerx Chopper Register CHPDR : aliased CHPDR_Register; -- Timerx Capture 2 Control Register CPT1DCR : aliased CPT1DCR_Register; -- CPT2xCR CPT2DCR : aliased CPT2DCR_Register; -- Timerx Output Register OUTDR : aliased OUTDR_Register; -- Timerx Fault Register FLTDR : aliased FLTDR_Register; end record with Volatile; for HRTIM_TIMD_Peripheral use record TIMDCR at 16#0# range 0 .. 31; TIMDISR at 16#4# range 0 .. 31; TIMDICR at 16#8# range 0 .. 31; TIMDDIER at 16#C# range 0 .. 31; CNTDR at 16#10# range 0 .. 31; PERDR at 16#14# range 0 .. 31; REPDR at 16#18# range 0 .. 31; CMP1DR at 16#1C# range 0 .. 31; CMP1CDR at 16#20# range 0 .. 31; CMP2DR at 16#24# range 0 .. 31; CMP3DR at 16#28# range 0 .. 31; CMP4DR at 16#2C# range 0 .. 31; CPT1DR at 16#30# range 0 .. 31; CPT2DR at 16#34# range 0 .. 31; DTDR at 16#38# range 0 .. 31; SETD1R at 16#3C# range 0 .. 31; RSTD1R at 16#40# range 0 .. 31; SETD2R at 16#44# range 0 .. 31; RSTD2R at 16#48# range 0 .. 31; EEFDR1 at 16#4C# range 0 .. 31; EEFDR2 at 16#50# range 0 .. 31; RSTDR at 16#54# range 0 .. 31; CHPDR at 16#58# range 0 .. 31; CPT1DCR at 16#5C# range 0 .. 31; CPT2DCR at 16#60# range 0 .. 31; OUTDR at 16#64# range 0 .. 31; FLTDR at 16#68# range 0 .. 31; end record; -- High Resolution Timer: TIMD HRTIM_TIMD_Periph : aliased HRTIM_TIMD_Peripheral with Import, Address => HRTIM_TIMD_Base; -- High Resolution Timer: TIME type HRTIM_TIME_Peripheral is record -- Timerx Control Register TIMECR : aliased TIMECR_Register; -- Timerx Interrupt Status Register TIMEISR : aliased TIMEISR_Register; -- Timerx Interrupt Clear Register TIMEICR : aliased TIMEICR_Register; -- TIMxDIER TIMEDIER : aliased TIMEDIER_Register; -- Timerx Counter Register CNTER : aliased CNTER_Register; -- Timerx Period Register PERER : aliased PERER_Register; -- Timerx Repetition Register REPER : aliased REPER_Register; -- Timerx Compare 1 Register CMP1ER : aliased CMP1ER_Register; -- Timerx Compare 1 Compound Register CMP1CER : aliased CMP1CER_Register; -- Timerx Compare 2 Register CMP2ER : aliased CMP2ER_Register; -- Timerx Compare 3 Register CMP3ER : aliased CMP3ER_Register; -- Timerx Compare 4 Register CMP4ER : aliased CMP4ER_Register; -- Timerx Capture 1 Register CPT1ER : aliased CPT1ER_Register; -- Timerx Capture 2 Register CPT2ER : aliased CPT2ER_Register; -- Timerx Deadtime Register DTER : aliased DTER_Register; -- Timerx Output1 Set Register SETE1R : aliased SETE1R_Register; -- Timerx Output1 Reset Register RSTE1R : aliased RSTE1R_Register; -- Timerx Output2 Set Register SETE2R : aliased SETE2R_Register; -- Timerx Output2 Reset Register RSTE2R : aliased RSTE2R_Register; -- Timerx External Event Filtering Register 1 EEFER1 : aliased EEFER1_Register; -- Timerx External Event Filtering Register 2 EEFER2 : aliased EEFER2_Register; -- TimerA Reset Register RSTER : aliased RSTER_Register; -- Timerx Chopper Register CHPER : aliased CHPER_Register; -- Timerx Capture 2 Control Register CPT1ECR : aliased CPT1ECR_Register; -- CPT2xCR CPT2ECR : aliased CPT2ECR_Register; -- Timerx Output Register OUTER : aliased OUTER_Register; -- Timerx Fault Register FLTER : aliased FLTER_Register; end record with Volatile; for HRTIM_TIME_Peripheral use record TIMECR at 16#0# range 0 .. 31; TIMEISR at 16#4# range 0 .. 31; TIMEICR at 16#8# range 0 .. 31; TIMEDIER at 16#C# range 0 .. 31; CNTER at 16#10# range 0 .. 31; PERER at 16#14# range 0 .. 31; REPER at 16#18# range 0 .. 31; CMP1ER at 16#1C# range 0 .. 31; CMP1CER at 16#20# range 0 .. 31; CMP2ER at 16#24# range 0 .. 31; CMP3ER at 16#28# range 0 .. 31; CMP4ER at 16#2C# range 0 .. 31; CPT1ER at 16#30# range 0 .. 31; CPT2ER at 16#34# range 0 .. 31; DTER at 16#38# range 0 .. 31; SETE1R at 16#3C# range 0 .. 31; RSTE1R at 16#40# range 0 .. 31; SETE2R at 16#44# range 0 .. 31; RSTE2R at 16#48# range 0 .. 31; EEFER1 at 16#4C# range 0 .. 31; EEFER2 at 16#50# range 0 .. 31; RSTER at 16#54# range 0 .. 31; CHPER at 16#58# range 0 .. 31; CPT1ECR at 16#5C# range 0 .. 31; CPT2ECR at 16#60# range 0 .. 31; OUTER at 16#64# range 0 .. 31; FLTER at 16#68# range 0 .. 31; end record; -- High Resolution Timer: TIME HRTIM_TIME_Periph : aliased HRTIM_TIME_Peripheral with Import, Address => HRTIM_TIME_Base; end STM32_SVD.HRTIM;
31.830056
78
0.55516
2387398e7523271c8066f5c54eac414d49685da1
567
adb
Ada
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/opt27.adb
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/opt27.adb
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
null
null
null
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/opt27.adb
TUDSSL/TICS
575ed1b34403b435540bc946c2e6dc5b6bf13072
[ "MIT" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } -- { dg-options "-O" } with Opt27_Pkg; procedure Opt27 is type Rec_T is record A, B, C, D, E : Integer; end record; package List is new Opt27_Pkg (Rec_T); My_List : List.List_T; function Is_Match (Element : Rec_T; Template : Integer) return Boolean is begin return (Element.C = Template); end; function Find_Int is new List.Find_Elem (Integer, Is_Match); Node : List.Node_T := Find_Int (10, My_List); begin if not List.Is_Null (Node) then raise Program_Error; end if; end;
18.9
77
0.624339
df0c99007001799f164517a3b36119c46ce31f55
3,617
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74401e.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74401e.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74401e.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C74401E.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT OUT PARAMETERS HAVING A LIMITED PRIVATE TYPE CAN BE -- DECLARED IN A PACKAGE SPECIFICATION, INCLUDING WITHIN PACKAGES -- NESTED IN A VISIBLE PART. -- CHECK THAT A RENAMING DECLARATION CAN RENAME A PROCEDURE DECLARED -- WITH AN OUT PARAMETER. -- JBG 5/1/85 WITH REPORT; USE REPORT; PROCEDURE C74401E IS PACKAGE PKG IS TYPE LP IS LIMITED PRIVATE; PROCEDURE P20 (X : OUT LP); -- OK. PROCEDURE RESET (X : OUT LP); FUNCTION EQ (L, R : LP) RETURN BOOLEAN; VAL1 : CONSTANT LP; PACKAGE NESTED IS PROCEDURE NEST1 (X : OUT LP); PRIVATE PROCEDURE NEST2 (X : OUT LP); END NESTED; PRIVATE TYPE LP IS NEW INTEGER; VAL1 : CONSTANT LP := LP(IDENT_INT(3)); END PKG; VAR : PKG.LP; PACKAGE BODY PKG IS PROCEDURE P20 (X : OUT LP) IS BEGIN X := 3; END P20; PROCEDURE RESET (X : OUT LP) IS BEGIN X := LP(IDENT_INT(0)); END RESET; FUNCTION EQ (L, R : LP) RETURN BOOLEAN IS BEGIN RETURN L = R; END EQ; PACKAGE BODY NESTED IS PROCEDURE NEST1 (X : OUT LP) IS BEGIN X := 3; END NEST1; PROCEDURE NEST2 (X : OUT LP) IS BEGIN X := LP(IDENT_INT(3)); END NEST2; END NESTED; BEGIN VAR := LP(IDENT_INT(0)); END PKG; PACKAGE PKG1 IS PROCEDURE P21 (X : OUT PKG.LP) RENAMES PKG.P20; -- OK: -- RENAMING. END PKG1; BEGIN TEST ("C74401E", "CHECK THAT A PROCEDURE CAN HAVE AN OUT " & "PARAMETER WITH A LIMITED PRIVATE TYPE"); PKG.RESET (VAR); PKG.P20 (VAR); IF NOT PKG.EQ (VAR, PKG.VAL1) THEN FAILED ("DIRECT CALL NOT CORRECT"); END IF; PKG.RESET (VAR); PKG1.P21 (VAR); IF NOT PKG.EQ (VAR, PKG.VAL1) THEN FAILED ("RENAMED CALL NOT CORRECT"); END IF; PKG.RESET (VAR); PKG.NESTED.NEST1 (VAR); IF NOT PKG.EQ (VAR, PKG.VAL1) THEN FAILED ("NESTED CALL NOT CORRECT"); END IF; RESULT; END C74401E;
29.892562
79
0.559856
df9a8bcdd8b01fbef0e2f1827b6c695580fb0ceb
6,292
ads
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-taasde.ads
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-taasde.ads
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-taasde.ads
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T A S K I N G . A S Y N C _ D E L A Y S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1998-2019, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the procedures to implements timeouts (delays) for -- asynchronous select statements. -- Note: the compiler generates direct calls to this interface, via Rtsfind. -- Any changes to this interface may require corresponding compiler changes. package System.Tasking.Async_Delays is -- Suppose the following source code is given: -- select delay When; -- ...continuation for timeout case... -- then abort -- ...abortable part... -- end select; -- The compiler should expand this to the following: -- declare -- DB : aliased Delay_Block; -- begin -- if System.Tasking.Async_Delays.Enqueue_Duration -- (When, DB'Unchecked_Access) -- then -- begin -- A101b : declare -- procedure _clean is -- begin -- System.Tasking.Async_Delays.Cancel_Async_Delay -- (DB'Unchecked_Access); -- return; -- end _clean; -- begin -- abort_undefer.all; -- ...abortable part... -- exception -- when all others => -- declare -- E105b : exception_occurrence; -- begin -- save_occurrence (E105b, get_current_excep.all.all); -- _clean; -- reraise_occurrence_no_defer (E105b); -- end; -- at end -- _clean; -- end A101b; -- exception -- when _abort_signal => -- abort_undefer.all; -- end; -- end if; -- if Timed_Out (DB'Unchecked_Access) then -- ...continuation for timeout case... -- end if; -- end; ----------------- -- Delay_Block -- ----------------- type Delay_Block is limited private; type Delay_Block_Access is access all Delay_Block; function Enqueue_Duration (T : Duration; D : Delay_Block_Access) return Boolean; -- Enqueue the specified relative delay. Returns True if the delay has -- been enqueued, False if it has already expired. If the delay has been -- enqueued, abort is deferred. procedure Cancel_Async_Delay (D : Delay_Block_Access); -- Cancel the specified asynchronous delay function Timed_Out (D : Delay_Block_Access) return Boolean; pragma Inline (Timed_Out); -- Return True if the delay specified in D has timed out -- There are child units for delays on Ada.Calendar.Time/Ada.Real_Time.Time -- so that an application need not link in features that it is not using. private type Delay_Block is limited record Self_Id : Task_Id; -- ID of the calling task Level : ATC_Level_Base; -- Normally Level is the ATC nesting level of the asynchronous select -- statement to which this delay belongs, but after a call has been -- dequeued we set it to Level_No_Pending_Abort so that the Cancel -- operation can detect repeated calls, and act idempotently. Resume_Time : Duration; -- The absolute wake up time, represented as Duration Timed_Out : Boolean := False; -- Set to true if the delay has timed out Succ, Pred : Delay_Block_Access; -- A double linked list end record; -- The above "overlaying" of Self_Id and Level to hold other data that has -- a non-overlapping lifetime is an unabashed hack to save memory. procedure Time_Enqueue (T : Duration; D : Delay_Block_Access); pragma Inline (Time_Enqueue); -- Used by the child units to enqueue delays on the timer queue implemented -- in the body of this package. T denotes a point in time as the duration -- elapsed since the epoch of the Ada real-time clock. end System.Tasking.Async_Delays;
42.513514
79
0.513986
0ed9a49de1b9d7c654965ac51e97eca73395a897
5,360
ads
Ada
source/amf/uml/amf-uml-instance_specifications-collections.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-uml-instance_specifications-collections.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-uml-instance_specifications-collections.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UML.Instance_Specifications.Collections is pragma Preelaborate; package UML_Instance_Specification_Collections is new AMF.Generic_Collections (UML_Instance_Specification, UML_Instance_Specification_Access); type Set_Of_UML_Instance_Specification is new UML_Instance_Specification_Collections.Set with null record; Empty_Set_Of_UML_Instance_Specification : constant Set_Of_UML_Instance_Specification; type Ordered_Set_Of_UML_Instance_Specification is new UML_Instance_Specification_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Instance_Specification : constant Ordered_Set_Of_UML_Instance_Specification; type Bag_Of_UML_Instance_Specification is new UML_Instance_Specification_Collections.Bag with null record; Empty_Bag_Of_UML_Instance_Specification : constant Bag_Of_UML_Instance_Specification; type Sequence_Of_UML_Instance_Specification is new UML_Instance_Specification_Collections.Sequence with null record; Empty_Sequence_Of_UML_Instance_Specification : constant Sequence_Of_UML_Instance_Specification; private Empty_Set_Of_UML_Instance_Specification : constant Set_Of_UML_Instance_Specification := (UML_Instance_Specification_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Instance_Specification : constant Ordered_Set_Of_UML_Instance_Specification := (UML_Instance_Specification_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Instance_Specification : constant Bag_Of_UML_Instance_Specification := (UML_Instance_Specification_Collections.Bag with null record); Empty_Sequence_Of_UML_Instance_Specification : constant Sequence_Of_UML_Instance_Specification := (UML_Instance_Specification_Collections.Sequence with null record); end AMF.UML.Instance_Specifications.Collections;
58.26087
104
0.548694
dcec88977e353b1908726b53923108a44163184c
14,899
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-stwiun.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-stwiun.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-stwiun.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R I N G S . W I D E _ U N B O U N D E D -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2010, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Wide_Maps; with Ada.Finalization; package Ada.Strings.Wide_Unbounded is pragma Preelaborate; type Unbounded_Wide_String is private; pragma Preelaborable_Initialization (Unbounded_Wide_String); Null_Unbounded_Wide_String : constant Unbounded_Wide_String; function Length (Source : Unbounded_Wide_String) return Natural; type Wide_String_Access is access all Wide_String; procedure Free (X : in out Wide_String_Access); -------------------------------------------------------- -- Conversion, Concatenation, and Selection Functions -- -------------------------------------------------------- function To_Unbounded_Wide_String (Source : Wide_String) return Unbounded_Wide_String; function To_Unbounded_Wide_String (Length : Natural) return Unbounded_Wide_String; function To_Wide_String (Source : Unbounded_Wide_String) return Wide_String; procedure Set_Unbounded_Wide_String (Target : out Unbounded_Wide_String; Source : Wide_String); pragma Ada_05 (Set_Unbounded_Wide_String); procedure Append (Source : in out Unbounded_Wide_String; New_Item : Unbounded_Wide_String); procedure Append (Source : in out Unbounded_Wide_String; New_Item : Wide_String); procedure Append (Source : in out Unbounded_Wide_String; New_Item : Wide_Character); function "&" (Left : Unbounded_Wide_String; Right : Unbounded_Wide_String) return Unbounded_Wide_String; function "&" (Left : Unbounded_Wide_String; Right : Wide_String) return Unbounded_Wide_String; function "&" (Left : Wide_String; Right : Unbounded_Wide_String) return Unbounded_Wide_String; function "&" (Left : Unbounded_Wide_String; Right : Wide_Character) return Unbounded_Wide_String; function "&" (Left : Wide_Character; Right : Unbounded_Wide_String) return Unbounded_Wide_String; function Element (Source : Unbounded_Wide_String; Index : Positive) return Wide_Character; procedure Replace_Element (Source : in out Unbounded_Wide_String; Index : Positive; By : Wide_Character); function Slice (Source : Unbounded_Wide_String; Low : Positive; High : Natural) return Wide_String; function Unbounded_Slice (Source : Unbounded_Wide_String; Low : Positive; High : Natural) return Unbounded_Wide_String; pragma Ada_05 (Unbounded_Slice); procedure Unbounded_Slice (Source : Unbounded_Wide_String; Target : out Unbounded_Wide_String; Low : Positive; High : Natural); pragma Ada_05 (Unbounded_Slice); function "=" (Left : Unbounded_Wide_String; Right : Unbounded_Wide_String) return Boolean; function "=" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean; function "=" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean; function "<" (Left : Unbounded_Wide_String; Right : Unbounded_Wide_String) return Boolean; function "<" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean; function "<" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean; function "<=" (Left : Unbounded_Wide_String; Right : Unbounded_Wide_String) return Boolean; function "<=" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean; function "<=" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean; function ">" (Left : Unbounded_Wide_String; Right : Unbounded_Wide_String) return Boolean; function ">" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean; function ">" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean; function ">=" (Left : Unbounded_Wide_String; Right : Unbounded_Wide_String) return Boolean; function ">=" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean; function ">=" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean; ------------------------ -- Search Subprograms -- ------------------------ function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; Going : Direction := Forward; Mapping : Wide_Maps.Wide_Character_Mapping := Wide_Maps.Identity) return Natural; function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; Going : Direction := Forward; Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Natural; function Index (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; Test : Membership := Inside; Going : Direction := Forward) return Natural; function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; From : Positive; Going : Direction := Forward; Mapping : Wide_Maps.Wide_Character_Mapping := Wide_Maps.Identity) return Natural; pragma Ada_05 (Index); function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; From : Positive; Going : Direction := Forward; Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Natural; pragma Ada_05 (Index); function Index (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; From : Positive; Test : Membership := Inside; Going : Direction := Forward) return Natural; pragma Ada_05 (Index); function Index_Non_Blank (Source : Unbounded_Wide_String; Going : Direction := Forward) return Natural; function Index_Non_Blank (Source : Unbounded_Wide_String; From : Positive; Going : Direction := Forward) return Natural; pragma Ada_05 (Index_Non_Blank); function Count (Source : Unbounded_Wide_String; Pattern : Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping := Wide_Maps.Identity) return Natural; function Count (Source : Unbounded_Wide_String; Pattern : Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Natural; function Count (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set) return Natural; procedure Find_Token (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; From : Positive; Test : Membership; First : out Positive; Last : out Natural); pragma Ada_2012 (Find_Token); procedure Find_Token (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; Test : Membership; First : out Positive; Last : out Natural); ------------------------------------ -- String Translation Subprograms -- ------------------------------------ function Translate (Source : Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping) return Unbounded_Wide_String; procedure Translate (Source : in out Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping); function Translate (Source : Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Unbounded_Wide_String; procedure Translate (Source : in out Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping_Function); --------------------------------------- -- String Transformation Subprograms -- --------------------------------------- function Replace_Slice (Source : Unbounded_Wide_String; Low : Positive; High : Natural; By : Wide_String) return Unbounded_Wide_String; procedure Replace_Slice (Source : in out Unbounded_Wide_String; Low : Positive; High : Natural; By : Wide_String); function Insert (Source : Unbounded_Wide_String; Before : Positive; New_Item : Wide_String) return Unbounded_Wide_String; procedure Insert (Source : in out Unbounded_Wide_String; Before : Positive; New_Item : Wide_String); function Overwrite (Source : Unbounded_Wide_String; Position : Positive; New_Item : Wide_String) return Unbounded_Wide_String; procedure Overwrite (Source : in out Unbounded_Wide_String; Position : Positive; New_Item : Wide_String); function Delete (Source : Unbounded_Wide_String; From : Positive; Through : Natural) return Unbounded_Wide_String; procedure Delete (Source : in out Unbounded_Wide_String; From : Positive; Through : Natural); function Trim (Source : Unbounded_Wide_String; Side : Trim_End) return Unbounded_Wide_String; procedure Trim (Source : in out Unbounded_Wide_String; Side : Trim_End); function Trim (Source : Unbounded_Wide_String; Left : Wide_Maps.Wide_Character_Set; Right : Wide_Maps.Wide_Character_Set) return Unbounded_Wide_String; procedure Trim (Source : in out Unbounded_Wide_String; Left : Wide_Maps.Wide_Character_Set; Right : Wide_Maps.Wide_Character_Set); function Head (Source : Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space) return Unbounded_Wide_String; procedure Head (Source : in out Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space); function Tail (Source : Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space) return Unbounded_Wide_String; procedure Tail (Source : in out Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space); function "*" (Left : Natural; Right : Wide_Character) return Unbounded_Wide_String; function "*" (Left : Natural; Right : Wide_String) return Unbounded_Wide_String; function "*" (Left : Natural; Right : Unbounded_Wide_String) return Unbounded_Wide_String; private pragma Inline (Length); package AF renames Ada.Finalization; Null_Wide_String : aliased Wide_String := ""; function To_Unbounded_Wide (S : Wide_String) return Unbounded_Wide_String renames To_Unbounded_Wide_String; type Unbounded_Wide_String is new AF.Controlled with record Reference : Wide_String_Access := Null_Wide_String'Access; Last : Natural := 0; end record; -- The Unbounded_Wide_String is using a buffered implementation to increase -- speed of the Append/Delete/Insert procedures. The Reference string -- pointer above contains the current string value and extra room at the -- end to be used by the next Append routine. Last is the index of the -- string ending character. So the current string value is really -- Reference (1 .. Last). pragma Stream_Convert (Unbounded_Wide_String, To_Unbounded_Wide, To_Wide_String); pragma Finalize_Storage_Only (Unbounded_Wide_String); -- Finalization is required only for freeing storage procedure Initialize (Object : in out Unbounded_Wide_String); procedure Adjust (Object : in out Unbounded_Wide_String); procedure Finalize (Object : in out Unbounded_Wide_String); procedure Realloc_For_Chunk (Source : in out Unbounded_Wide_String; Chunk_Size : Natural); -- Adjust the size allocated for the string. Add at least Chunk_Size so it -- is safe to add a string of this size at the end of the current content. -- The real size allocated for the string is Chunk_Size + x of the current -- string size. This buffered handling makes the Append unbounded string -- routines very fast. Null_Unbounded_Wide_String : constant Unbounded_Wide_String := (AF.Controlled with Reference => Null_Wide_String'Access, Last => 0); end Ada.Strings.Wide_Unbounded;
33.556306
79
0.613732
c5a96eaed17b376a2af7862b8ea8b818eacb713e
12,512
adb
Ada
boards/OpenMV2/src/openmv-sensor.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
boards/OpenMV2/src/openmv-sensor.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
boards/OpenMV2/src/openmv-sensor.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2018, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with STM32.DCMI; with Ada.Real_Time; use Ada.Real_Time; with OV2640; use OV2640; with OV7725; use OV7725; with HAL.I2C; use HAL.I2C; with HAL.Bitmap; use HAL.Bitmap; with HAL; use HAL; with STM32.PWM; use STM32.PWM; with STM32.Setup; package body OpenMV.Sensor is package DCMI renames STM32.DCMI; function Probe (Cam_Addr : out UInt10) return Boolean; REG_PID : constant := 16#0A#; -- REG_VER : constant := 16#0B#; CLK_PWM_Mod : PWM_Modulator; Camera_PID : HAL.UInt8 := 0; Camera_2640 : OV2640_Camera (Sensor_I2C'Access); Camera_7725 : OV7725_Camera (Sensor_I2C'Access); Is_Initialized : Boolean := False; ----------------- -- Initialized -- ----------------- function Initialized return Boolean is (Is_Initialized); ----------- -- Probe -- ----------- function Probe (Cam_Addr : out UInt10) return Boolean is Status : I2C_Status; begin for Addr in UInt10 range 0 .. 126 loop Sensor_I2C.Master_Transmit (Addr => Addr, Data => (0 => 0), Status => Status, Timeout => 10_000); if Status = Ok then Cam_Addr := Addr; return True; end if; delay until Clock + Milliseconds (1); end loop; return False; end Probe; ---------------- -- Initialize -- ---------------- procedure Initialize is procedure Initialize_Clock; procedure Initialize_Camera; procedure Initialize_IO; procedure Initialize_DCMI; procedure Initialize_DMA; ---------------------- -- Initialize_Clock -- ---------------------- procedure Initialize_Clock is begin Configure_PWM_Timer (SENSOR_CLK_TIM'Access, SENSOR_CLK_FREQ); CLK_PWM_Mod.Attach_PWM_Channel (Generator => SENSOR_CLK_TIM'Access, Channel => SENSOR_CLK_CHAN, Point => SENSOR_CLK_IO, PWM_AF => SENSOR_CLK_AF); CLK_PWM_Mod.Set_Duty_Cycle (Value => 50); CLK_PWM_Mod.Enable_Output; end Initialize_Clock; ----------------------- -- Initialize_Camera -- ----------------------- procedure Initialize_Camera is Cam_Addr : UInt10; Data : I2C_Data (1 .. 1); Status : I2C_Status; begin -- Power cycle Set (DCMI_PWDN); delay until Clock + Milliseconds (10); Clear (DCMI_PWDN); delay until Clock + Milliseconds (10); Initialize_Clock; Set (DCMI_RST); delay until Clock + Milliseconds (10); Clear (DCMI_RST); delay until Clock + Milliseconds (10); if not Probe (Cam_Addr) then -- Retry with reversed reset polarity Set (DCMI_RST); delay until Clock + Milliseconds (10); if not Probe (Cam_Addr) then raise Program_Error; end if; end if; delay until Clock + Milliseconds (10); -- Select sensor bank Sensor_I2C.Mem_Write (Addr => Cam_Addr, Mem_Addr => 16#FF#, Mem_Addr_Size => Memory_Size_8b, Data => (0 => 1), Status => Status); if Status /= Ok then raise Program_Error; end if; delay until Clock + Milliseconds (10); Sensor_I2C.Master_Transmit (Addr => Cam_Addr, Data => (1 => REG_PID), Status => Status); if Status /= Ok then raise Program_Error; end if; Sensor_I2C.Master_Receive (Addr => Cam_Addr, Data => Data, Status => Status); if Status /= Ok then raise Program_Error; end if; if Status /= Ok then raise Program_Error; end if; Camera_PID := Data (Data'First); case Camera_PID is when OV2640_PID => Initialize (Camera_2640, Cam_Addr); Set_Pixel_Format (Camera_2640, Pix_RGB565); Set_Frame_Size (Camera_2640, QQVGA2); when OV7725_PID => Initialize (Camera_7725, Cam_Addr); Set_Pixel_Format (Camera_7725, Pix_RGB565); Set_Frame_Size (Camera_7725, QQVGA2); when others => raise Program_Error with "Unknown camera module"; end case; end Initialize_Camera; ------------------- -- Initialize_IO -- ------------------- procedure Initialize_IO is GPIO_Conf : GPIO_Port_Configuration; DCMI_AF_Points : constant GPIO_Points := GPIO_Points'(DCMI_D0, DCMI_D1, DCMI_D2, DCMI_D3, DCMI_D4, DCMI_D5, DCMI_D6, DCMI_D7, DCMI_VSYNC, DCMI_HSYNC, DCMI_PCLK); DCMI_Out_Points : GPIO_Points := GPIO_Points'(DCMI_PWDN, DCMI_RST, FS_IN); begin STM32.Setup.Setup_I2C_Master (Port => Sensor_I2C, SDA => Sensor_I2C_SDA, SCL => Sensor_I2C_SCL, SDA_AF => Sensor_I2C_AF, SCL_AF => Sensor_I2C_AF, Clock_Speed => 100_000); Enable_Clock (DCMI_Out_Points); -- Sensor PowerDown, Reset and FSIN GPIO_Conf := (Mode => Mode_Out, Output_Type => Push_Pull, Speed => Speed_100MHz, -- not specified in previous version of this module Resistors => Pull_Down); Configure_IO (DCMI_Out_Points, GPIO_Conf); Clear (DCMI_Out_Points); GPIO_Conf := (Mode => Mode_AF, AF => GPIO_AF_DCMI_13, AF_Speed => Speed_100MHz, -- not specified in previous version of this module AF_Output_Type => Push_Pull, Resistors => Pull_Down); Configure_IO (DCMI_AF_Points, GPIO_Conf); end Initialize_IO; --------------------- -- Initialize_DCMI -- --------------------- procedure Initialize_DCMI is Vertical : DCMI.DCMI_Polarity; Horizontal : DCMI.DCMI_Polarity; Pixel_Clock : DCMI.DCMI_Polarity; begin case Camera_PID is when OV2640_PID => Vertical := DCMI.Active_Low; Horizontal := DCMI.Active_Low; Pixel_Clock := DCMI.Active_High; when OV7725_PID => Vertical := DCMI.Active_High; Horizontal := DCMI.Active_Low; Pixel_Clock := DCMI.Active_High; when others => raise Program_Error with "Unknown camera module"; end case; Enable_DCMI_Clock; DCMI.Configure (Data_Mode => DCMI.DCMI_8bit, Capture_Rate => DCMI.Capture_All, Vertical_Polarity => Vertical, Horizontal_Polarity => Horizontal, Pixel_Clock_Polarity => Pixel_Clock, Hardware_Sync => True, JPEG => False); DCMI.Disable_Crop; DCMI.Enable_DCMI; end Initialize_DCMI; -------------------- -- Initialize_DMA -- -------------------- procedure Initialize_DMA is Config : DMA_Stream_Configuration; begin Enable_Clock (Sensor_DMA); Config.Channel := Sensor_DMA_Chan; Config.Direction := Peripheral_To_Memory; Config.Increment_Peripheral_Address := False; Config.Increment_Memory_Address := True; Config.Peripheral_Data_Format := Words; Config.Memory_Data_Format := Words; Config.Operation_Mode := Normal_Mode; Config.Priority := Priority_High; Config.FIFO_Enabled := True; Config.FIFO_Threshold := FIFO_Threshold_Full_Configuration; Config.Memory_Burst_Size := Memory_Burst_Inc4; Config.Peripheral_Burst_Size := Peripheral_Burst_Single; Configure (Sensor_DMA, Sensor_DMA_Stream, Config); end Initialize_DMA; begin Initialize_IO; Initialize_Camera; Initialize_DCMI; Initialize_DMA; Is_Initialized := True; end Initialize; -------------- -- Snapshot -- -------------- procedure Snapshot (BM : not null HAL.Bitmap.Any_Bitmap_Buffer) is Status : DMA_Error_Code; Cnt : constant UInt16 := UInt16 ((BM.Width * BM.Height) / 2); begin if BM.Width /= Image_Width or else BM.Height /= Image_Height or else not BM.Mapped_In_RAM then raise Program_Error; end if; if not Compatible_Alignments (Sensor_DMA, Sensor_DMA_Stream, DCMI.Data_Register_Address, BM.Memory_Address) then raise Program_Error; end if; Sensor_DMA_Int.Start_Transfer (Source => DCMI.Data_Register_Address, Destination => BM.Memory_Address, Data_Count => Cnt); DCMI.Start_Capture (DCMI.Snapshot); Sensor_DMA_Int.Wait_For_Completion (Status); if Status /= DMA_No_Error then if Status = DMA_Timeout_Error then raise Program_Error with "DMA timeout! Transferred: " & Items_Transferred (Sensor_DMA, Sensor_DMA_Stream)'Img; else raise Program_Error; end if; end if; end Snapshot; end OpenMV.Sensor;
36.266667
107
0.512548
dfd068091c17b533cd1f5820530afdb19c4c7b5b
1,189
adb
Ada
Ada/Benchmark/src/fibonacci.adb
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Ada/Benchmark/src/fibonacci.adb
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Ada/Benchmark/src/fibonacci.adb
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
with Ada.Numerics.Big_Numbers.Big_Integers; use Ada.Numerics.Big_Numbers.Big_Integers; package body Fibonacci is function Fib_Iter (N : Natural) return Big_Natural is A : Big_Natural := To_Big_Integer (0); B : Big_Natural := To_Big_Integer (1); Tmp : Big_Natural := To_Big_Integer (0); begin for I in 0..N-1 loop Tmp := A; A := B; B := Tmp + B; end loop; return A; end Fib_Iter; function Fib_Naive (N : Natural) return Natural is begin if N < 2 then return N; else return Fib_Naive (N - 1) + Fib_Naive (N - 2); end if; end Fib_Naive; function Fib_Recur (N : Natural) return Big_Natural is function Fib_Aux (N : Natural; A : Big_Natural; B : Big_Natural) return Big_Natural is begin if N > 0 then return Fib_Aux(N - 1, B, A + B); else return A; end if; end Fib_Aux; begin return Fib_Aux (N, To_Big_Integer (0), To_Big_Integer (1)); end Fib_Recur; function Big_Natural_Image (N : Big_Natural) return String is begin return To_String (N); end Big_Natural_Image; end Fibonacci;
25.297872
70
0.603869
1011e96e7a028cc4cd98fd37397ea737687b7b89
3,941
ads
Ada
sources/webgl/opengl-shaders.ads
godunko/adagl
5b62d3bac6aa4e11084b4b19171dadbf805e95d6
[ "BSD-3-Clause" ]
6
2018-01-18T16:57:21.000Z
2020-01-19T07:40:12.000Z
sources/webgl/opengl-shaders.ads
godunko/adagl
5b62d3bac6aa4e11084b4b19171dadbf805e95d6
[ "BSD-3-Clause" ]
null
null
null
sources/webgl/opengl-shaders.ads
godunko/adagl
5b62d3bac6aa4e11084b4b19171dadbf805e95d6
[ "BSD-3-Clause" ]
1
2018-01-20T16:12:26.000Z
2018-01-20T16:12:26.000Z
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2016-2018, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with League.Strings; private with WebAPI.WebGL.Rendering_Contexts; private with WebAPI.WebGL.Shaders; package OpenGL.Shaders is pragma Preelaborate; type OpenGL_Shader (Shader_Type : OpenGL.Shader_Type) is tagged limited private; type OpenGL_Shader_Access is access all OpenGL_Shader'Class; function Compile_Source_Code (Self : in out OpenGL_Shader'Class; Source : League.Strings.Universal_String) return Boolean; -- Sets the source code for this shader and compiles it. Returns True if -- the source was successfully compiled, False otherwise. private type OpenGL_Shader (Shader_Type : OpenGL.Shader_Type) is tagged limited record Shader : WebAPI.WebGL.Shaders.WebGL_Shader_Access; Context : WebAPI.WebGL.Rendering_Contexts.WebGL_Rendering_Context_Access; end record; end OpenGL.Shaders;
57.115942
80
0.490231
0e003f1b03e27b0691905ffa6e28c8ca80b4d701
9,768
ads
Ada
source/asis/spec/ada-containers-vectors.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
4
2016-02-05T15:51:56.000Z
2022-03-25T20:38:32.000Z
source/asis/spec/ada-containers-vectors.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
source/asis/spec/ada-containers-vectors.ads
faelys/gela-asis
48a3bee90eda9f0c9d958b4e3c80a5a9b1c65253
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of ada.ads file -- ------------------------------------------------------------------------------ -- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $ generic type Index_Type is range <>; type Element_Type is private; with function "=" (Left : in Element_Type; Right : in Element_Type) return Boolean is <>; package Ada.Containers.Vectors is pragma Preelaborate (Vectors); subtype Extended_Index is Index_Type'Base range Index_Type'First - 1 .. Index_Type'Min (Index_Type'Base'Last - 1, Index_Type'Last) + 1; No_Index : constant Extended_Index := Extended_Index'First; type Vector is tagged private; pragma Preelaborable_Initialization (Vector); type Cursor is private; pragma Preelaborable_Initialization (Cursor); Empty_Vector : constant Vector; No_Element : constant Cursor; function "=" (Left : in Vector; Right : in Vector) return Boolean; function To_Vector (Length : in Count_Type) return Vector; function To_Vector (New_Item : in Element_Type; Length : in Count_Type) return Vector; function "&" (Left : in Vector; Right : in Vector) return Vector; function "&" (Left : in Vector; Right : in Element_Type) return Vector; function "&" (Left : in Element_Type; Right : in Vector) return Vector; function "&" (Left : in Element_Type; Right : in Element_Type) return Vector; function Capacity (Container : in Vector) return Count_Type; procedure Reserve_Capacity (Container : in out Vector; Capacity : in Count_Type); function Length (Container : in Vector) return Count_Type; procedure Set_Length (Container : in out Vector; Length : in Count_Type); function Is_Empty (Container : in Vector) return Boolean; procedure Clear (Container : in out Vector); function To_Cursor (Container : Vector; Index : Extended_Index) return Cursor; function To_Index (Position : in Cursor) return Extended_Index; function Element (Container : in Vector; Index : in Index_Type) return Element_Type; function Element (Position : in Cursor) return Element_Type; procedure Replace_Element (Container : in out Vector; Index : in Index_Type; New_Item : in Element_Type); procedure Replace_Element (Container : in out Vector; Position : in Cursor; New_item : in Element_Type); procedure Query_Element (Container : in Vector; Index : in Index_Type; Process : not null access procedure (Element : in Element_Type)); procedure Query_Element (Position : in Cursor; Process : not null access procedure (Element : in Element_Type)); procedure Update_Element (Container : in out Vector; Index : in Index_Type; Process : not null access procedure (Element : in out Element_Type)); procedure Update_Element (Container : in out Vector; Position : in Cursor; Process : not null access procedure (Element : in out Element_Type)); procedure Move (Target : in out Vector; Source : in out Vector); procedure Insert (Container : in out Vector; Before : in Extended_Index; New_Item : in Vector); procedure Insert (Container : in out Vector; Before : in Cursor; New_Item : in Vector); procedure Insert (Container : in out Vector; Before : in Cursor; New_Item : in Vector; Position : out Cursor); procedure Insert (Container : in out Vector; Before : in Extended_Index; New_Item : in Element_Type; Count : in Count_Type := 1); procedure Insert (Container : in out Vector; Before : in Cursor; New_Item : in Element_Type; Count : in Count_Type := 1); procedure Insert (Container : in out Vector; Before : in Cursor; New_Item : in Element_Type; Position : out Cursor; Count : in Count_Type := 1); procedure Insert (Container : in out Vector; Before : in Extended_Index; Count : in Count_Type := 1); procedure Insert (Container : in out Vector; Before : in Cursor; Position : out Cursor; Count : in Count_Type := 1); procedure Prepend (Container : in out Vector; New_Item : in Vector); procedure Prepend (Container : in out Vector; New_Item : in Element_Type; Count : in Count_Type := 1); procedure Append (Container : in out Vector; New_Item : in Vector); procedure Append (Container : in out Vector; New_Item : in Element_Type; Count : in Count_Type := 1); procedure Insert_Space (Container : in out Vector; Before : in Extended_Index; Count : in Count_Type := 1); procedure Insert_Space (Container : in out Vector; Before : in Cursor; Position : out Cursor; Count : in Count_Type := 1); procedure Delete (Container : in out Vector; Index : in Extended_Index; Count : in Count_Type := 1); procedure Delete (Container : in out Vector; Position : in out Cursor; Count : in Count_Type := 1); procedure Delete_First (Container : in out Vector; Count : in Count_Type := 1); procedure Delete_Last (Container : in out Vector; Count : in Count_Type := 1); procedure Reverse_Elements (Container : in out Vector); procedure Swap (Container : in out Vector; I : in Index_Type; J : in Index_Type); procedure Swap (Container : in out Vector; I : in Cursor; J : in Cursor); function First_Index (Container : in Vector) return Index_Type; function First (Container : in Vector) return Cursor; function First_Element (Container : in Vector) return Element_Type; function Last_Index (Container : in Vector) return Extended_Index; function Last (Container : in Vector) return Cursor; function Last_Element (Container : in Vector) return Element_Type; function Next (Position : in Cursor) return Cursor; procedure Next (Position : in out Cursor); function Previous (Position : in Cursor) return Cursor; procedure Previous (Position : in out Cursor); function Find_Index (Container : in Vector; Item : in Element_Type; Index : in Index_Type := Index_Type'First) return Extended_Index; function Find (Container : in Vector; Item : in Element_Type; Position : in Cursor := No_Element) return Cursor; function Reverse_Find_Index (Container : in Vector; Item : in Element_Type; Index : in Index_Type := Index_Type'Last) return Extended_Index; function Reverse_Find (Container : in Vector; Item : in Element_Type; Position : in Cursor := No_Element) return Cursor; function Contains (Container : in Vector; Item : in Element_Type) return Boolean; function Has_Element (Position : in Cursor) return Boolean; procedure Iterate (Container : in Vector; Process : not null access procedure (Position : in Cursor)); procedure Reverse_Iterate (Container : in Vector; Process : not null access procedure (Position : in Cursor)); generic with function "<" (Left : in Element_Type; Right : in Element_Type) return Boolean is <>; package Generic_Sorting is function Is_Sorted (Container : in Vector) return Boolean; procedure Sort (Container : in out Vector); procedure Merge (Target : in out Vector; Source : in out Vector); end Generic_Sorting; private type Vector is tagged null record; Empty_Vector : constant Vector := (null record); type Cursor is null record; No_Element : constant Cursor := (null record); end Ada.Containers.Vectors;
34.153846
79
0.535729
dfe82f60bc95a950187328cacac53ff55c50e70d
7,374
ads
Ada
source/sql/firebird/matreshka-internals-sql_drivers-firebird-fields.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/sql/firebird/matreshka-internals-sql_drivers-firebird-fields.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/sql/firebird/matreshka-internals-sql_drivers-firebird-fields.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- SQL Database Access -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision: 1793 $ $Date: 2011-06-11 10:40:44 +0300 (Сб, 11 июн 2011) $ ------------------------------------------------------------------------------ -- This package provides implementation of Query abstraction for PostgreSQL. ------------------------------------------------------------------------------ with Ada.Finalization; with League.Calendars; with League.Text_Codecs; package Matreshka.Internals.SQL_Drivers.Firebird.Fields is type Isc_Sqlvar_Access is access all Isc_Sqlvar; type Byte is mod 2 ** 8; type Sql_Data_Array is array (Isc_Short range <>) of Byte; for Sql_Data_Array'Component_Size use 8; pragma Convention (C, Sql_Data_Array); type Sql_Data_Array_Access is access all Sql_Data_Array; type Field is new Ada.Finalization.Controlled with record Srv_Sql_Type : Isc_Sqltype := Isc_Type_Empty; Srv_Sql_Subtype : Isc_Short := 0; Srv_Sql_Scale : Isc_Short := 0; Srv_Sql_Len : Isc_Short := 0; -- Point to the sqlvar in the owner object Sqlvar : Isc_Sqlvar_Access := null; Sql_Dada_Space : Sql_Data_Array_Access := null; Codec : access League.Text_Codecs.Text_Codec; Utf : Boolean; end record; type Field_Access is access all Field; overriding procedure Finalize (Self : in out Field); procedure Free_Sqldata (Self : in out Field); procedure Adjust_Sqldata (Self : not null access Field); procedure Adjust_Sqlind (Self : not null access Field); procedure Alloc_Sqlind (Self : not null access Field); function Is_Nullable (Self : not null access Field) return Boolean; procedure Is_Nullable (Self : not null access Field; Value : Boolean); procedure Reserv_Sqldata (Self : not null access Field; Size : Isc_Short); procedure Alloc_Sqldata (Self : not null access Field; Size : Isc_Short); procedure Set_Null (Self : not null access Field; Value : Boolean); function Value (Self : not null access Field) return League.Holders.Holder; procedure Value (Self : not null access Field; Holder : League.Holders.Holder); procedure As_String (Self : not null access Field; Value : League.Strings.Universal_String); function As_String (Self : not null access Field) return League.Strings.Universal_String; function Server_Sql_Type (Self : not null access Field) return Isc_Sqltype; function As_Date (Self : not null access Field) return League.Calendars.Date; procedure As_Date (Self : not null access Field; Value : League.Calendars.Date); function As_Time (Self : not null access Field) return League.Calendars.Time; procedure As_Time (Self : not null access Field; Value : League.Calendars.Time); function As_Date_Time (Self : not null access Field) return League.Calendars.Date_Time; procedure As_Date_Time (Self : not null access Field; Value : League.Calendars.Date_Time); function As_Universal_Integer (Self : not null access Field) return League.Holders.Universal_Integer; procedure As_Universal_Integer (Self : not null access Field; Value : League.Holders.Universal_Integer); function As_Universal_Float (Self : not null access Field) return League.Holders.Universal_Float; procedure As_Universal_Float (Self : not null access Field; Value : League.Holders.Universal_Float); function As_Short_Float (Self : not null access Field) return Short_Float; function As_Long_Float (Self : not null access Field) return Long_Float; function As_Short_Integer (Self : not null access Field) return Short_Integer; function As_Long_Integer (Self : not null access Field) return Long_Integer; function As_Boolean (Self : not null access Field) return Boolean; procedure Set_Value (Self : not null access Field; Sql_Type : Isc_Sqltype; Size : Isc_Short; Value : Isc_Address); function Is_Null (Self : not null access Field) return Boolean; function Sql_Type (Self : not null access Field) return Isc_Sqltype; end Matreshka.Internals.SQL_Drivers.Firebird.Fields;
46.0875
78
0.56211
c5847ca3157c77efcfa2f66f1c76690e253f4cce
58,012
adb
Ada
prj_144013/my_prj_prj/solution1/.autopilot/db/my_prj.bind.adb
adropulic/hls_bdt_project
4dc70bdc9278c2cd54d46cb39edb25a81d7adb69
[ "Apache-2.0" ]
null
null
null
prj_144013/my_prj_prj/solution1/.autopilot/db/my_prj.bind.adb
adropulic/hls_bdt_project
4dc70bdc9278c2cd54d46cb39edb25a81d7adb69
[ "Apache-2.0" ]
null
null
null
prj_144013/my_prj_prj/solution1/.autopilot/db/my_prj.bind.adb
adropulic/hls_bdt_project
4dc70bdc9278c2cd54d46cb39edb25a81d7adb69
[ "Apache-2.0" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>my_prj</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>x_0_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x[0].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>x_1_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x[1].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>x_2_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x[2].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>x_3_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x[3].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>x_4_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x[4].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>score_0_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>score[0].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>score_1_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>score[1].V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>tree_scores_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>tree_scores.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>18</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>50</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_9"> <Value> <Obj> <type>0</type> <id>19</id> <name>x_0_V_read</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>30</item> <item>31</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>20</id> <name>x_1_V_read</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>32</item> <item>33</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>21</id> <name>x_2_V_read</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>34</item> <item>35</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>22</id> <name>x_3_V_read</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>36</item> <item>37</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>23</id> <name>x_4_V_read</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>38</item> <item>39</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>24</id> <name>call_ret</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>17</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>6.37</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>25</id> <name>sext_ln9</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>18</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>48</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>26</id> <name>score_0_V_write_ln9</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>9</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>9</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>50</item> <item>51</item> <item>52</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>27</id> <name>_ln10</name> <fileName>firmware/my_prj.cpp</fileName> <fileDirectory>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>my_prj</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/afs/cern.ch/user/a/addropul/CMSSW_10_6_0_pre4/src/L1Trigger/Run3Ntuplizer/test/conifer/prj_144013</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/my_prj.cpp</first> <second>my_prj</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_18"> <Value> <Obj> <type>2</type> <id>40</id> <name>decision_function_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>17</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:decision_function.1&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_19"> <Obj> <type>3</type> <id>28</id> <name>my_prj</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>9</count> <item_version>0</item_version> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>15</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_20"> <id>31</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_21"> <id>33</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_22"> <id>35</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_23"> <id>37</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_24"> <id>39</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_25"> <id>41</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_26"> <id>42</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_27"> <id>43</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_28"> <id>44</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_29"> <id>45</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_30"> <id>46</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_31"> <id>47</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_32"> <id>48</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_33"> <id>51</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_34"> <id>52</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_35"> <mId>1</mId> <mTag>my_prj</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>28</item> </basic_blocks> <mII>25</mII> <mDepth>31</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>30</mMinLatency> <mMaxLatency>30</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_36"> <states class_id="25" tracking_level="0" version="0"> <count>31</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_37"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_38"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_39"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_40"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_41"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_42"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_43"> <id>24</id> <stage>31</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_44"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_45"> <id>24</id> <stage>30</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_46"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_47"> <id>24</id> <stage>29</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_48"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_49"> <id>24</id> <stage>28</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_50"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_51"> <id>24</id> <stage>27</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_52"> <id>6</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_53"> <id>24</id> <stage>26</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_54"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_55"> <id>24</id> <stage>25</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_56"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_57"> <id>24</id> <stage>24</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_58"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_59"> <id>24</id> <stage>23</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_60"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_61"> <id>24</id> <stage>22</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_62"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_63"> <id>24</id> <stage>21</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_64"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_65"> <id>24</id> <stage>20</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_66"> <id>13</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_67"> <id>24</id> <stage>19</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_68"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_69"> <id>24</id> <stage>18</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_70"> <id>15</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_71"> <id>24</id> <stage>17</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_72"> <id>16</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_73"> <id>24</id> <stage>16</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_74"> <id>17</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_75"> <id>24</id> <stage>15</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_76"> <id>18</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_77"> <id>24</id> <stage>14</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_78"> <id>19</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_79"> <id>24</id> <stage>13</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_80"> <id>20</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_81"> <id>24</id> <stage>12</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_82"> <id>21</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_83"> <id>24</id> <stage>11</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_84"> <id>22</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_85"> <id>24</id> <stage>10</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_86"> <id>23</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_87"> <id>24</id> <stage>9</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_88"> <id>24</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_89"> <id>24</id> <stage>8</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_90"> <id>25</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_91"> <id>24</id> <stage>7</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_92"> <id>26</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_93"> <id>24</id> <stage>6</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_94"> <id>27</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_95"> <id>24</id> <stage>5</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_96"> <id>28</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_97"> <id>24</id> <stage>4</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_98"> <id>29</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_99"> <id>24</id> <stage>3</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_100"> <id>30</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_101"> <id>24</id> <stage>2</stage> <latency>31</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_102"> <id>31</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_103"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_104"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_105"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_106"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_107"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_108"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_109"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_110"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_111"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_112"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_113"> <id>24</id> <stage>1</stage> <latency>31</latency> </item> <item class_id_reference="28" object_id="_114"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_115"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_116"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>30</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_117"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>-1</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_118"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_119"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_120"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_121"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_122"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_123"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_124"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_125"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_126"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_127"> <inState>11</inState> <outState>12</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_128"> <inState>12</inState> <outState>13</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_129"> <inState>13</inState> <outState>14</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_130"> <inState>14</inState> <outState>15</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_131"> <inState>15</inState> <outState>16</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_132"> <inState>16</inState> <outState>17</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_133"> <inState>17</inState> <outState>18</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_134"> <inState>18</inState> <outState>19</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_135"> <inState>19</inState> <outState>20</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_136"> <inState>20</inState> <outState>21</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_137"> <inState>21</inState> <outState>22</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_138"> <inState>22</inState> <outState>23</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_139"> <inState>23</inState> <outState>24</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_140"> <inState>24</inState> <outState>25</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_141"> <inState>25</inState> <outState>26</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_142"> <inState>26</inState> <outState>27</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_143"> <inState>27</inState> <outState>28</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_144"> <inState>28</inState> <outState>29</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_145"> <inState>29</inState> <outState>30</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_146"> <inState>30</inState> <outState>31</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="35" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>19</first> <second class_id="37" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>0</first> <second>30</second> </second> </item> <item> <first>25</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>30</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="38" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="39" tracking_level="0" version="0"> <first>28</first> <second class_id="40" tracking_level="0" version="0"> <first>0</first> <second>30</second> </second> </item> </bblk_ent_exit> <regions class_id="41" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="42" tracking_level="1" version="0" object_id="_147"> <region_name>my_prj</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>28</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>25</interval> <pipe_depth>31</pipe_depth> </item> </regions> <dp_fu_nodes class_id="43" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>38</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>44</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>50</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>56</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>62</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>68</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>75</first> <second> <count>31</count> <item_version>0</item_version> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> </second> </item> <item> <first>91</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="46" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>sext_ln9_fu_91</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>1</count> <item_version>0</item_version> <item> <first>grp_decision_function_1_fu_75</first> <second> <count>31</count> <item_version>0</item_version> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> <item>24</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>6</count> <item_version>0</item_version> <item> <first>write_ln9_write_fu_68</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>x_0_V_read_read_fu_38</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>x_1_V_read_read_fu_44</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>x_2_V_read_read_fu_50</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>x_3_V_read_read_fu_56</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>x_4_V_read_read_fu_62</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="48" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="49" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first>score_0_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </second> </item> <item> <first>score_1_V</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>x_0_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> </second> </item> <item> <first>x_1_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> </second> </item> <item> <first>x_2_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> </second> </item> <item> <first>x_3_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> </second> </item> <item> <first>x_4_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="51" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>8</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
25.794575
135
0.59074
208bcd0423982bed94cad75640bcb4cccba8f367
2,912
ads
Ada
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-sopco3.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-sopco3.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-sopco3.ads
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . S T R I N G _ O P S _ C O N C A T _ 3 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the function for concatenating three strings -- NOTE: This package is obsolescent. It is no longer used by the compiler -- which now generates concatenation inline. It is retained only because -- it may be used during bootstrapping using old versions of the compiler. pragma Compiler_Unit_Warning; package System.String_Ops_Concat_3 is pragma Pure; function Str_Concat_3 (S1, S2, S3 : String) return String; -- Concatenate three strings and return resulting string end System.String_Ops_Concat_3;
61.957447
78
0.38908
df8a9bdab42cb41d07fae9d86869af58aca5044d
3,600
ads
Ada
Ada95/src/terminal_interface-curses-text_io-aux.ads
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
35
2015-03-07T13:26:22.000Z
2021-11-06T16:18:59.000Z
Ada95/src/terminal_interface-curses-text_io-aux.ads
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
3
2017-04-07T21:02:48.000Z
2017-04-08T17:59:35.000Z
Ada95/src/terminal_interface-curses-text_io-aux.ads
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
19
2015-06-16T06:13:44.000Z
2021-07-24T02:37:45.000Z
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Text_IO.Aux -- -- -- -- S P E C -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998,2006 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: -- $Revision: 1.13 $ -- $Date: 2006/06/25 14:24:40 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ private package Terminal_Interface.Curses.Text_IO.Aux is -- pragma Preelaborate (Aux); -- This routine is called from the Text_IO output routines for numeric -- and enumeration types. -- procedure Put_Buf (Win : in Window; -- The output window Buf : in String; -- The buffer containing the text Width : in Field; -- The width of the output field Signal : in Boolean := True; -- If true, we raise Layout_Error Ljust : in Boolean := False); -- The Buf is left justified end Terminal_Interface.Curses.Text_IO.Aux;
64.285714
78
0.443611
102b828b9e5d0df73cc0895978797d15b58e0d19
2,468
adb
Ada
source/libiconv/iconv-inside.adb
ytomino/iconv-ada
b1adc342a41887fae20b5bc1f1f3d08a5218a346
[ "Unlicense" ]
null
null
null
source/libiconv/iconv-inside.adb
ytomino/iconv-ada
b1adc342a41887fae20b5bc1f1f3d08a5218a346
[ "Unlicense" ]
null
null
null
source/libiconv/iconv-inside.adb
ytomino/iconv-ada
b1adc342a41887fae20b5bc1f1f3d08a5218a346
[ "Unlicense" ]
null
null
null
with Ada.Unchecked_Conversion; with C.iconv; with C.string; package body iconv.Inside is use type C.unsigned_int; use type C.size_t; function Do_One ( namescount : C.unsigned_int; names : access C.char_const_ptr; data : C.void_ptr) return C.signed_int with Convention => C; function Do_One ( namescount : C.unsigned_int; names : access C.char_const_ptr; data : C.void_ptr) return C.signed_int is begin if namescount > 0 then declare type Process_Type is access procedure (Name : in String); function To_Process is new Ada.Unchecked_Conversion (C.void_ptr, Process_Type); type char_const_ptr_arrayN is array (0 .. C.size_t (namescount) - 1) of C.char_const_ptr with Convention => C; type char_const_ptr_arrayN_const_ptr is access constant char_const_ptr_arrayN with Convention => C; function To_char_const_ptr_arrayN_const_ptr is new Ada.Unchecked_Conversion ( C.char_const_ptr_ptr, char_const_ptr_arrayN_const_ptr); Names_Array : char_const_ptr_arrayN renames To_char_const_ptr_arrayN_const_ptr (C.char_const_ptr_ptr (names)).all; begin for I in 0 .. C.size_t (namescount) - 1 loop declare Length : constant Natural := Natural (C.string.strlen (Names_Array (I))); Name : String (1 .. Length); for Name'Address use Names_Array (I).all'Address; begin To_Process (data) (Name); end; end loop; end; end if; return 0; end Do_One; -- implementation function Version return String is V : constant C.signed_int := C.iconv.qlibiconv_version; Major : constant C.unsigned_int := C.Shift_Right (C.unsigned_int (V), 8); Minor : constant C.unsigned_int := C.unsigned_int (V) and (2 ** 8 - 1); Major_Image : constant String := C.unsigned_int'Image (Major); Minor_Image : constant String := C.unsigned_int'Image (Minor); begin pragma Assert (Major_Image (Major_Image'First) = ' '); pragma Assert (Minor_Image (Minor_Image'First) = ' '); return Major_Image (Major_Image'First + 1 .. Major_Image'Last) & '.' & Minor_Image (Minor_Image'First + 1 .. Minor_Image'Last); end Version; procedure Iterate (Process : not null access procedure (Name : in String)) is type Process_Type is access procedure (Name : in String); function To_void_ptr is new Ada.Unchecked_Conversion (Process_Type, C.void_ptr); begin C.iconv.iconvlist (Do_One'Access, To_void_ptr (Process)); end Iterate; end iconv.Inside;
32.906667
83
0.712723
23bcafbd68ed205b39412c99f6c8b468844e9f84
1,044
adb
Ada
regtests/secret_harness.adb
stcarrez/ada-libsecret
68be85771a11f6fa0236104999855d09daf68b89
[ "Apache-2.0" ]
2
2017-06-23T21:23:54.000Z
2019-02-09T22:21:59.000Z
regtests/secret_harness.adb
stcarrez/ada-libsecret
68be85771a11f6fa0236104999855d09daf68b89
[ "Apache-2.0" ]
null
null
null
regtests/secret_harness.adb
stcarrez/ada-libsecret
68be85771a11f6fa0236104999855d09daf68b89
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- secret_harness -- Unit tests -- Copyright (C) 2017 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Secret.Testsuite; with Util.Tests; procedure Secret_Harness is procedure Harness is new Util.Tests.Harness (Secret.Testsuite.Suite); begin Harness ("secret-tests.xml"); end Secret_Harness;
38.666667
76
0.640805
0e82effe63b48d44c9febdcc1428b7e7d8f6ece7
4,848
adb
Ada
awa/plugins/awa-mail/src/awa-mail-modules.adb
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
awa/plugins/awa-mail/src/awa-mail-modules.adb
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
awa/plugins/awa-mail/src/awa-mail-modules.adb
fuzzysloth/ada-awa
f9b921eeea29841667a028f2fc4528e4385d247a
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- awa-mail -- Mail module -- Copyright (C) 2011, 2012, 2015, 2017 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with AWA.Modules.Beans; with AWA.Modules.Get; with AWA.Mail.Beans; with AWA.Mail.Components.Factory; with AWA.Applications; with ASF.Servlets; with ASF.Requests.Mockup; with ASF.Responses.Mockup; with Util.Beans.Basic; with Util.Beans.Objects; with Util.Log.Loggers; package body AWA.Mail.Modules is Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("AWA.Mail.Module"); package Register is new AWA.Modules.Beans (Module => Mail_Module, Module_Access => Mail_Module_Access); -- ------------------------------ -- Initialize the mail module. -- ------------------------------ overriding procedure Initialize (Plugin : in out Mail_Module; App : in AWA.Modules.Application_Access; Props : in ASF.Applications.Config) is begin Log.Info ("Initializing the mail module"); -- Add the Mail UI components. App.Add_Components (AWA.Mail.Components.Factory.Definition); -- Register here any bean class, servlet, filter. Register.Register (Plugin => Plugin, Name => "AWA.Mail.Beans.Mail_Bean", Handler => AWA.Mail.Beans.Create_Mail_Bean'Access); AWA.Modules.Module (Plugin).Initialize (App, Props); end Initialize; -- ------------------------------ -- Configures the module after its initialization and after having read its XML configuration. -- ------------------------------ overriding procedure Configure (Plugin : in out Mail_Module; Props : in ASF.Applications.Config) is Mailer : constant String := Props.Get ("mailer", "smtp"); begin Log.Info ("Mail plugin is using {0} mailer", Mailer); Plugin.Mailer := AWA.Mail.Clients.Factory (Mailer, Props); end Configure; -- ------------------------------ -- Create a new mail message. -- ------------------------------ function Create_Message (Plugin : in Mail_Module) return AWA.Mail.Clients.Mail_Message_Access is begin return Plugin.Mailer.Create_Message; end Create_Message; -- ------------------------------ -- Receive an event sent by another module with <b>Send_Event</b> method. -- Format and send an email. -- ------------------------------ procedure Send_Mail (Plugin : in Mail_Module; Template : in String; Props : in Util.Beans.Objects.Maps.Map; Content : in AWA.Events.Module_Event'Class) is Name : constant String := Content.Get_Parameter ("name"); begin Log.Info ("Receive event {0} with template {1}", Name, Template); if Template = "" then Log.Debug ("No email template associated with event {0}", Name); return; end if; declare Req : ASF.Requests.Mockup.Request; Reply : ASF.Responses.Mockup.Response; Ptr : constant Util.Beans.Basic.Readonly_Bean_Access := Content'Unrestricted_Access; Bean : constant Util.Beans.Objects.Object := Util.Beans.Objects.To_Object (Ptr, Util.Beans.Objects.STATIC); Dispatcher : constant ASF.Servlets.Request_Dispatcher := Plugin.Get_Application.Get_Request_Dispatcher (Template); begin Req.Set_Request_URI (Template); Req.Set_Method ("GET"); Req.Set_Attribute (Name => "event", Value => Bean); Req.Set_Attributes (Props); ASF.Servlets.Forward (Dispatcher, Req, Reply); end; end Send_Mail; -- ------------------------------ -- Get the mail module instance associated with the current application. -- ------------------------------ function Get_Mail_Module return Mail_Module_Access is function Get is new AWA.Modules.Get (Mail_Module, Mail_Module_Access, NAME); begin return Get; end Get_Mail_Module; end AWA.Mail.Modules;
38.47619
98
0.58519
18ba0c02e739742e826765565d9093211ff3a806
729
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug4_pkg.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug4_pkg.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug4_pkg.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
package body Debug4_Pkg is type Vertex_To_Vertex_T is array (Vertex_Id range <>) of Vertex_Id; function Dominator_Tree_Internal (G : T'Class) return Vertex_To_Vertex_T is subtype V_To_V is Vertex_To_Vertex_T (0 .. G.Vertices.Last_Index); type V_To_VIL is array (Valid_Vertex_Id range 1 .. G.Vertices.Last_Index) of Vertex_Index_List; Bucket : V_To_VIL := (others => VIL.Empty_Vector); Dom : V_To_V := (others => 0); begin return Dom; end; function Dominator_Tree (G : T'Class) return T is Dom : constant Vertex_To_Vertex_T := Dominator_Tree_Internal (G); DT : T := (Vertices => VL.Empty_Vector); begin return DT; end; end Debug4_Pkg;
30.375
78
0.665295
103315abf72608ca196b4c6b88feb9bc27028b06
4,632
ads
Ada
source/slim-players.ads
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
source/slim-players.ads
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
source/slim-players.ads
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
-- Copyright (c) 2019 Maxim Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Calendar; with Ada.Containers.Vectors; with GNAT.Sockets; with League.Stream_Element_Vectors; with League.Strings; with Slim.Fonts; with Slim.Messages; with Slim.Menu_Views; limited with Slim.Players.Displays; with Slim.Menu_Models; package Slim.Players is type Player is tagged limited private; type Player_Access is access all Player'Class; procedure Initialize (Self : in out Player'Class; Socket : GNAT.Sockets.Socket_Type; Font : League.Strings.Universal_String; Splash : League.Strings.Universal_String; Menu : League.Strings.Universal_String); procedure Play_Radio (Self : in out Player'Class; URL : League.Strings.Universal_String); type Song is record File : League.Strings.Universal_String; Title : League.Strings.Universal_String; end record; type Song_Array is array (Positive range <>) of Song; procedure Play_Files (Self : in out Player'Class; Root : League.Strings.Universal_String; M3U : League.Strings.Universal_String; List : Song_Array; From : Positive; Skip : Natural); -- Start playing given playlist. Skip given number of seconds of the first -- song procedure Play_Next_File (Self : in out Player'Class; Immediate : Boolean := True); procedure Play_Previous_File (Self : in out Player'Class; Immediate : Boolean := True); procedure Stop (Self : in out Player'Class); procedure Save_Position (Self : in out Player'Class); -- If play a playlist, then remember current position procedure Get_Position (Self : in out Player'Class; M3U : League.Strings.Universal_String; Index : out Positive; Skip : out Natural); -- Find saved position for given playlist. Return (1,0) if not found procedure Volume (Self : in out Player'Class; Value : Natural); not overriding procedure Process_Message (Self : in out Player); private type State_Kind is (Connected, Idle, Play_Radio, Play_Files); type Play_State is record Volume : Natural range 0 .. 100; Volume_Set_Time : Ada.Calendar.Time; Current_Song : League.Strings.Universal_String; Seconds : Natural; Paused : Boolean; end record; package Song_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => Song); type Player_State (Kind : State_Kind := Connected) is record case Kind is when Connected => null; when Idle => Time : Ada.Calendar.Time; -- Time on players display Menu_View : Slim.Menu_Views.Menu_View; when Play_Radio | Play_Files => Play_State : Slim.Players.Play_State; case Kind is when Play_Files => Root : League.Strings.Universal_String; M3U_Name : League.Strings.Universal_String; Playlist : Song_Vectors.Vector; Index : Positive; Offset : Natural; -- If current file started playing with Offset when others => null; end case; end case; end record; type Menu_Model_Access is access all Slim.Menu_Models.Menu_Model'Class; type Player is tagged limited record Socket : GNAT.Sockets.Socket_Type := GNAT.Sockets.No_Socket; State : Player_State; Ping : Ada.Calendar.Time := Ada.Calendar.Clock; Font : aliased Slim.Fonts.Font; Splash : League.Stream_Element_Vectors.Stream_Element_Vector; Menu : Menu_Model_Access; -- Splash screen WiFi : Natural; -- Wireless Signal Strength (0-100) -- Elapsed : Natural := 0; -- elapsed seconds of the current stream end record; procedure Write_Message (Socket : GNAT.Sockets.Socket_Type; Message : Slim.Messages.Message'Class); function Get_Display (Self : Player; Height : Positive := 32; Width : Positive := 160) return Slim.Players.Displays.Display; function First_Menu (Self : Player'Class) return Slim.Menu_Views.Menu_View; function "+" (X : Wide_Wide_String) return League.Strings.Universal_String renames League.Strings.To_Universal_String; procedure Request_Next_File (Self : in out Player'Class); end Slim.Players;
30.473684
78
0.638601
0ed80dd74baf63685b5e471a569e888383f750a1
497
ads
Ada
test/subtypes/test_subtypes-read.ads
skill-lang/skillAdaTestSuite
279ea0c0cd489c2e39d7532a3b68c564497101e2
[ "BSD-3-Clause" ]
1
2019-02-09T22:04:10.000Z
2019-02-09T22:04:10.000Z
test/subtypes/test_subtypes-read.ads
skill-lang/skillAdaTestSuite
279ea0c0cd489c2e39d7532a3b68c564497101e2
[ "BSD-3-Clause" ]
null
null
null
test/subtypes/test_subtypes-read.ads
skill-lang/skillAdaTestSuite
279ea0c0cd489c2e39d7532a3b68c564497101e2
[ "BSD-3-Clause" ]
null
null
null
with Ada.Characters.Handling; with Ada.Strings.Fixed; with Ada.Tags; with Ahven.Framework; with Subtypes.Api; package Test_Subtypes.Read is package Skill renames Subtypes.Api; use Subtypes; use Subtypes.Api; type Test is new Ahven.Framework.Test_Case with null record; procedure Initialize (T : in out Test); procedure Check_Types; procedure Check_Fields_A; procedure Check_Fields_B; procedure Check_Fields_C; procedure Check_Fields_D; end Test_Subtypes.Read;
19.88
63
0.764588
105486b9361362b8e71b2bfb3fbdace07fecb486
2,210
ada
Ada
Task/Greyscale-bars-Display/Ada/greyscale-bars-display.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Greyscale-bars-Display/Ada/greyscale-bars-display.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Greyscale-bars-Display/Ada/greyscale-bars-display.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
with Gtk.Window; use Gtk.Window; with Gtk.Enums; with Gtk.Handlers; with Gtk.Main; with Gdk; with Gdk.Event; with Glib; use Glib; with Cairo; use Cairo; with Gdk.Cairo; pragma Elaborate_All (Gtk.Handlers); procedure Greyscale is Win : Gtk_Window; Width : constant := 640; Height : constant := 512; package Handlers is new Gtk.Handlers.Callback (Gtk_Window_Record); package Event_Cb is new Gtk.Handlers.Return_Callback ( Widget_Type => Gtk_Window_Record, Return_Type => Boolean); procedure Quit (Win : access Gtk_Window_Record'Class) is pragma Warnings (Off, Win); begin Gtk.Main.Main_Quit; end Quit; function Expose (Drawing : access Gtk_Window_Record'Class; Event : Gdk.Event.Gdk_Event) return Boolean is subtype Dub is Glib.Gdouble; Cr : Cairo_Context; Revert : Boolean; Grey : Dub; DH : constant Dub := Dub (Height) / 4.0; X, Y, DW : Dub; N : Natural; begin Cr := Gdk.Cairo.Create (Get_Window (Drawing)); for Row in 1 .. 4 loop N := 2 ** (Row + 2); Revert := (Row mod 2) = 0; DW := Dub (Width) / Dub (N); X := 0.0; Y := DH * Dub (Row - 1); for B in 0 .. (N - 1) loop Grey := Dub (B) / Dub (N - 1); if Revert then Grey := 1.0 - Grey; end if; Cairo.Set_Source_Rgb (Cr, Grey, Grey, Grey); Cairo.Rectangle (Cr, X, Y, DW, DH); Cairo.Fill (Cr); X := X + DW; end loop; end loop; Cairo.Destroy (Cr); return False; end Expose; begin Gtk.Main.Set_Locale; Gtk.Main.Init; Gtk_New (Win); Gtk.Window.Initialize (Win, Gtk.Enums.Window_Toplevel); Set_Title (Win, "Greyscale with GTKAda"); Set_Default_Size (Win, Width, Height); Set_App_Paintable (Win, True); -- Attach handlers Handlers.Connect (Win, "destroy", Handlers.To_Marshaller (Quit'Access)); Event_Cb.Connect (Win, "expose_event", Event_Cb.To_Marshaller (Expose'Access)); Show_All (Win); Gtk.Main.Main; end Greyscale;
25.697674
75
0.568778
dfde694bb64db6f718ae24d6093041e81225d1b5
2,205
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b28a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b28a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b28a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C87B28A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT OVERLOADING RESOLUTION USES THE RULE THAT: -- -- THE TYPE OF THE LITERAL "NULL" MUST BE DETERMINED FROM THE FACT -- THAT "NULL" IS A VALUE OF AN ACCESS TYPE. -- TRH 13 AUG 82 -- JRK 2/2/84 WITH REPORT; USE REPORT; PROCEDURE C87B28A IS ERR : BOOLEAN := FALSE; TYPE A2 IS ACCESS BOOLEAN; TYPE A3 IS ACCESS INTEGER; TYPE A1 IS ACCESS A2; FUNCTION F RETURN A1 IS BEGIN RETURN NEW A2; END F; FUNCTION F RETURN A2 IS BEGIN ERR := TRUE; RETURN NEW BOOLEAN; END F; FUNCTION F RETURN A3 IS BEGIN ERR := TRUE; RETURN (NEW INTEGER); END F; BEGIN TEST ("C87B28A", "OVERLOADING OF THE ACCESS TYPE LITERAL 'NULL'"); F.ALL := NULL; IF ERR THEN FAILED ("RESOLUTION INCORRECT FOR THE ACCESS TYPE LITERAL " & "'NULL'"); END IF; RESULT; END C87B28A;
30.625
79
0.629932
23074a3db9598a5499229c51d69027065b121798
5,232
ads
Ada
src/clic-subcommand-instance.ads
alire-project/clic
e57e289e4825e1ce4be96b5cdd1979a02a08c8ba
[ "MIT" ]
9
2021-08-30T16:11:30.000Z
2021-11-06T22:41:17.000Z
src/clic-subcommand-instance.ads
alire-project/clic
e57e289e4825e1ce4be96b5cdd1979a02a08c8ba
[ "MIT" ]
8
2021-09-05T09:20:31.000Z
2022-03-09T10:07:52.000Z
src/clic-subcommand-instance.ads
alire-project/clic
e57e289e4825e1ce4be96b5cdd1979a02a08c8ba
[ "MIT" ]
2
2021-09-16T14:17:20.000Z
2021-09-21T09:11:23.000Z
-- Instantiate this package to create a sub-command parser/executor with CLIC.Config; generic Main_Command_Name : String; -- Name of the main command or program Version : String; -- Version of the program with procedure Set_Global_Switches (Config : in out CLIC.Subcommand.Switches_Configuration); -- This procedure should define the global switches using the -- Register_Switch procedures of the CLIC.Subcommand package. with procedure Put (Str : String); -- Used to print help and usage with procedure Put_Line (Str : String); -- Used to print help and usage with procedure Put_Error (Str : String); -- Used to print errors with procedure Error_Exit (Code : Integer); -- Used to signal that the program should terminate with the give error -- code. Typicaly use GNAT.OS_Lib.OS_Exit. -- The procedures below are used to format the output such as usage and -- help. Use CLIC.Subcommand.No_TTY if you don't want or need formating. with function TTY_Chapter (Str : String) return String; with function TTY_Description (Str : String) return String; with function TTY_Version (Str : String) return String; with function TTY_Underline (Str : String) return String; with function TTY_Emph (Str : String) return String; package CLIC.Subcommand.Instance is procedure Register (Cmd : not null Command_Access); -- Register a sub-command procedure Register (Group : String; Cmd : not null Command_Access); -- Register a sub-command in a group procedure Register (Topic : not null Help_Topic_Access); -- Register an help topic procedure Set_Alias (Alias : Identifier; Replacement : AAA.Strings.Vector); -- Define Alias such that "<Main_Command_Name> <Alias> <Extra_Args>" will -- be replaced by "<Main_Command_Name> <Replacement> <Extra_Args>". -- If Alias is already set, it will be silently replaced. procedure Load_Aliases (Conf : CLIC.Config.Instance; Root_Key : String := "alias"); -- Load aliases from the given configuration. -- -- All the config keys in the format "<Root_Key>.<sub-key>" are -- processed. If the value of a key is a (not null) String, <sub-key> -- is registered as an alias for the value (parsed into a list with -- GNAT.OS_Lib.Argument_String_To_List). -- -- For instance when Root_Key := "alias" (default): -- alias.test1 = "cmd arg1 arg2" # Valid: test1 -> ["cmd", "arg1", "arg2"] -- alias.test2 = "cmd" # Valid: test2 -> ["cmd"] -- alias.test3 = "" # Ignored -- alias.test4.test = "cmd arg1" # Ignored -- alias.test5 = 20 # Ignored -- alias.test6 = ["cmd", "arg1"] # Ignored procedure Execute (Command_Line : AAA.Strings.Vector := AAA.Strings.Empty_Vector); -- Parse the command line and execute a sub-command or display help/usage -- depending on command line args. -- -- If Command_Line is not empty it will be used instead of the actual -- command line arguments from Ada.Command_Line. procedure Parse_Global_Switches (Command_Line : AAA.Strings.Vector := AAA.Strings.Empty_Vector); -- Optional. Call this procedure before Execute to get only global switches -- parsed. This can be useful to check the values of global switches before -- running a sub-command or change the behavior of your program based on -- these (e.g. verbosity, output color, etc.). -- -- If Command_Line is not empty it will be used instead of the actual -- command line arguments from Ada.Command_Line. function What_Command return String; procedure Display_Usage (Displayed_Error : Boolean := False); procedure Display_Help (Keyword : String); Error_No_Command : exception; Command_Already_Defined : exception; type Builtin_Help is new Command with private; -- Use Register (new Builtin_Help); to provide a build-in help command private -- Built-in Help Command -- type Builtin_Help is new Command with null record; overriding function Name (This : Builtin_Help) return Identifier is ("help"); overriding function Switch_Parsing (This : Builtin_Help) return Switch_Parsing_Kind is (Parse_All); overriding procedure Execute (This : in out Builtin_Help; Args : AAA.Strings.Vector); overriding function Long_Description (This : Builtin_Help) return AAA.Strings.Vector is (AAA.Strings.Empty_Vector .Append ("Shows information about commands and topics.") .Append ("See available commands with '" & Main_Command_Name & " help commands'") .Append ("See available topics with '" & Main_Command_Name & " help topics'.")); overriding procedure Setup_Switches (This : in out Builtin_Help; Config : in out CLIC.Subcommand.Switches_Configuration) is null; overriding function Short_Description (This : Builtin_Help) return String is ("Shows help on the given command/topic"); overriding function Usage_Custom_Parameters (This : Builtin_Help) return String is ("[<command>|<topic>]"); end CLIC.Subcommand.Instance;
38.470588
79
0.685015
df267c1d7f9edf1cbf37293f7c278a56568fe25c
17,331
adb
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-strsea.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-strsea.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-strsea.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R I N G S . S E A R C H -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2015, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Note: This code is derived from the ADAR.CSH public domain Ada 83 -- versions of the Appendix C string handling packages (code extracted -- from Ada.Strings.Fixed). A significant change is that we optimize the -- case of identity mappings for Count and Index, and also Index_Non_Blank -- is specialized (rather than using the general Index routine). with Ada.Strings.Maps; use Ada.Strings.Maps; with System; use System; package body Ada.Strings.Search is ----------------------- -- Local Subprograms -- ----------------------- function Belongs (Element : Character; Set : Maps.Character_Set; Test : Membership) return Boolean; pragma Inline (Belongs); -- Determines if the given element is in (Test = Inside) or not in -- (Test = Outside) the given character set. ------------- -- Belongs -- ------------- function Belongs (Element : Character; Set : Maps.Character_Set; Test : Membership) return Boolean is begin if Test = Inside then return Is_In (Element, Set); else return not Is_In (Element, Set); end if; end Belongs; ----------- -- Count -- ----------- function Count (Source : String; Pattern : String; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural is PL1 : constant Integer := Pattern'Length - 1; Num : Natural; Ind : Natural; Cur : Natural; begin if Pattern = "" then raise Pattern_Error; end if; Num := 0; Ind := Source'First; -- Unmapped case if Mapping'Address = Maps.Identity'Address then while Ind <= Source'Last - PL1 loop if Pattern = Source (Ind .. Ind + PL1) then Num := Num + 1; Ind := Ind + Pattern'Length; else Ind := Ind + 1; end if; end loop; -- Mapped case else while Ind <= Source'Last - PL1 loop Cur := Ind; for K in Pattern'Range loop if Pattern (K) /= Value (Mapping, Source (Cur)) then Ind := Ind + 1; goto Cont; else Cur := Cur + 1; end if; end loop; Num := Num + 1; Ind := Ind + Pattern'Length; <<Cont>> null; end loop; end if; -- Return result return Num; end Count; function Count (Source : String; Pattern : String; Mapping : Maps.Character_Mapping_Function) return Natural is PL1 : constant Integer := Pattern'Length - 1; Num : Natural; Ind : Natural; Cur : Natural; begin if Pattern = "" then raise Pattern_Error; end if; -- Check for null pointer in case checks are off if Mapping = null then raise Constraint_Error; end if; Num := 0; Ind := Source'First; while Ind <= Source'Last - PL1 loop Cur := Ind; for K in Pattern'Range loop if Pattern (K) /= Mapping (Source (Cur)) then Ind := Ind + 1; goto Cont; else Cur := Cur + 1; end if; end loop; Num := Num + 1; Ind := Ind + Pattern'Length; <<Cont>> null; end loop; return Num; end Count; function Count (Source : String; Set : Maps.Character_Set) return Natural is N : Natural := 0; begin for J in Source'Range loop if Is_In (Source (J), Set) then N := N + 1; end if; end loop; return N; end Count; ---------------- -- Find_Token -- ---------------- procedure Find_Token (Source : String; Set : Maps.Character_Set; From : Positive; Test : Membership; First : out Positive; Last : out Natural) is begin -- AI05-031: Raise Index error if Source non-empty and From not in range if Source'Length /= 0 and then From not in Source'Range then raise Index_Error; end if; -- If Source is the empty string, From may still be out of its -- range. The following ensures that in all cases there is no -- possible erroneous access to a non-existing character. for J in Integer'Max (From, Source'First) .. Source'Last loop if Belongs (Source (J), Set, Test) then First := J; for K in J + 1 .. Source'Last loop if not Belongs (Source (K), Set, Test) then Last := K - 1; return; end if; end loop; -- Here if J indexes first char of token, and all chars after J -- are in the token. Last := Source'Last; return; end if; end loop; -- Here if no token found First := From; Last := 0; end Find_Token; procedure Find_Token (Source : String; Set : Maps.Character_Set; Test : Membership; First : out Positive; Last : out Natural) is begin for J in Source'Range loop if Belongs (Source (J), Set, Test) then First := J; for K in J + 1 .. Source'Last loop if not Belongs (Source (K), Set, Test) then Last := K - 1; return; end if; end loop; -- Here if J indexes first char of token, and all chars after J -- are in the token. Last := Source'Last; return; end if; end loop; -- Here if no token found -- RM 2005 A.4.3 (68/1) specifies that an exception must be raised if -- Source'First is not positive and is assigned to First. Formulation -- is slightly different in RM 2012, but the intent seems similar, so -- we check explicitly for that condition. if Source'First not in Positive then raise Constraint_Error; else First := Source'First; Last := 0; end if; end Find_Token; ----------- -- Index -- ----------- function Index (Source : String; Pattern : String; Going : Direction := Forward; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural is PL1 : constant Integer := Pattern'Length - 1; Cur : Natural; Ind : Integer; -- Index for start of match check. This can be negative if the pattern -- length is greater than the string length, which is why this variable -- is Integer instead of Natural. In this case, the search loops do not -- execute at all, so this Ind value is never used. begin if Pattern = "" then raise Pattern_Error; end if; -- Forwards case if Going = Forward then Ind := Source'First; -- Unmapped forward case if Mapping'Address = Maps.Identity'Address then for J in 1 .. Source'Length - PL1 loop if Pattern = Source (Ind .. Ind + PL1) then return Ind; else Ind := Ind + 1; end if; end loop; -- Mapped forward case else for J in 1 .. Source'Length - PL1 loop Cur := Ind; for K in Pattern'Range loop if Pattern (K) /= Value (Mapping, Source (Cur)) then goto Cont1; else Cur := Cur + 1; end if; end loop; return Ind; <<Cont1>> Ind := Ind + 1; end loop; end if; -- Backwards case else -- Unmapped backward case Ind := Source'Last - PL1; if Mapping'Address = Maps.Identity'Address then for J in reverse 1 .. Source'Length - PL1 loop if Pattern = Source (Ind .. Ind + PL1) then return Ind; else Ind := Ind - 1; end if; end loop; -- Mapped backward case else for J in reverse 1 .. Source'Length - PL1 loop Cur := Ind; for K in Pattern'Range loop if Pattern (K) /= Value (Mapping, Source (Cur)) then goto Cont2; else Cur := Cur + 1; end if; end loop; return Ind; <<Cont2>> Ind := Ind - 1; end loop; end if; end if; -- Fall through if no match found. Note that the loops are skipped -- completely in the case of the pattern being longer than the source. return 0; end Index; function Index (Source : String; Pattern : String; Going : Direction := Forward; Mapping : Maps.Character_Mapping_Function) return Natural is PL1 : constant Integer := Pattern'Length - 1; Ind : Natural; Cur : Natural; begin if Pattern = "" then raise Pattern_Error; end if; -- Check for null pointer in case checks are off if Mapping = null then raise Constraint_Error; end if; -- If Pattern longer than Source it can't be found if Pattern'Length > Source'Length then return 0; end if; -- Forwards case if Going = Forward then Ind := Source'First; for J in 1 .. Source'Length - PL1 loop Cur := Ind; for K in Pattern'Range loop if Pattern (K) /= Mapping.all (Source (Cur)) then goto Cont1; else Cur := Cur + 1; end if; end loop; return Ind; <<Cont1>> Ind := Ind + 1; end loop; -- Backwards case else Ind := Source'Last - PL1; for J in reverse 1 .. Source'Length - PL1 loop Cur := Ind; for K in Pattern'Range loop if Pattern (K) /= Mapping.all (Source (Cur)) then goto Cont2; else Cur := Cur + 1; end if; end loop; return Ind; <<Cont2>> Ind := Ind - 1; end loop; end if; -- Fall through if no match found. Note that the loops are skipped -- completely in the case of the pattern being longer than the source. return 0; end Index; function Index (Source : String; Set : Maps.Character_Set; Test : Membership := Inside; Going : Direction := Forward) return Natural is begin -- Forwards case if Going = Forward then for J in Source'Range loop if Belongs (Source (J), Set, Test) then return J; end if; end loop; -- Backwards case else for J in reverse Source'Range loop if Belongs (Source (J), Set, Test) then return J; end if; end loop; end if; -- Fall through if no match return 0; end Index; function Index (Source : String; Pattern : String; From : Positive; Going : Direction := Forward; Mapping : Maps.Character_Mapping := Maps.Identity) return Natural is begin -- AI05-056: If source is empty result is always zero if Source'Length = 0 then return 0; elsif Going = Forward then if From < Source'First then raise Index_Error; end if; return Index (Source (From .. Source'Last), Pattern, Forward, Mapping); else if From > Source'Last then raise Index_Error; end if; return Index (Source (Source'First .. From), Pattern, Backward, Mapping); end if; end Index; function Index (Source : String; Pattern : String; From : Positive; Going : Direction := Forward; Mapping : Maps.Character_Mapping_Function) return Natural is begin -- AI05-056: If source is empty result is always zero if Source'Length = 0 then return 0; elsif Going = Forward then if From < Source'First then raise Index_Error; end if; return Index (Source (From .. Source'Last), Pattern, Forward, Mapping); else if From > Source'Last then raise Index_Error; end if; return Index (Source (Source'First .. From), Pattern, Backward, Mapping); end if; end Index; function Index (Source : String; Set : Maps.Character_Set; From : Positive; Test : Membership := Inside; Going : Direction := Forward) return Natural is begin -- AI05-056 : if source is empty result is always 0. if Source'Length = 0 then return 0; elsif Going = Forward then if From < Source'First then raise Index_Error; end if; return Index (Source (From .. Source'Last), Set, Test, Forward); else if From > Source'Last then raise Index_Error; end if; return Index (Source (Source'First .. From), Set, Test, Backward); end if; end Index; --------------------- -- Index_Non_Blank -- --------------------- function Index_Non_Blank (Source : String; Going : Direction := Forward) return Natural is begin if Going = Forward then for J in Source'Range loop if Source (J) /= ' ' then return J; end if; end loop; else -- Going = Backward for J in reverse Source'Range loop if Source (J) /= ' ' then return J; end if; end loop; end if; -- Fall through if no match return 0; end Index_Non_Blank; function Index_Non_Blank (Source : String; From : Positive; Going : Direction := Forward) return Natural is begin if Going = Forward then if From < Source'First then raise Index_Error; end if; return Index_Non_Blank (Source (From .. Source'Last), Forward); else if From > Source'Last then raise Index_Error; end if; return Index_Non_Blank (Source (Source'First .. From), Backward); end if; end Index_Non_Blank; end Ada.Strings.Search;
26.828173
79
0.486354
c547f92db6d5f8f8eeb838273dbc30cd7f15d658
3,085
adb
Ada
2A/S7/SysConc/TP/TP6/lr-tasks.adb
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
4
2020-05-02T12:32:32.000Z
2022-01-12T20:20:35.000Z
2IMA/SystemesConcurrents/tp6/lr-tasks.adb
LagOussama/enseeiht
d3247880c66cd3754d0bd29781ab1ddec9f6536f
[ "FTL" ]
2
2021-01-14T20:03:26.000Z
2022-01-30T01:10:00.000Z
2A/S7/SysConc/TP/TP6/lr-tasks.adb
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
13
2020-11-11T21:28:11.000Z
2022-02-19T13:54:22.000Z
-- Time-stamp: <22 oct 2012 09:38 [email protected]> with Ada.Text_IO; use Ada.Text_IO; with LR.Synchro; with LR.Simu; with LR.Affic; with Ada.Numerics.Discrete_Random; with Ada.Exceptions; package body LR.Tasks is package Rand_Int is new Ada.Numerics.Discrete_Random(Positive); Generator : Rand_Int.Generator; -- Chaque lecteur lit entre MinDelayLit et MaxDelayLit secondes, -- pense entre MinDelayLRien et MaxDelayLRien (les deux bornes incluses). -- Chaque rédacteur écrit entre MinDelayEcrit et MaxDelayEcrit secondes, et -- pense entre MinDelayERien et MaxDelayERien (les deux bornes incluses). MinDelayLit : constant Positive := 5; MaxDelayLit : constant Positive := 20; MinDelayEcrit : constant Positive := 2; MaxDelayEcrit : constant Positive := 10; MinDelayLRien : Positive := MinDelayLit; MaxDelayLRien : Positive := MaxDelayLit; MinDelayERien : Positive := MinDelayEcrit; MaxDelayERien : Positive := MaxDelayEcrit; -- Suspend la simulation de la tâche pendant [bi..bs] unités procedure Random_Sleep(No: Proc_Id; Bi: Positive; Bs: Positive) is Duree : Positive; begin Duree := (Rand_Int.Random(Generator) mod (Bs - Bi + 1)) + Bi; LR.Simu.Sleep(No, Duree); end Random_Sleep; task body Lecteur is Id: Proc_Id; begin accept Init(MonId: Proc_Id) do Id:=MonId; end Init; loop Random_Sleep(Id, MinDelayLRien, MaxDelayLRien); Put_Line (Proc_Id'Image(Id) & " Calling DL"); Lr.Affic.Changer_Etat(Id, LR.Affic.Lecteur_Demande); LR.Synchro.Demander_Lecture; Put_Line (Proc_Id'Image(Id) & " Got DL, sleeping"); Lr.Affic.Changer_Etat(Id, LR.Affic.Lecteur_Lit); Random_Sleep(Id, MinDelayLit, MaxDelayLit); Put_Line (Proc_Id'Image(Id) & " Calling TL"); LR.Synchro.Terminer_Lecture; Lr.Affic.Changer_Etat(Id, LR.Affic.Lecteur_Rien); end loop; exception when Error: others => Put_Line("**** Tâche Lecteur: exception: " & Ada.Exceptions.Exception_Information(Error)); end Lecteur; task body Redacteur is Id: Proc_Id; begin accept Init(MonId: Proc_Id) do Id:=MonId; end Init; loop Random_Sleep(Id, MinDelayERien, MaxDelayERien); Put_Line (Proc_Id'Image(Id) & " Calling DR"); LR.Affic.Changer_Etat(Id, LR.Affic.Redacteur_Demande); LR.Synchro.Demander_Ecriture; Put_Line (Proc_Id'Image(Id) & " Got DR, sleeping"); LR.Affic.Changer_Etat(Id, LR.Affic.Redacteur_Ecrit); Random_Sleep(Id, MinDelayEcrit, MaxDelayEcrit); Put_Line (Proc_Id'Image(Id) & " Calling TR"); LR.Synchro.Terminer_Ecriture; LR.Affic.Changer_Etat(Id, LR.Affic.Redacteur_Rien); end loop; exception when Error: others => Put_Line("**** LectRedTask: exception: " & Ada.Exceptions.Exception_Information(Error)); end Redacteur; begin Rand_Int.Reset(Generator); end LR.Tasks;
35.056818
99
0.656726
1878dd539c520dd02e01f2bc3e3bf1550f4fadd4
2,700
adb
Ada
orka/src/orka/implementation/orka-strings.adb
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
52
2016-07-30T23:00:28.000Z
2022-02-05T11:54:55.000Z
orka/src/orka/implementation/orka-strings.adb
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
79
2016-08-01T18:36:48.000Z
2022-02-27T12:14:20.000Z
orka/src/orka/implementation/orka-strings.adb
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
4
2018-04-28T22:36:26.000Z
2020-11-14T23:00:29.000Z
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <[email protected]> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. with Ada.Characters.Latin_1; with Ada.Strings.Fixed; package body Orka.Strings is package L renames Ada.Characters.Latin_1; package SF renames Ada.Strings.Fixed; function Trim (Value : String) return String is (SF.Trim (Value, Ada.Strings.Both)); function Strip_Line_Term (Value : String) return String is Last_Index : Natural := Value'Last; begin for Index in reverse Value'Range loop exit when Value (Index) not in L.LF | L.CR; Last_Index := Last_Index - 1; end loop; return Value (Value'First .. Last_Index); end Strip_Line_Term; function Lines (Value : String) return Positive is (SF.Count (Strip_Line_Term (Value), "" & L.LF) + 1); function Split (Value : String; Separator : String := " "; Maximum : Natural := 0) return String_List is Lines : constant String := Strip_Line_Term (Value); Index : Positive := Lines'First; Auto_Count : constant Positive := SF.Count (Lines, Separator) + 1; Count : constant Positive := (if Maximum > 0 then Positive'Min (Maximum, Auto_Count) else Auto_Count); begin return Result : String_List (1 .. Count) do for I in Result'First .. Result'Last - 1 loop declare Next_Index : constant Positive := SF.Index (Lines, Separator, Index); begin Result (I) := SU.To_Unbounded_String (Lines (Index .. Next_Index - 1)); Index := Next_Index + Separator'Length; end; end loop; Result (Result'Last) := SU.To_Unbounded_String (Lines (Index .. Lines'Last)); end return; end Split; function Join (List : String_List; Separator : String) return String is Result : SU.Unbounded_String; begin for Index in List'First .. List'Last - 1 loop SU.Append (Result, List (Index)); SU.Append (Result, Separator); end loop; SU.Append (Result, List (List'Last)); return +Result; end Join; end Orka.Strings;
34.615385
87
0.646296
10427ea69ed488f4adea7a3b3452d38a3a8e1a06
2,541
ads
Ada
arch/ARM/STM32/driversWB55x/stm32-power_control.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/STM32/driversWL5x/stm32-power_control.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/STM32/driversWL5x/stm32-power_control.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package STM32.Power_Control is procedure Enable; procedure Enable_Backup_Domain_Protection; procedure Disable_Backup_Domain_Protection; end STM32.Power_Control;
68.675676
78
0.525384
df4cd7bb6eb43fd97e4eebc4912c71575a310315
2,000
ads
Ada
tier-1/xcb/source/thin/xcb-xcb_glx_create_context_attribs_arb_request_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
2
2015-11-12T11:16:20.000Z
2021-08-24T22:32:04.000Z
tier-1/xcb/source/thin/xcb-xcb_glx_create_context_attribs_arb_request_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
1
2018-06-05T05:19:35.000Z
2021-11-20T01:13:23.000Z
tier-1/xcb/source/thin/xcb-xcb_glx_create_context_attribs_arb_request_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
null
null
null
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with swig; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_create_context_attribs_arb_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; minor_opcode : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; context : aliased xcb.xcb_glx_context_t; fbconfig : aliased xcb.xcb_glx_fbconfig_t; screen : aliased Interfaces.Unsigned_32; share_list : aliased xcb.xcb_glx_context_t; is_direct : aliased Interfaces.Unsigned_8; pad0 : aliased swig.int8_t_Array (0 .. 2); num_attribs : aliased Interfaces.Unsigned_32; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_glx_create_context_attribs_arb_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_create_context_attribs_arb_request_t.Item, Element_Array => xcb.xcb_glx_create_context_attribs_arb_request_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C .size_t range <>) of aliased xcb .xcb_glx_create_context_attribs_arb_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_create_context_attribs_arb_request_t.Pointer, Element_Array => xcb.xcb_glx_create_context_attribs_arb_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_create_context_attribs_arb_request_t;
29.850746
77
0.6905
cbb841d1b434824b61a7bbe068ab809781924bd9
699
ads
Ada
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/complex.ads
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
package Complex is type Complex is private; i, zero : constant Complex; -- arithmetic plus operator on complex values function "+" ( lhs, -- left hand side rhs : in Complex -- right hand side ) return Complex; -- returns a Compelx -- extracts imaginary component function Imag(val : in Complex) return Float; -- extracts real component function Real(val : in Complex) return Float; function Origin return Complex; private type Complex is record Re : Float := 0.0; Im : Float := 0.0; end record; i : constant Complex := (0.0, 1.0); zero: constant Complex := (0.0, 0.0); end Complex;
22.548387
57
0.599428
104da4569a83d5f76cad9deb65ecd94710497e35
2,905
ads
Ada
source/oasis/program-elements-object_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/oasis/program-elements-object_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/oasis/program-elements-object_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
1
2019-10-16T09:05:27.000Z
2019-10-16T09:05:27.000Z
-- SPDX-FileCopyrightText: 2019 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Definitions; with Program.Elements.Expressions; with Program.Elements.Aspect_Specifications; package Program.Elements.Object_Declarations is pragma Pure (Program.Elements.Object_Declarations); type Object_Declaration is limited interface and Program.Elements.Declarations.Declaration; type Object_Declaration_Access is access all Object_Declaration'Class with Storage_Size => 0; not overriding function Names (Self : Object_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access is abstract; not overriding function Object_Subtype (Self : Object_Declaration) return not null Program.Elements.Definitions.Definition_Access is abstract; not overriding function Initialization_Expression (Self : Object_Declaration) return Program.Elements.Expressions.Expression_Access is abstract; not overriding function Aspects (Self : Object_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access is abstract; not overriding function Has_Aliased (Self : Object_Declaration) return Boolean is abstract; not overriding function Has_Constant (Self : Object_Declaration) return Boolean is abstract; type Object_Declaration_Text is limited interface; type Object_Declaration_Text_Access is access all Object_Declaration_Text'Class with Storage_Size => 0; not overriding function To_Object_Declaration_Text (Self : in out Object_Declaration) return Object_Declaration_Text_Access is abstract; not overriding function Colon_Token (Self : Object_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Aliased_Token (Self : Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Constant_Token (Self : Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Assignment_Token (Self : Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function With_Token (Self : Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Semicolon_Token (Self : Object_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Object_Declarations;
33.77907
73
0.770396
0e2b5847d9600299ef29dfd20420c83cfce88ca8
2,312
ads
Ada
thirdparty/glut/progs/ada/fog_procs.ads
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
1
2019-01-11T13:55:53.000Z
2019-01-11T13:55:53.000Z
thirdparty/glut/progs/ada/fog_procs.ads
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
1
2018-08-10T19:11:58.000Z
2018-08-10T19:12:17.000Z
thirdparty/glut/progs/ada/fog_procs.ads
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
null
null
null
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and this permission notice appear in supporting documentation, and that -- the name of Silicon Graphics, Inc. not be used in advertising -- or publicity pertaining to distribution of the software without specific, -- written prior permission. -- -- THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" -- AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, -- INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR -- FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON -- GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, -- SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY -- KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, -- LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF -- THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN -- ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON -- ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE -- POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. -- -- US Government Users Restricted Rights -- Use, duplication, or disclosure by the Government is subject to -- restrictions set forth in FAR 52.227.19(c)(2) or subparagraph -- (c)(1)(ii) of the Rights in Technical Data and Computer Software -- clause at DFARS 252.227-7013 and/or in similar or successor -- clauses in the FAR or the DOD or NASA FAR Supplement. -- Unpublished-- rights reserved under the copyright laws of the -- United States. Contractor/manufacturer is Silicon Graphics, -- Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. -- -- OpenGL(TM) is a trademark of Silicon Graphics, Inc. -- with GL; use GL; package Fog_Procs is fogType : FogMode; procedure CycleFog (btn: Integer; state: Integer; x, y: Integer); procedure Initialize; procedure RenderRedTeapot (x : GLfloat; y : GLfloat; z : GLfloat); procedure Display; procedure HandleReshape (w : Integer; h : Integer); end Fog_Procs;
47.183673
77
0.741349
104ae3a2ea7baa03ec6eae347337dbb4161e803b
10,552
ads
Ada
tools/scitools/conf/understand/ada/ada12/s-taprob.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada12/s-taprob.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada12/s-taprob.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T A S K I N G . P R O T E C T E D _ O B J E C T S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides necessary definitions to handle simple (i.e without -- entries) protected objects. -- All the routines that handle protected objects with entries have been moved -- to two children: Entries and Operations. Note that Entries only contains -- the type declaration and the OO primitives. This is needed to avoid -- circular dependency. -- This package is part of the high level tasking interface used by the -- compiler to expand Ada 95 tasking constructs into simpler run time calls -- (aka GNARLI, GNU Ada Run-time Library Interface) -- Note: the compiler generates direct calls to this interface, via Rtsfind. -- Any changes to this interface may require corresponding compiler changes -- in exp_ch9.adb and possibly exp_ch7.adb and exp_attr.adb package System.Tasking.Protected_Objects is pragma Elaborate_Body; --------------------------------- -- Compiler Interface (GNARLI) -- --------------------------------- -- The compiler will expand in the GNAT tree the following construct: -- protected PO is -- procedure P; -- private -- open : boolean := false; -- end PO; -- protected body PO is -- procedure P is -- ...variable declarations... -- begin -- ...B... -- end P; -- end PO; -- as follows: -- protected type poT is -- procedure p; -- private -- open : boolean := false; -- end poT; -- type poTV is limited record -- open : boolean := false; -- _object : aliased protection; -- end record; -- procedure poPT__pN (_object : in out poTV); -- procedure poPT__pP (_object : in out poTV); -- freeze poTV [ -- procedure poTVI (_init : in out poTV) is -- begin -- _init.open := false; -- object-init-proc (_init._object); -- initialize_protection (_init._object'unchecked_access, -- unspecified_priority); -- return; -- end _init_proc; -- ] -- po : poT; -- poTVI (poTV!(po)); -- procedure poPT__pN (_object : in out poTV) is -- poR : protection renames _object._object; -- openP : boolean renames _object.open; -- ...variable declarations... -- begin -- ...B... -- return; -- end poPT__pN; -- procedure poPT__pP (_object : in out poTV) is -- procedure _clean is -- begin -- unlock (_object._object'unchecked_access); -- return; -- end _clean; -- begin -- lock (_object._object'unchecked_access); -- B2b : begin -- poPT__pN (_object); -- at end -- _clean; -- end B2b; -- return; -- end poPT__pP; Null_Protected_Entry : constant := Null_Entry; Max_Protected_Entry : constant := Max_Entry; type Protected_Entry_Index is new Entry_Index range Null_Protected_Entry .. Max_Protected_Entry; type Barrier_Function_Pointer is access function (O : System.Address; E : Protected_Entry_Index) return Boolean; -- Pointer to a function which evaluates the barrier of a protected -- entry body. O is a pointer to the compiler-generated record -- representing the protected object, and E is the index of the -- entry serviced by the body. type Entry_Action_Pointer is access procedure (O : System.Address; P : System.Address; E : Protected_Entry_Index); -- Pointer to a procedure which executes the sequence of statements -- of a protected entry body. O is a pointer to the compiler-generated -- record representing the protected object, P is a pointer to the -- record of entry parameters, and E is the index of the -- entry serviced by the body. type Entry_Body is record Barrier : Barrier_Function_Pointer; Action : Entry_Action_Pointer; end record; -- The compiler-generated code passes objects of this type to the GNARL -- to allow it to access the executable code of an entry body. type Entry_Body_Access is access all Entry_Body; type Protection is limited private; -- This type contains the GNARL state of a protected object. The -- application-defined portion of the state (i.e. private objects) -- is maintained by the compiler-generated code. -- Note that there are now 2 Protection types. One for the simple -- case (no entries) and one for the general case that needs the whole -- Finalization mechanism. -- This split helps in the case of restricted run time where we want to -- minimize the size of the code. type Protection_Access is access all Protection; Null_PO : constant Protection_Access := null; function Get_Ceiling (Object : Protection_Access) return System.Any_Priority; -- Returns the new ceiling priority of the protected object procedure Initialize_Protection (Object : Protection_Access; Ceiling_Priority : Integer); -- Initialize the Object parameter so that it can be used by the runtime -- to keep track of the runtime state of a protected object. procedure Lock (Object : Protection_Access); -- Lock a protected object for write access. Upon return, the caller -- owns the lock to this object, and no other call to Lock or -- Lock_Read_Only with the same argument will return until the -- corresponding call to Unlock has been made by the caller. procedure Lock_Read_Only (Object : Protection_Access); -- Lock a protected object for read access. Upon return, the caller -- owns the lock for read access, and no other calls to Lock with the -- same argument will return until the corresponding call to Unlock -- has been made by the caller. Other calls to Lock_Read_Only may (but -- need not) return before the call to Unlock, and the corresponding -- callers will also own the lock for read access. procedure Set_Ceiling (Object : Protection_Access; Prio : System.Any_Priority); -- Sets the new ceiling priority of the protected object procedure Unlock (Object : Protection_Access); -- Relinquish ownership of the lock for the object represented by -- the Object parameter. If this ownership was for write access, or -- if it was for read access where there are no other read access -- locks outstanding, one (or more, in the case of Lock_Read_Only) -- of the tasks waiting on this lock (if any) will be given the -- lock and allowed to return from the Lock or Lock_Read_Only call. private type Protection is record L : aliased Task_Primitives.Lock; -- Lock used to ensure mutual exclusive access to the protected object Ceiling : System.Any_Priority; -- Ceiling priority associated to the protected object New_Ceiling : System.Any_Priority; -- New ceiling priority associated to the protected object. In case -- of assignment of a new ceiling priority to the protected object the -- frontend generates a call to set_ceiling to save the new value in -- this field. After such assignment this value can be read by means -- of the 'Priority attribute, which generates a call to get_ceiling. -- However, the ceiling of the protected object will not be changed -- until completion of the protected action in which the assignment -- has been executed (AARM D.5.2 (10/2)). Owner : Task_Id; -- This field contains the protected object's owner. Null_Task -- indicates that the protected object is not currently being used. -- This information is used for detecting the type of potentially -- blocking operations described in the ARM 9.5.1, par. 15 (external -- calls on a protected subprogram with the same target object as that -- of the protected action). end record; procedure Finalize_Protection (Object : in out Protection); -- Clean up a Protection object (in particular, finalize the associated -- Lock object). The compiler generates calls automatically to this -- procedure end System.Tasking.Protected_Objects;
43.423868
79
0.587377
df1dc6af368ed8b46a7ccc27eda8f68966dd60c7
8,904
adb
Ada
arch/ARM/Nordic/drivers/nrf51-spi_master.adb
WickedShell/Ada_Drivers_Library
391866ad37a599347df40a4dbb3bf0721bedabea
[ "BSD-3-Clause" ]
6
2017-05-28T04:37:11.000Z
2020-11-22T11:26:19.000Z
arch/ARM/Nordic/drivers/nrf51-spi_master.adb
WickedShell/Ada_Drivers_Library
391866ad37a599347df40a4dbb3bf0721bedabea
[ "BSD-3-Clause" ]
2
2019-08-30T10:57:40.000Z
2020-02-11T21:34:14.000Z
arch/ARM/Nordic/drivers/nrf51-spi_master.adb
WickedShell/Ada_Drivers_Library
391866ad37a599347df40a4dbb3bf0721bedabea
[ "BSD-3-Clause" ]
2
2017-02-07T19:42:02.000Z
2020-11-22T11:26:20.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with NRF51_SVD.SPI; use NRF51_SVD.SPI; package body nRF51.SPI_Master is procedure Transfer (This : in out SPI_Master; Data_Out : UInt8; Data_In : out UInt8) with Inline_Always; -- Send and receive one byte of data -------------- -- Transfer -- -------------- procedure Transfer (This : in out SPI_Master; Data_Out : UInt8; Data_In : out UInt8) is begin -- Set output byte This.Periph.TXD.TXD := Data_Out; -- Wait for the RX ready event while This.Periph.EVENTS_READY = 0 loop null; end loop; -- Get input data Data_In := This.Periph.RXD.RXD; -- Clear event This.Periph.EVENTS_READY := 0; end Transfer; ------------ -- Enable -- ------------ procedure Enable (This : in out SPI_Master) is begin This.Periph.ENABLE.ENABLE := Enabled; end Enable; ------------- -- Disable -- ------------- procedure Disable (This : in out SPI_Master) is begin This.Periph.ENABLE.ENABLE := Disabled; end Disable; ------------- -- Enabled -- ------------- function Enabled (This : SPI_Master) return Boolean is (This.Periph.ENABLE.ENABLE = Enabled); --------------- -- Configure -- --------------- procedure Configure (This : in out SPI_Master; SCK, MOSI, MISO : GPIO_Pin_Index; Speed : Clock_Speed; Bit_Order : Data_Bit_Order; Polarity : Clock_Polarity; Phase : Clock_Phase) is begin This.Periph.PSELSCK := UInt32 (SCK); This.Periph.PSELMOSI := UInt32 (MOSI); This.Periph.PSELMISO := UInt32 (MISO); This.Periph.FREQUENCY := (case Speed is when SPI_125kbps => 16#0200_0000#, when SPI_250kbps => 16#0400_0000#, when SPI_500kbps => 16#0800_0000#, when SPI_1Mbps => 16#1000_0000#, when SPI_2Mbps => 16#2000_0000#, when SPI_4Mbps => 16#4000_0000#, when SPI_8Mbps => 16#8000_0000#); This.Periph.CONFIG.ORDER := (case Bit_Order is when Most_Significant_First => Msbfirst, when Least_Significant_First => Lsbfirst); This.Periph.CONFIG.CPHA := (case Phase is when Sample_Leading_Edge => Leading, when Sample_Trailing_Edge => Trailing); This.Periph.CONFIG.CPOL := (case Polarity is when Active_High => Activehigh, when Active_Low => Activelow); end Configure; ---------------- -- Disconnect -- ---------------- procedure Disconnect (This : in out SPI_Master) is begin This.Periph.PSELSCK := UInt32'Last; This.Periph.PSELMOSI := UInt32'Last; This.Periph.PSELMISO := UInt32'Last; end Disconnect; --------------- -- Data_Size -- --------------- overriding function Data_Size (This : SPI_Master) return SPI_Data_Size is (HAL.SPI.Data_Size_8b); -------------- -- Transmit -- -------------- overriding procedure Transmit (This : in out SPI_Master; Data : SPI_Data_8b; Status : out SPI_Status; Timeout : Natural := 1000) is pragma Unreferenced (Timeout); Unused : UInt8; begin -- Clear any previous event This.Periph.EVENTS_READY := 0; for Elt of Data loop Transfer (This, Data_Out => Elt, Data_In => Unused); end loop; Status := HAL.SPI.Ok; end Transmit; -------------- -- Transmit -- -------------- overriding procedure Transmit (This : in out SPI_Master; Data : SPI_Data_16b; Status : out SPI_Status; Timeout : Natural := 1000) is pragma Unreferenced (Timeout); Unused : UInt8; begin -- Clear any previous event This.Periph.EVENTS_READY := 0; if This.Periph.CONFIG.ORDER = Msbfirst then for Elt of Data loop Transfer (This, Data_Out => UInt8 (Shift_Left (Elt, 8)), Data_In => Unused); Transfer (This, Data_Out => UInt8 (Elt and 16#FF#), Data_In => Unused); end loop; else for Elt of Data loop Transfer (This, Data_Out => UInt8 (Elt and 16#FF#), Data_In => Unused); Transfer (This, Data_Out => UInt8 (Shift_Left (Elt, 8)), Data_In => Unused); end loop; end if; Status := HAL.SPI.Ok; end Transmit; ------------- -- Receive -- ------------- overriding procedure Receive (This : in out SPI_Master; Data : out SPI_Data_8b; Status : out SPI_Status; Timeout : Natural := 1000) is pragma Unreferenced (Timeout); begin -- Clear any previous event This.Periph.EVENTS_READY := 0; for Elt of Data loop Transfer (This, Data_Out => 0, Data_In => Elt); end loop; Status := HAL.SPI.Ok; end Receive; ------------- -- Receive -- ------------- overriding procedure Receive (This : in out SPI_Master; Data : out SPI_Data_16b; Status : out SPI_Status; Timeout : Natural := 1000) is pragma Unreferenced (Timeout); Byte : UInt8; begin -- Clear any previous event This.Periph.EVENTS_READY := 0; if This.Periph.CONFIG.ORDER = Msbfirst then for Elt of Data loop Transfer (This, Data_Out => 0, Data_In => Byte); Elt := Shift_Left (UInt16 (Byte), 8); Transfer (This, Data_Out => 0, Data_In => Byte); Elt := Elt or UInt16 (Byte); end loop; else for Elt of Data loop Transfer (This, Data_Out => 0, Data_In => Byte); Elt := Elt or UInt16 (Byte); Transfer (This, Data_Out => 0, Data_In => Byte); Elt := Shift_Left (UInt16 (Byte), 8); end loop; end if; Status := HAL.SPI.Ok; end Receive; end nRF51.SPI_Master;
32.378182
80
0.497417
2340d48fb231b1a480c5da71068c7af660a903c8
3,227
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/s-pack45.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/s-pack45.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/s-pack45.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 4 5 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 45 package System.Pack_45 is pragma Preelaborate; Bits : constant := 45; type Bits_45 is mod 2 ** Bits; for Bits_45'Size use Bits; -- In all subprograms below, Rev_SSO is set True if the array has the -- non-default scalar storage order. function Get_45 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_45 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_45 (Arr : System.Address; N : Natural; E : Bits_45; Rev_SSO : Boolean) with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. end System.Pack_45;
52.901639
78
0.439727
df1fec9f6183ce9f4391d81a7dcc90eaac9ff24e
499
ads
Ada
gyak/gyak1-2/mat.ads
balintsoos/LearnAda
9d2fc76209f6e15b4fa91b4b39107ae6cc7e7114
[ "MIT" ]
null
null
null
gyak/gyak1-2/mat.ads
balintsoos/LearnAda
9d2fc76209f6e15b4fa91b4b39107ae6cc7e7114
[ "MIT" ]
null
null
null
gyak/gyak1-2/mat.ads
balintsoos/LearnAda
9d2fc76209f6e15b4fa91b4b39107ae6cc7e7114
[ "MIT" ]
1
2021-07-16T16:15:11.000Z
2021-07-16T16:15:11.000Z
package Mat is function Lnko ( A, B : Positive ) return Positive; function Faktorialis( N: Natural ) return Positive; function Max2( A, B : Natural ) return Natural; function Max3( A, B, C : Natural ) return Natural; function isEven( N : Natural ) return Boolean; function signof( N : Integer ) return Integer; function powerof( X, N : Integer ) return Integer; function factorial( N : Natural ) return Natural; function digitSum( N : Natural ) return Natural; end Mat;
35.642857
54
0.693387
2010df27fcbcf1221da8543d234c5b46d32e4449
657
ada
Ada
examples/Ada/mtserver.ada
dcramer/zguide
a07fe97c4c597e6401b4281ae07c3a156590f4c6
[ "Zed", "X11", "MIT" ]
2
2015-09-24T19:53:04.000Z
2015-11-06T10:22:53.000Z
examples/Ada/mtserver.ada
gaubert/zguide
e24c02481c47b129a37f261d1109140572f255f4
[ "Zed", "X11", "MIT" ]
null
null
null
examples/Ada/mtserver.ada
gaubert/zguide
e24c02481c47b129a37f261d1109140572f255f4
[ "Zed", "X11", "MIT" ]
null
null
null
No-one has translated the mtserver example into Ada yet. Be the first to create mtserver in Ada and get one free Internet! If you're the author of the Ada binding, this is a great way to get people to use 0MQ in Ada. To submit a new translation email it to [email protected]. Please: * Stick to identical functionality and naming used in examples so that readers can easily compare languages. * You MUST place your name as author in the examples so readers can contact you. * You MUST state in the email that you license your code under the MIT/X11 license. Subscribe to this list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev.
46.928571
80
0.776256
0e2f89f1639b20f13ad0dbbf6b50ce1844369375
1,658
ads
Ada
tier-1/xcb/source/thin/xcb-xcb_ge_generic_event_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
2
2015-11-12T11:16:20.000Z
2021-08-24T22:32:04.000Z
tier-1/xcb/source/thin/xcb-xcb_ge_generic_event_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
1
2018-06-05T05:19:35.000Z
2021-11-20T01:13:23.000Z
tier-1/xcb/source/thin/xcb-xcb_ge_generic_event_t.ads
charlie5/cBound
741be08197a61ad9c72553e3302f3b669902216d
[ "0BSD" ]
null
null
null
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with swig; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_ge_generic_event_t is -- Item -- type Item is record response_type : aliased Interfaces.Unsigned_8; extension : aliased Interfaces.Unsigned_8; sequence : aliased Interfaces.Unsigned_16; length : aliased Interfaces.Unsigned_32; event_type : aliased Interfaces.Unsigned_16; pad0 : aliased swig.int8_t_Array (0 .. 21); full_sequence : aliased Interfaces.Unsigned_32; end record; -- Item_Array -- type Item_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_ge_generic_event_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_ge_generic_event_t.Item, Element_Array => xcb.xcb_ge_generic_event_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_ge_generic_event_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_ge_generic_event_t.Pointer, Element_Array => xcb.xcb_ge_generic_event_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_ge_generic_event_t;
28.586207
75
0.665259
102e6351d6c4392aabde31844384b9ed8abd98fd
148
adb
Ada
Sources/Globe_3d/gl/gl-materials.adb
ForYouEyesOnly/Space-Convoy
be4904f6a02695f7c4c5c3c965f4871cd3250003
[ "MIT" ]
1
2019-09-21T09:40:34.000Z
2019-09-21T09:40:34.000Z
Sources/Globe_3d/gl/gl-materials.adb
ForYouEyesOnly/Space-Convoy
be4904f6a02695f7c4c5c3c965f4871cd3250003
[ "MIT" ]
null
null
null
Sources/Globe_3d/gl/gl-materials.adb
ForYouEyesOnly/Space-Convoy
be4904f6a02695f7c4c5c3c965f4871cd3250003
[ "MIT" ]
1
2019-09-25T12:29:27.000Z
2019-09-25T12:29:27.000Z
package body GL.Materials is function is_Transparent (Self : Material_type) return Boolean is (Self.diffuse (3) < 1.0); end GL.Materials;
24.666667
94
0.716216
1012e699d249678e2de5dc20bbc66c9906827f0c
4,809
adb
Ada
src/tk/tk-image-bitmap.adb
thindil/tashy2
43fcbadb33c0062b2c8d6138a8238441dec5fd80
[ "Apache-2.0" ]
2
2020-12-09T07:27:07.000Z
2021-10-19T13:31:54.000Z
src/tk/tk-image-bitmap.adb
thindil/tashy2
43fcbadb33c0062b2c8d6138a8238441dec5fd80
[ "Apache-2.0" ]
null
null
null
src/tk/tk-image-bitmap.adb
thindil/tashy2
43fcbadb33c0062b2c8d6138a8238441dec5fd80
[ "Apache-2.0" ]
null
null
null
-- Copyright (c) 2021 Bartek thindil Jasicki <[email protected]> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. with Ada.Strings.Unbounded; with Tk.Widget; package body Tk.Image.Bitmap is function Options_To_String(Options: Bitmap_Options) return String is use Ada.Strings.Unbounded; use Tk.Widget; Options_String: Unbounded_String := Null_Unbounded_String; begin Option_Image (Name => "data", Value => Options.Data, Options_String => Options_String); Option_Image (Name => "file", Value => Options.File, Options_String => Options_String); Option_Image (Name => "background", Value => Options.Background, Options_String => Options_String); Option_Image (Name => "foreground", Value => Options.Foreground, Options_String => Options_String); Option_Image (Name => "maskdata", Value => Options.Mask_Data, Options_String => Options_String); Option_Image (Name => "maskfile", Value => Options.Mask_File, Options_String => Options_String); return To_String(Source => Options_String); end Options_To_String; procedure Create (Bitmap_Image: Tk_Image; Options: Bitmap_Options; Interpreter: Tcl_Interpreter := Get_Interpreter) is begin Tcl_Eval (Tcl_Script => "image create bitmap " & Bitmap_Image & Options_To_String(Options => Options), Interpreter => Interpreter); end Create; function Create (Options: Bitmap_Options; Interpreter: Tcl_Interpreter := Get_Interpreter) return Tk_Image is begin return Tcl_Eval (Tcl_Script => "image create bitmap" & Options_To_String(Options => Options), Interpreter => Interpreter) .Result; end Create; procedure Configure (Bitmap_Image: Tk_Image; Options: Bitmap_Options; Interpreter: Tcl_Interpreter := Get_Interpreter) is begin Tcl_Eval (Tcl_Script => Bitmap_Image & " configure " & Options_To_String(Options => Options), Interpreter => Interpreter); end Configure; function Get_Option (Bitmap_Image: Tk_Image; Name: String; Interpreter: Tcl_Interpreter := Get_Interpreter) return String is Result_List: constant Array_List := Split_List (List => Tcl_Eval (Tcl_Script => Bitmap_Image & " configure -" & Name, Interpreter => Interpreter) .Result, Interpreter => Interpreter); begin return To_Ada_String(Source => Result_List(Result_List'Last)); end Get_Option; function Get_Options (Bitmap_Image: Tk_Image; Interpreter: Tcl_Interpreter := Get_Interpreter) return Bitmap_Options is begin return Options: Bitmap_Options := Default_Bitmap_Options do Options.Data := To_Tcl_String (Source => Get_Option (Bitmap_Image => Bitmap_Image, Name => "data", Interpreter => Interpreter)); Options.File := To_Tcl_String (Source => Get_Option (Bitmap_Image => Bitmap_Image, Name => "file", Interpreter => Interpreter)); Options.Background := To_Tcl_String (Source => Get_Option (Bitmap_Image => Bitmap_Image, Name => "background", Interpreter => Interpreter)); Options.Foreground := To_Tcl_String (Source => Get_Option (Bitmap_Image => Bitmap_Image, Name => "foreground", Interpreter => Interpreter)); Options.Mask_Data := To_Tcl_String (Source => Get_Option (Bitmap_Image => Bitmap_Image, Name => "maskdata", Interpreter => Interpreter)); Options.Mask_File := To_Tcl_String (Source => Get_Option (Bitmap_Image => Bitmap_Image, Name => "maskfile", Interpreter => Interpreter)); end return; end Get_Options; end Tk.Image.Bitmap;
34.106383
79
0.602412
2004164d265052cdc1ada67fa9331d7806c79779
3,406
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95085g.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95085g.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95085g.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C95085G.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT CONSTRAINT_ERROR IS RAISED UNDER THE APPROPRIATE -- CIRCUMSTANCES FOR ACCESS PARAMETERS IN ENTRY CALLS, NAMELY WHEN -- THE ACTUAL INDEX BOUNDS OR DISCRIMINANTS ARE NOT EQUAL -- TO THE FORMAL CONSTRAINTS BEFORE THE CALL (FOR IN AND IN OUT -- MODES), AND WHEN THE FORMAL CONSTRAINTS ARE NOT EQUAL TO THE -- ACTUAL CONSTRAINTS UPON RETURN (FOR IN OUT AND OUT MODES). -- (D) BEFORE CALL, IN OUT MODE, DYNAMIC RECORD DISCRIMINANTS. -- JWC 10/23/85 WITH REPORT; USE REPORT; PROCEDURE C95085G IS BEGIN TEST ("C95085G", "CHECK THAT CONSTRAINT_ERROR IS RAISED " & "APPROPRIATELY FOR ACCESS PARAMETERS"); -------------------------------------------------- DECLARE SUBTYPE INT IS INTEGER RANGE 0..10; TYPE T (C : CHARACTER := 'A'; B : BOOLEAN := FALSE; I : INT := 0) IS RECORD J : INTEGER; CASE B IS WHEN FALSE => K : INTEGER; WHEN TRUE => S : STRING (1 .. I); END CASE; END RECORD; TYPE A IS ACCESS T; SUBTYPE SA IS A ('Z', TRUE, 5); V : A := NEW T ('Z', IDENT_BOOL(FALSE), 5); TASK TSK IS ENTRY E (X : IN OUT SA); END TSK; TASK BODY TSK IS BEGIN SELECT ACCEPT E (X : IN OUT SA) DO FAILED ("EXCEPTION NOT RAISED ON CALL"); END E; OR TERMINATE; END SELECT; EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED IN TASK BODY"); END TSK; BEGIN TSK.E (V); FAILED ("EXCEPTION NOT RAISED BEFORE CALL"); EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED"); END; -------------------------------------------------- RESULT; END C95085G;
34.40404
79
0.5367
4adf04b7cfbf0323ae5ebe13320913b5ebee6725
4,979
ads
Ada
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_db.ads
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_db.ads
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_db.ads
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
package ARM_Database is -- -- Ada reference manual formatter (ARM_Form). -- -- This package contains the database to store items for non-normative -- appendixes. -- -- --------------------------------------- -- Copyright 2000, 2004, 2005, 2006, 2011 -- AXE Consultants. All rights reserved. -- P.O. Box 1512, Madison WI 53701 -- E-Mail: [email protected] -- -- ARM_Form is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License version 3 -- as published by the Free Software Foundation. -- -- AXE CONSULTANTS MAKES THIS TOOL AND SOURCE CODE AVAILABLE ON AN "AS IS" -- BASIS AND MAKES NO WARRANTY, EXPRESS OR IMPLIED, AS TO THE ACCURACY, -- CAPABILITY, EFFICIENCY, MERCHANTABILITY, OR FUNCTIONING OF THIS TOOL. -- IN NO EVENT WILL AXE CONSULTANTS BE LIABLE FOR ANY GENERAL, -- CONSEQUENTIAL, INDIRECT, INCIDENTAL, EXEMPLARY, OR SPECIAL DAMAGES, -- EVEN IF AXE CONSULTANTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -- DAMAGES. -- -- A copy of the GNU General Public License is available in the file -- gpl-3-0.txt in the standard distribution of the ARM_Form tool. -- Otherwise, see <http://www.gnu.org/licenses/>. -- -- If the GPLv3 license is not satisfactory for your needs, a commercial -- use license is available for this tool. Contact Randy at AXE Consultants -- for more information. -- -- --------------------------------------- -- -- Edit History: -- -- 5/16/00 - RLB - Created package. -- 8/10/00 - RLB - Added Normal_Indexed_List to fix glossary problems. -- 8/28/00 - RLB - Added revision info to database. -- 10/28/04 - RLB - Added Inserted_Normal_Number change kind. -- 11/02/04 - RLB - Added Deleted_Inserted_Number change kind. -- 12/06/04 - RLB - Added Revised_Inserted_Number change kind. -- 1/19/05 - RLB - Added Added_Version. -- 2/15/06 - RLB - Added Deleted_No_Delete_Message and -- Deleted_Inserted_Number_No_Delete_Message change kinds. -- 10/18/06 - RLB - Added No_Deleted_Paragraph_Messages to Report. -- 10/18/11 - RLB - Changed to GPLv3 license. -- 10/20/11 - RLB - Added Initial_Version parameter. type Database_Type is tagged limited private; type Paragraph_Change_Kind_Type is (None, Inserted, Inserted_Normal_Number, Deleted, Deleted_Inserted_Number, Deleted_No_Delete_Message, Deleted_Inserted_Number_No_Delete_Message, Revised, Revised_Inserted_Number); Not_Valid_Error : exception; procedure Create (Database_Object : in out Database_Type); -- Initialize a database object. procedure Destroy (Database_Object : in out Database_Type); -- Destroy a database object, freeing any resources used. procedure Insert (Database_Object : in out Database_Type; Sort_Key : in String; Hang_Item : in String; Text : in String; Change_Kind : in Paragraph_Change_Kind_Type := ARM_Database.None; Version : in Character := '0'; Initial_Version : in Character := '0'); -- Insert an item into the database object. -- Sort_Key is the string on which this item will be sorted (if it -- is sorted). Hang_Item is the item which hangs out for the item -- in the report (if any). Text is the text for the item; the text -- may include formatting codes. Change_Kind and Version are the -- revision status for this item. Initial_Version is the version of -- the initial text for this item. type Format_Type is (Normal_List, Normal_Indexed_List, Bullet_List, Hanging_List); generic with procedure Format_Text (Text : in String; Text_Name : in String); procedure Report (Database_Object : in out Database_Type; In_Format : in Format_Type; Sorted : in Boolean; Added_Version : Character := '0'; No_Deleted_Paragraph_Messages : in Boolean := False); -- Output the items with the appropriate format to the -- "Format_Text" routine. "Format_Text" allows all commands -- for the full formatter. (Text_Name is an identifying name -- for error messages). This is an added list for Added_Version -- ('0' meaning it is not added); in that case, use normal numbers -- for items with a version less than or equal to Added_Version. -- (This is intended to be used to output the items to -- appropriate Format and Output objects; but we can't do that -- directly because that would make this unit recursive with -- ARM_Format. -- No paragraphs will be have deleted paragraph messages if -- No_Deleted_Paragraph_Messages is True. private type Item; type Item_List is access all Item; type Database_Type is tagged limited record Is_Valid : Boolean := False; List : Item_List; Item_Count : Natural; end record; end ARM_Database;
41.840336
80
0.672625
10671bf985bba67a1fb5e343aa6282539f258bba
169
ads
Ada
ada/rts/boards/i386/adainclude/last_chance_handler.ads
Schol-R-LEA/sarcos
5a9982766602ec1f4ef1e338682589eb5f343575
[ "Unlicense" ]
null
null
null
ada/rts/boards/i386/adainclude/last_chance_handler.ads
Schol-R-LEA/sarcos
5a9982766602ec1f4ef1e338682589eb5f343575
[ "Unlicense" ]
null
null
null
ada/rts/boards/i386/adainclude/last_chance_handler.ads
Schol-R-LEA/sarcos
5a9982766602ec1f4ef1e338682589eb5f343575
[ "Unlicense" ]
null
null
null
with System; procedure Last_Chance_Handler (Source_Location : System.Address; Line : Integer); pragma Export (C, Last_Chance_Handler, "__gnat_last_chance_handler");
28.166667
69
0.798817
4a934f5881cc10c2e3b25646bef1999c970daff3
1,416
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/s3.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/s3.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/s3.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } with Init3; use Init3; with Text_IO; use Text_IO; with Dump; procedure S3 is A1 : R1 := My_R1; A2 : R2 := My_R2; N1 : Nested1; N2 : Nested2; C1 : Init3.Count; C2 : Init3.Count; C3 : Init3.Count; begin Put ("A1 :"); Dump (A1'Address, R1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A1 : e2 59 d1 48 b4 aa d9 bb.*\n" } Put ("A2 :"); Dump (A2'Address, R1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A2 : 84 8d 15 9e 15 5b 35 df.*\n" } N1 := A1.N; C1 := N1.C1; C2 := N1.C2; C3 := N1.C3; Put_Line("C1 :" & C1'Img); -- { dg-output "C1 : 171.*\n" } Put_Line("C2 :" & C2'Img); -- { dg-output "C2 : 205.*\n" } Put_Line("C3 :" & C3'Img); -- { dg-output "C3 : 239.*\n" } N1.C1 := C1; N1.C2 := C2; N1.C3 := C3; A1.N := N1; N2 := A2.N; C1 := N2.C1; C2 := N2.C2; C3 := N2.C3; Put_Line("C1 :" & C1'Img); -- { dg-output "C1 : 171.*\n" } Put_Line("C2 :" & C2'Img); -- { dg-output "C2 : 205.*\n" } Put_Line("C3 :" & C3'Img); -- { dg-output "C3 : 239.*\n" } N2.C1 := C1; N2.C2 := C2; N2.C3 := C3; A2.N := N2; Put ("A1 :"); Dump (A1'Address, R1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A1 : e2 59 d1 48 b4 aa d9 bb.*\n" } Put ("A2 :"); Dump (A2'Address, R1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "A2 : 84 8d 15 9e 15 5b 35 df.*\n" } end;
17.7
53
0.525424
c5a163c210680d4db5f179e70cf14cc9f96025d1
3,349
ads
Ada
msp430x2/msp430g2553/svd/msp430_svd.ads
ekoeppen/MSP430_Generic_Ada_Drivers
12b8238ea22dbb0c0c6c63ca46bfa7e2cb80334a
[ "MIT" ]
null
null
null
msp430x2/msp430g2553/svd/msp430_svd.ads
ekoeppen/MSP430_Generic_Ada_Drivers
12b8238ea22dbb0c0c6c63ca46bfa7e2cb80334a
[ "MIT" ]
null
null
null
msp430x2/msp430g2553/svd/msp430_svd.ads
ekoeppen/MSP430_Generic_Ada_Drivers
12b8238ea22dbb0c0c6c63ca46bfa7e2cb80334a
[ "MIT" ]
null
null
null
-- This spec has been automatically generated from msp430g2553.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with Interfaces; use Interfaces; with System; package MSP430_SVD is pragma Preelaborate; --------------- -- Base type -- --------------- type UInt32 is new Interfaces.Unsigned_32; type UInt16 is new Interfaces.Unsigned_16; type Byte is new Interfaces.Unsigned_8; type Bit is mod 2**1 with Size => 1; type UInt2 is mod 2**2 with Size => 2; type UInt3 is mod 2**3 with Size => 3; type UInt4 is mod 2**4 with Size => 4; type UInt5 is mod 2**5 with Size => 5; type UInt6 is mod 2**6 with Size => 6; type UInt7 is mod 2**7 with Size => 7; type UInt8 is mod 2**8 with Size => 8; type UInt9 is mod 2**9 with Size => 9; type UInt10 is mod 2**10 with Size => 10; type UInt11 is mod 2**11 with Size => 11; type UInt12 is mod 2**12 with Size => 12; type UInt13 is mod 2**13 with Size => 13; type UInt14 is mod 2**14 with Size => 14; type UInt15 is mod 2**15 with Size => 15; type UInt17 is mod 2**17 with Size => 17; type UInt18 is mod 2**18 with Size => 18; type UInt19 is mod 2**19 with Size => 19; type UInt20 is mod 2**20 with Size => 20; type UInt21 is mod 2**21 with Size => 21; type UInt22 is mod 2**22 with Size => 22; type UInt23 is mod 2**23 with Size => 23; type UInt24 is mod 2**24 with Size => 24; type UInt25 is mod 2**25 with Size => 25; type UInt26 is mod 2**26 with Size => 26; type UInt27 is mod 2**27 with Size => 27; type UInt28 is mod 2**28 with Size => 28; type UInt29 is mod 2**29 with Size => 29; type UInt30 is mod 2**30 with Size => 30; type UInt31 is mod 2**31 with Size => 31; -------------------- -- Base addresses -- -------------------- SPECIAL_FUNCTION_Base : constant System.Address := System'To_Address (16#0#); PORT_3_4_Base : constant System.Address := System'To_Address (16#10#); PORT_1_2_Base : constant System.Address := System'To_Address (16#20#); ADC10_Base : constant System.Address := System'To_Address (16#48#); SYSTEM_CLOCK_Base : constant System.Address := System'To_Address (16#52#); COMPARATOR_A_Base : constant System.Address := System'To_Address (16#58#); USCI_A0_UART_MODE_Base : constant System.Address := System'To_Address (16#5C#); USCI_A0_SPI_MODE_Base : constant System.Address := System'To_Address (16#60#); USCI_B0_I2C_MODE_Base : constant System.Address := System'To_Address (16#68#); USCI_B0_SPI_MODE_Base : constant System.Address := System'To_Address (16#68#); TLV_CALIBRATION_DATA_Base : constant System.Address := System'To_Address (16#10C0#); CALIBRATION_DATA_Base : constant System.Address := System'To_Address (16#10F8#); TIMER_1_A3_Base : constant System.Address := System'To_Address (16#11E#); WATCHDOG_TIMER_Base : constant System.Address := System'To_Address (16#120#); FLASH_Base : constant System.Address := System'To_Address (16#128#); TIMER_0_A3_Base : constant System.Address := System'To_Address (16#12E#); INTERRUPTS_Base : constant System.Address := System'To_Address (16#FFE0#); end MSP430_SVD;
32.201923
87
0.642878
20799311016a85d52f0550c98aae98d6c1629247
258
adb
Ada
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/nullptr.adb
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/nullptr.adb
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/nullptr.adb
LaudateCorpus1/rose-1
5fe906d2a01253130c5de465aded6a917a8476a0
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
procedure Nullptr is type PInt is access Integer; procedure SetZero(pi : PInt) is begin if pi = null then return; end if; pi.all := 0; end SetZero; x : PInt := null; begin x := new Integer'(1); SetZero(x); end Nullptr;
12.285714
33
0.593023
d0884c4d4110df5cf981ffb70d4f105d3d882996
2,338
adb
Ada
Des_Ada/src/concrete_handler/p_stephandler-outputhandler.adb
VMika/Des_Ada
fcadb38aa9118e668329c3443d3b6e4c83456acc
[ "MIT" ]
null
null
null
Des_Ada/src/concrete_handler/p_stephandler-outputhandler.adb
VMika/Des_Ada
fcadb38aa9118e668329c3443d3b6e4c83456acc
[ "MIT" ]
null
null
null
Des_Ada/src/concrete_handler/p_stephandler-outputhandler.adb
VMika/Des_Ada
fcadb38aa9118e668329c3443d3b6e4c83456acc
[ "MIT" ]
null
null
null
with P_StructuralTypes; use P_StructuralTypes; with Ada.Integer_Text_IO; with Ada.Sequential_IO; with Ada.Strings.Unbounded.Text_IO; with Ada.Text_IO; package body P_StepHandler.OutputHandler is ------------------------------------------------------------------------- ------------------------- CONSTRUCTOR ----------------------------------- ------------------------------------------------------------------------- function Make (Self : in out OutputHandler) return OutputHandler is begin Self.Ptr_BinaryContainer := null; Self.NextHandler := null; return Self; end; --------------------------------------------------------------- --- HANDLE PROCEDURE : OVERRIDEN FROM PARENT ABSTRACT CLASS --- --------------------------------------------------------------- overriding procedure Handle (Self : in out OutputHandler) is package Char_IO is new Ada.Sequential_IO (Character); use Char_IO; Output : File_Type; Byte : T_Byte; CharCode : Integer; begin ------------------------------------------------------------------------- -- This handler has two tasks : -- => Loop through the coded data in the binary container -- => Convert these blocks into character before inserting them into the -- output file ------------------------------------------------------------------------- Create (Output, Out_File, To_String(Self.Output_Name)); for i in Self.Ptr_BinaryContainer.all'Range loop for j in 1..8 loop Byte := Self.Ptr_BinaryContainer.all(i)(8*(j-1)+1..8*j); CharCode := Byte_To_CharacterCode(Byte); Write (Output,Character'Val(CharCode)); end loop; end loop; Close (Output); if Self.NextHandler /= null then Self.NextHandler.Handle; end if; end Handle; procedure Set_PaddingBitNumber (Self : in out OutputHandler ; Number : in Integer) is begin Self.PaddingBitNumber := Number; end; procedure Set_Output_Name (Self : in out OutputHandler; Name : Unbounded_String) is begin Self.Output_Name := Name; end; end P_StepHandler.OutputHandler;
31.173333
79
0.484175
cba7b9ded310242b131335158302d18a728c6e7c
4,775
ads
Ada
tools/scitools/conf/understand/ada/ada95/a-ststio.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada95/a-ststio.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada95/a-ststio.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- A D A . S T R E A M S . S T R E A M _ I O -- -- -- -- S p e c -- -- -- -- $Revision: 2 $ -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ with Text_IO; with Ada.IO_Exceptions; package Ada.Streams.Stream_IO is type Stream_Access is access Root_Stream_Type'Class; type File_Type is limited private; type File_Mode is (In_File, Out_File, Append_File); type Count is new Stream_Element_Offset; subtype Positive_Count is Count range 1 .. Count'Last; -- Index into file, in stream elements --------------------- -- File Management -- --------------------- procedure Create (File : in out File_Type; Mode : in File_Mode := Out_File; Name : in String := ""; Form : in String := ""); procedure Open (File : in out File_Type; Mode : in File_Mode; Name : in String; Form : in String := ""); procedure Close (File : in out File_Type); procedure Delete (File : in out File_Type); procedure Reset (File : in out File_Type; Mode : in File_Mode); procedure Reset (File : in out File_Type); function Mode (File : in File_Type) return File_Mode; function Name (File : in File_Type) return String; function Form (File : in File_Type) return String; function Is_Open (File : in File_Type) return Boolean; function End_Of_File (File : in File_Type) return Boolean; function Stream (File : in File_Type) return Stream_Access; ----------------------------- -- Input-Output Operations -- ----------------------------- procedure Read (File : in File_Type; Item : out Stream_Element_Array; Last : out Stream_Element_Offset; From : in Positive_Count); procedure Read (File : in File_Type; Item : out Stream_Element_Array; Last : out Stream_Element_Offset); procedure Write (File : in File_Type; Item : in Stream_Element_Array; To : in Positive_Count); procedure Write (File : in File_Type; Item : in Stream_Element_Array); ---------------------------------------- -- Operations on Position within File -- ---------------------------------------- procedure Set_Index (File : in File_Type; To : in Positive_Count); function Index (File : in File_Type) return Positive_Count; function Size (File : in File_Type) return Count; procedure Set_Mode (File : in out File_Type; Mode : in File_Mode); procedure Flush (File : in out File_Type); ---------------- -- Exceptions -- ---------------- Status_Error : exception renames IO_Exceptions.Status_Error; Mode_Error : exception renames IO_Exceptions.Mode_Error; Name_Error : exception renames IO_Exceptions.Name_Error; Use_Error : exception renames IO_Exceptions.Use_Error; Device_Error : exception renames IO_Exceptions.Device_Error; End_Error : exception renames IO_Exceptions.End_Error; Data_Error : exception renames IO_Exceptions.Data_Error; private type File_Type is new Text_IO.File_Type; -- Stream_IO is implemented using Text_IO -- Inline everything, since we just call corresponding Text_IO routines pragma Inline (Create); pragma Inline (Open); pragma Inline (Close); pragma Inline (Delete); pragma Inline (Reset); pragma Inline (Stream); pragma Inline (Mode); pragma Inline (Name); pragma Inline (Form); pragma Inline (Is_Open); pragma Inline (End_Of_File); pragma Inline (Read); pragma Inline (Write); pragma Inline (Set_Index); pragma Inline (Index); pragma Inline (Size); pragma Inline (Set_Mode); pragma Inline (Flush); end Ada.Streams.Stream_IO;
34.107143
78
0.534869
c5c270650a19c724f2747704db3c49603f8d5e86
5,878
ads
Ada
tools-src/gnu/gcc/gcc/ada/exp_ch3.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
tools-src/gnu/gcc/gcc/ada/exp_ch3.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
tools-src/gnu/gcc/gcc/ada/exp_ch3.ads
modern-tomato/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E X P _ C H 3 -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2001 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Expand routines for chapter 3 constructs with Types; use Types; with Elists; use Elists; package Exp_Ch3 is procedure Expand_N_Object_Declaration (N : Node_Id); procedure Expand_N_Subtype_Indication (N : Node_Id); procedure Expand_N_Variant_Part (N : Node_Id); procedure Expand_N_Full_Type_Declaration (N : Node_Id); procedure Expand_Previous_Access_Type (N : Node_Id; Def_Id : Entity_Id); -- For a full type declaration that contains tasks, or that is a task, -- check whether there exists an access type whose designated type is an -- incomplete declarations for the current composite type. If so, build -- the master for that access type, now that it is known to denote an -- object with tasks. procedure Expand_Derived_Record (T : Entity_Id; Def : Node_Id); -- Add a field _parent in the extension part of the record. procedure Build_Discr_Checking_Funcs (N : Node_Id); -- Builds function which checks whether the component name is consistent -- with the current discriminants. N is the full type declaration node, -- and the discriminant checking functions are inserted after this node. function Build_Initialization_Call (Loc : Source_Ptr; Id_Ref : Node_Id; Typ : Entity_Id; In_Init_Proc : Boolean := False; Enclos_Type : Entity_Id := Empty; Discr_Map : Elist_Id := New_Elmt_List) return List_Id; -- Builds a call to the initialization procedure of the Id entity. Id_Ref -- is either a new reference to Id (for record fields), or an indexed -- component (for array elements). Loc is the source location for the -- constructed tree, and Typ is the type of the entity (the initialization -- procedure of the base type is the procedure that actually gets called). -- In_Init_Proc has to be set to True when the call is itself in an Init -- procedure in order to enable the use of discriminals. Enclos_type is -- the type of the init_proc and it is used for various expansion cases -- including the case where Typ is a task type which is a array component, -- the indices of the enclosing type are used to build the string that -- identifies each task at runtime. -- -- Discr_Map is used to replace discriminants by their discriminals in -- expressions used to constrain record components. In the presence of -- entry families bounded by discriminants, protected type discriminants -- can appear within expressions in array bounds (not as stand-alone -- identifiers) and a general replacement is necessary. procedure Freeze_Type (N : Node_Id); -- This procedure executes the freezing actions associated with the given -- freeze type node N. function Needs_Simple_Initialization (T : Entity_Id) return Boolean; -- Certain types need initialization even though there is no specific -- initialization routine. In this category are access types (which -- need initializing to null), packed array types whose implementation -- is a modular type, and all scalar types if Normalize_Scalars is set, -- as well as private types whose underlying type is present and meets -- any of these criteria. Finally, descendants of String and Wide_String -- also need initialization in Initialize/Normalize_Scalars mode. function Get_Simple_Init_Val (T : Entity_Id; Loc : Source_Ptr) return Node_Id; -- For a type which Needs_Simple_Initialization (see above), prepares -- the tree for an expression representing the required initial value. -- Loc is the source location used in constructing this tree which is -- returned as the result of the call. end Exp_Ch3;
55.980952
78
0.583702
4ac9227665a41fdeee61e6da5b80c8a61b081ff0
1,709
ada
Ada
Task/Simple-windowed-application/Ada/simple-windowed-application.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Simple-windowed-application/Ada/simple-windowed-application.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Simple-windowed-application/Ada/simple-windowed-application.ada
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
with Gdk.Event; use Gdk.Event; with Gtk.Button; use Gtk.Button; with Gtk.Label; use Gtk.Label; with Gtk.Window; use Gtk.Window; with Gtk.Widget; use Gtk.Widget; with Gtk.Table; use Gtk.Table; with Gtk.Handlers; with Gtk.Main; procedure Simple_Windowed_Application is Window : Gtk_Window; Grid : Gtk_Table; Button : Gtk_Button; Label : Gtk_Label; Count : Natural := 0; package Handlers is new Gtk.Handlers.Callback (Gtk_Widget_Record); package Return_Handlers is new Gtk.Handlers.Return_Callback (Gtk_Widget_Record, Boolean); function Delete_Event (Widget : access Gtk_Widget_Record'Class) return Boolean is begin return False; end Delete_Event; procedure Destroy (Widget : access Gtk_Widget_Record'Class) is begin Gtk.Main.Main_Quit; end Destroy; procedure Clicked (Widget : access Gtk_Widget_Record'Class) is begin Count := Count + 1; Set_Text (Label, "The button clicks:" & Natural'Image (Count)); end Clicked; begin Gtk.Main.Init; Gtk.Window.Gtk_New (Window); Gtk_New (Grid, 1, 2, False); Add (Window, Grid); Gtk_New (Label, "There have been no clicks yet"); Attach (Grid, Label, 0, 1, 0, 1); Gtk_New (Button, "Click me"); Attach (Grid, Button, 0, 1, 1, 2); Return_Handlers.Connect ( Window, "delete_event", Return_Handlers.To_Marshaller (Delete_Event'Access) ); Handlers.Connect ( Window, "destroy", Handlers.To_Marshaller (Destroy'Access) ); Handlers.Connect ( Button, "clicked", Handlers.To_Marshaller (Clicked'Access) ); Show_All (Grid); Show (Window); Gtk.Main.Main; end Simple_Windowed_Application;
25.132353
69
0.676419
20e0ea37c1de8529ac529cd25ff07ebf6137d1c3
87,946
ads
Ada
src/bitmap_fonts/giza-bitmap_fonts-freemono32pt7b.ads
Fabien-Chouteau/Giza
9f6c167666dbba8f0e5f0ba3e33825c0b3f399bd
[ "BSD-3-Clause" ]
7
2017-10-18T02:40:24.000Z
2020-12-19T22:41:19.000Z
src/bitmap_fonts/giza-bitmap_fonts-freemono32pt7b.ads
Fabien-Chouteau/Giza
9f6c167666dbba8f0e5f0ba3e33825c0b3f399bd
[ "BSD-3-Clause" ]
null
null
null
src/bitmap_fonts/giza-bitmap_fonts-freemono32pt7b.ads
Fabien-Chouteau/Giza
9f6c167666dbba8f0e5f0ba3e33825c0b3f399bd
[ "BSD-3-Clause" ]
2
2019-05-06T08:30:26.000Z
2020-11-22T11:27:27.000Z
package Giza.Bitmap_Fonts.FreeMono32pt7b is Font : constant Giza.Font.Ref_Const; private FreeMono32pt7bBitmaps : aliased constant Font_Bitmap := ( 16#38#, 16#F9#, 16#F3#, 16#E7#, 16#CF#, 16#9F#, 16#3E#, 16#7C#, 16#F9#, 16#E3#, 16#C7#, 16#8F#, 16#0E#, 16#1C#, 16#38#, 16#70#, 16#E1#, 16#C3#, 16#87#, 16#0E#, 16#1C#, 16#38#, 16#20#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#01#, 16#F7#, 16#FF#, 16#FF#, 16#FF#, 16#BE#, 16#FF#, 16#0F#, 16#FF#, 16#F0#, 16#FF#, 16#FF#, 16#0F#, 16#FF#, 16#F0#, 16#FF#, 16#FE#, 16#0F#, 16#EF#, 16#E0#, 16#7E#, 16#7E#, 16#07#, 16#E7#, 16#E0#, 16#7E#, 16#7E#, 16#07#, 16#E7#, 16#E0#, 16#7E#, 16#7E#, 16#07#, 16#E7#, 16#C0#, 16#7C#, 16#3C#, 16#03#, 16#C3#, 16#C0#, 16#3C#, 16#3C#, 16#03#, 16#C3#, 16#C0#, 16#3C#, 16#3C#, 16#03#, 16#C1#, 16#80#, 16#18#, 16#00#, 16#70#, 16#70#, 16#00#, 16#38#, 16#38#, 16#00#, 16#1C#, 16#1C#, 16#00#, 16#0E#, 16#0E#, 16#00#, 16#07#, 16#07#, 16#00#, 16#07#, 16#03#, 16#80#, 16#03#, 16#81#, 16#C0#, 16#01#, 16#C0#, 16#E0#, 16#00#, 16#E0#, 16#60#, 16#00#, 16#70#, 16#70#, 16#00#, 16#38#, 16#38#, 16#00#, 16#1C#, 16#1C#, 16#00#, 16#0E#, 16#0E#, 16#00#, 16#07#, 16#07#, 16#00#, 16#03#, 16#83#, 16#80#, 16#FF#, 16#FF#, 16#FF#, 16#7F#, 16#FF#, 16#FF#, 16#BF#, 16#FF#, 16#FF#, 16#C0#, 16#38#, 16#38#, 16#00#, 16#1C#, 16#1C#, 16#00#, 16#1C#, 16#0E#, 16#00#, 16#0E#, 16#07#, 16#00#, 16#07#, 16#07#, 16#80#, 16#03#, 16#83#, 16#80#, 16#01#, 16#C1#, 16#C0#, 16#7F#, 16#FF#, 16#FF#, 16#BF#, 16#FF#, 16#FF#, 16#DF#, 16#FF#, 16#FF#, 16#E0#, 16#1C#, 16#1C#, 16#00#, 16#0E#, 16#0E#, 16#00#, 16#07#, 16#07#, 16#00#, 16#03#, 16#83#, 16#80#, 16#01#, 16#C1#, 16#C0#, 16#00#, 16#E0#, 16#E0#, 16#00#, 16#F0#, 16#70#, 16#00#, 16#70#, 16#38#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#1C#, 16#1C#, 16#00#, 16#0E#, 16#0E#, 16#00#, 16#07#, 16#07#, 16#00#, 16#03#, 16#83#, 16#80#, 16#01#, 16#C1#, 16#C0#, 16#00#, 16#E0#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#7F#, 16#00#, 16#03#, 16#FF#, 16#8C#, 16#07#, 16#FF#, 16#DC#, 16#0F#, 16#81#, 16#FC#, 16#1E#, 16#00#, 16#7C#, 16#1C#, 16#00#, 16#3C#, 16#3C#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#1F#, 16#E0#, 16#00#, 16#07#, 16#FE#, 16#00#, 16#01#, 16#FF#, 16#E0#, 16#00#, 16#3F#, 16#F8#, 16#00#, 16#01#, 16#FC#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#1E#, 16#FC#, 16#00#, 16#3C#, 16#FF#, 16#80#, 16#FC#, 16#EF#, 16#FF#, 16#F8#, 16#E3#, 16#FF#, 16#E0#, 16#00#, 16#FF#, 16#80#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#FF#, 16#C0#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#07#, 16#87#, 16#C0#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#78#, 16#07#, 16#80#, 16#0E#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#0E#, 16#00#, 16#38#, 16#01#, 16#C0#, 16#07#, 16#00#, 16#38#, 16#00#, 16#F0#, 16#0F#, 16#00#, 16#0E#, 16#03#, 16#C0#, 16#01#, 16#F0#, 16#F8#, 16#00#, 16#1F#, 16#FE#, 16#00#, 16#01#, 16#FF#, 16#80#, 16#00#, 16#0F#, 16#C0#, 16#07#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#03#, 16#F0#, 16#00#, 16#00#, 16#70#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#FF#, 16#C0#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#07#, 16#87#, 16#C0#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#78#, 16#07#, 16#80#, 16#0E#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#0E#, 16#00#, 16#38#, 16#01#, 16#C0#, 16#07#, 16#00#, 16#38#, 16#00#, 16#F0#, 16#0F#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#F0#, 16#F8#, 16#00#, 16#1F#, 16#FE#, 16#00#, 16#01#, 16#FF#, 16#80#, 16#00#, 16#0F#, 16#C0#, 16#00#, 16#F8#, 16#00#, 16#03#, 16#FD#, 16#80#, 16#1F#, 16#FF#, 16#00#, 16#7C#, 16#3E#, 16#00#, 16#F0#, 16#10#, 16#03#, 16#C0#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#1F#, 16#C0#, 16#00#, 16#7C#, 16#C0#, 16#3D#, 16#E1#, 16#C0#, 16#FB#, 16#81#, 16#81#, 16#FF#, 16#01#, 16#83#, 16#1C#, 16#03#, 16#8E#, 16#38#, 16#03#, 16#1C#, 16#70#, 16#03#, 16#30#, 16#E0#, 16#06#, 16#E1#, 16#C0#, 16#07#, 16#C3#, 16#80#, 16#07#, 16#03#, 16#80#, 16#0C#, 16#07#, 16#80#, 16#3C#, 16#0F#, 16#80#, 16#FC#, 16#0F#, 16#83#, 16#BF#, 16#8F#, 16#FE#, 16#3F#, 16#0F#, 16#F8#, 16#7E#, 16#07#, 16#C0#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FE#, 16#FE#, 16#7E#, 16#7E#, 16#7E#, 16#7E#, 16#7E#, 16#7C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#3C#, 16#18#, 16#00#, 16#C0#, 16#70#, 16#3C#, 16#0E#, 16#07#, 16#81#, 16#C0#, 16#F0#, 16#38#, 16#1E#, 16#07#, 16#03#, 16#C0#, 16#F0#, 16#38#, 16#1E#, 16#07#, 16#81#, 16#E0#, 16#70#, 16#1C#, 16#0F#, 16#03#, 16#C0#, 16#F0#, 16#3C#, 16#0F#, 16#03#, 16#C0#, 16#F0#, 16#3C#, 16#0F#, 16#03#, 16#C0#, 16#70#, 16#1E#, 16#07#, 16#81#, 16#E0#, 16#38#, 16#0F#, 16#03#, 16#C0#, 16#70#, 16#1E#, 16#07#, 16#80#, 16#E0#, 16#3C#, 16#07#, 16#01#, 16#E0#, 16#38#, 16#0F#, 16#01#, 16#C0#, 16#20#, 16#C0#, 16#38#, 16#0F#, 16#01#, 16#C0#, 16#78#, 16#0E#, 16#03#, 16#C0#, 16#70#, 16#1E#, 16#07#, 16#80#, 16#E0#, 16#3C#, 16#0F#, 16#01#, 16#C0#, 16#78#, 16#1E#, 16#07#, 16#80#, 16#E0#, 16#3C#, 16#0F#, 16#03#, 16#C0#, 16#F0#, 16#3C#, 16#0F#, 16#03#, 16#C0#, 16#F0#, 16#3C#, 16#0F#, 16#03#, 16#81#, 16#E0#, 16#78#, 16#1E#, 16#07#, 16#01#, 16#C0#, 16#F0#, 16#38#, 16#0E#, 16#07#, 16#81#, 16#C0#, 16#F0#, 16#38#, 16#1E#, 16#07#, 16#03#, 16#80#, 16#E0#, 16#10#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#40#, 16#1C#, 16#00#, 16#F8#, 16#1C#, 16#0F#, 16#FF#, 16#1C#, 16#7F#, 16#7F#, 16#FF#, 16#FE#, 16#0F#, 16#FF#, 16#F8#, 16#00#, 16#FF#, 16#80#, 16#00#, 16#7C#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#F7#, 16#00#, 16#01#, 16#E7#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#03#, 16#C1#, 16#C0#, 16#07#, 16#81#, 16#E0#, 16#07#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#70#, 16#0C#, 16#00#, 16#20#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#01#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0F#, 16#F8#, 16#7F#, 16#83#, 16#FC#, 16#1F#, 16#C1#, 16#FC#, 16#0F#, 16#E0#, 16#7E#, 16#07#, 16#F0#, 16#3F#, 16#01#, 16#F8#, 16#0F#, 16#80#, 16#F8#, 16#07#, 16#C0#, 16#3C#, 16#03#, 16#E0#, 16#1E#, 16#00#, 16#F0#, 16#03#, 16#00#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#F0#, 16#3E#, 16#3F#, 16#BF#, 16#FF#, 16#FF#, 16#FF#, 16#FD#, 16#FC#, 16#7C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#01#, 16#FF#, 16#80#, 16#07#, 16#FF#, 16#E0#, 16#0F#, 16#81#, 16#F0#, 16#0F#, 16#00#, 16#F0#, 16#1E#, 16#00#, 16#78#, 16#3C#, 16#00#, 16#3C#, 16#38#, 16#00#, 16#1C#, 16#78#, 16#00#, 16#1E#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#78#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#1C#, 16#3C#, 16#00#, 16#3C#, 16#1E#, 16#00#, 16#78#, 16#0F#, 16#00#, 16#F0#, 16#0F#, 16#81#, 16#F0#, 16#07#, 16#FF#, 16#E0#, 16#01#, 16#FF#, 16#80#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#78#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#1F#, 16#C0#, 16#00#, 16#7B#, 16#80#, 16#01#, 16#E7#, 16#00#, 16#07#, 16#8E#, 16#00#, 16#1E#, 16#1C#, 16#00#, 16#78#, 16#38#, 16#00#, 16#E0#, 16#70#, 16#01#, 16#80#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#0F#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#80#, 16#00#, 16#FE#, 16#00#, 16#03#, 16#FF#, 16#C0#, 16#0F#, 16#FF#, 16#E0#, 16#1F#, 16#81#, 16#F0#, 16#3E#, 16#00#, 16#78#, 16#38#, 16#00#, 16#3C#, 16#78#, 16#00#, 16#1E#, 16#F0#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#07#, 16#40#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#07#, 16#70#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#FF#, 16#00#, 16#00#, 16#FF#, 16#F8#, 16#00#, 16#FF#, 16#FF#, 16#00#, 16#FC#, 16#03#, 16#E0#, 16#38#, 16#00#, 16#3C#, 16#0C#, 16#00#, 16#07#, 16#80#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#0F#, 16#FC#, 16#00#, 16#03#, 16#FC#, 16#00#, 16#00#, 16#FF#, 16#80#, 16#00#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#03#, 16#90#, 16#00#, 16#01#, 16#EF#, 16#00#, 16#00#, 16#F1#, 16#E0#, 16#00#, 16#F8#, 16#3F#, 16#00#, 16#FC#, 16#07#, 16#FF#, 16#FE#, 16#00#, 16#7F#, 16#FE#, 16#00#, 16#03#, 16#FC#, 16#00#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#1F#, 16#80#, 16#00#, 16#FE#, 16#00#, 16#03#, 16#38#, 16#00#, 16#1C#, 16#E0#, 16#00#, 16#63#, 16#80#, 16#03#, 16#0E#, 16#00#, 16#0C#, 16#38#, 16#00#, 16#60#, 16#E0#, 16#01#, 16#83#, 16#80#, 16#0C#, 16#0E#, 16#00#, 16#60#, 16#38#, 16#01#, 16#80#, 16#E0#, 16#0C#, 16#03#, 16#80#, 16#30#, 16#0E#, 16#01#, 16#80#, 16#38#, 16#04#, 16#00#, 16#E0#, 16#30#, 16#03#, 16#81#, 16#80#, 16#0E#, 16#06#, 16#00#, 16#38#, 16#30#, 16#00#, 16#E0#, 16#80#, 16#03#, 16#86#, 16#00#, 16#0E#, 16#10#, 16#00#, 16#38#, 16#C0#, 16#00#, 16#E3#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#0E#, 16#00#, 16#0F#, 16#FF#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#FF#, 16#F0#, 16#1F#, 16#FF#, 16#FC#, 16#07#, 16#FF#, 16#FF#, 16#01#, 16#FF#, 16#FF#, 16#C0#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#07#, 16#F0#, 16#01#, 16#CF#, 16#FF#, 16#00#, 16#7F#, 16#FF#, 16#F0#, 16#1F#, 16#80#, 16#7E#, 16#07#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1E#, 16#E0#, 16#00#, 16#07#, 16#3C#, 16#00#, 16#03#, 16#C7#, 16#C0#, 16#03#, 16#E0#, 16#FE#, 16#03#, 16#F0#, 16#0F#, 16#FF#, 16#F8#, 16#00#, 16#FF#, 16#F8#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#00#, 16#03#, 16#FC#, 16#00#, 16#1F#, 16#FF#, 16#00#, 16#7F#, 16#FF#, 16#00#, 16#FE#, 16#00#, 16#01#, 16#F8#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#07#, 16#80#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#3F#, 16#00#, 16#E0#, 16#FF#, 16#C0#, 16#E1#, 16#FF#, 16#F0#, 16#E3#, 16#E0#, 16#F8#, 16#E7#, 16#80#, 16#3C#, 16#EE#, 16#00#, 16#1C#, 16#EE#, 16#00#, 16#1E#, 16#FC#, 16#00#, 16#0E#, 16#F8#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#07#, 16#70#, 16#00#, 16#07#, 16#70#, 16#00#, 16#07#, 16#70#, 16#00#, 16#07#, 16#78#, 16#00#, 16#07#, 16#38#, 16#00#, 16#0F#, 16#3C#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#1E#, 16#1E#, 16#00#, 16#1C#, 16#0F#, 16#00#, 16#7C#, 16#07#, 16#C0#, 16#F8#, 16#03#, 16#FF#, 16#F0#, 16#01#, 16#FF#, 16#C0#, 16#00#, 16#3F#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#06#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#30#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#60#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#C0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#80#, 16#00#, 16#03#, 16#80#, 16#00#, 16#03#, 16#80#, 16#00#, 16#03#, 16#00#, 16#00#, 16#03#, 16#00#, 16#00#, 16#06#, 16#00#, 16#00#, 16#06#, 16#00#, 16#00#, 16#06#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#01#, 16#FF#, 16#80#, 16#07#, 16#FF#, 16#E0#, 16#0F#, 16#81#, 16#F0#, 16#1E#, 16#00#, 16#78#, 16#3C#, 16#00#, 16#3C#, 16#38#, 16#00#, 16#1C#, 16#78#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#78#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#1C#, 16#1C#, 16#00#, 16#38#, 16#1E#, 16#00#, 16#78#, 16#0F#, 16#81#, 16#F0#, 16#03#, 16#FF#, 16#C0#, 16#00#, 16#FF#, 16#00#, 16#03#, 16#FF#, 16#C0#, 16#0F#, 16#81#, 16#F0#, 16#1E#, 16#00#, 16#78#, 16#38#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#07#, 16#70#, 16#00#, 16#0E#, 16#78#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#3C#, 16#3E#, 16#00#, 16#7C#, 16#1F#, 16#81#, 16#F8#, 16#07#, 16#FF#, 16#E0#, 16#03#, 16#FF#, 16#C0#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#FC#, 16#00#, 16#03#, 16#FF#, 16#80#, 16#0F#, 16#FF#, 16#C0#, 16#1F#, 16#03#, 16#E0#, 16#3E#, 16#00#, 16#F0#, 16#38#, 16#00#, 16#78#, 16#78#, 16#00#, 16#38#, 16#70#, 16#00#, 16#3C#, 16#F0#, 16#00#, 16#1C#, 16#E0#, 16#00#, 16#1E#, 16#E0#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#0F#, 16#E0#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#1F#, 16#70#, 16#00#, 16#3F#, 16#78#, 16#00#, 16#77#, 16#38#, 16#00#, 16#77#, 16#3C#, 16#01#, 16#E7#, 16#1F#, 16#07#, 16#C7#, 16#0F#, 16#FF#, 16#87#, 16#07#, 16#FF#, 16#07#, 16#00#, 16#FC#, 16#0F#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#1F#, 16#80#, 16#00#, 16#7F#, 16#00#, 16#FF#, 16#FE#, 16#00#, 16#FF#, 16#F8#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#3E#, 16#3F#, 16#BF#, 16#FF#, 16#FF#, 16#FF#, 16#FD#, 16#FC#, 16#7C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#C7#, 16#F7#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#BF#, 16#8F#, 16#80#, 16#03#, 16#E0#, 16#3F#, 16#83#, 16#FE#, 16#1F#, 16#F0#, 16#FF#, 16#87#, 16#FC#, 16#1F#, 16#C0#, 16#7C#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#3F#, 16#83#, 16#FC#, 16#1F#, 16#C0#, 16#FE#, 16#0F#, 16#E0#, 16#7F#, 16#03#, 16#F0#, 16#1F#, 16#01#, 16#F8#, 16#0F#, 16#80#, 16#7C#, 16#07#, 16#C0#, 16#3E#, 16#01#, 16#E0#, 16#1F#, 16#00#, 16#F0#, 16#07#, 16#80#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#20#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#7C#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#0F#, 16#80#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#00#, 16#3F#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#7C#, 16#00#, 16#00#, 16#0F#, 16#80#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#00#, 16#7C#, 16#00#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#0F#, 16#C0#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#00#, 16#0F#, 16#80#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#7F#, 16#FF#, 16#FF#, 16#FE#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#7F#, 16#FF#, 16#FF#, 16#FE#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#7F#, 16#FF#, 16#FF#, 16#FE#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#7F#, 16#FF#, 16#FF#, 16#FE#, 16#40#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#00#, 16#0F#, 16#80#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#00#, 16#7C#, 16#00#, 16#00#, 16#03#, 16#F0#, 16#00#, 16#00#, 16#0F#, 16#80#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#1F#, 16#80#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#00#, 16#F8#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#0F#, 16#C0#, 16#00#, 16#03#, 16#F0#, 16#00#, 16#00#, 16#7C#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#00#, 16#FF#, 16#00#, 16#0F#, 16#FF#, 16#80#, 16#FF#, 16#FF#, 16#C7#, 16#F0#, 16#0F#, 16#CF#, 16#00#, 16#07#, 16#DC#, 16#00#, 16#07#, 16#B8#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#7C#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#0F#, 16#C0#, 16#00#, 16#7E#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#01#, 16#FF#, 16#00#, 16#03#, 16#FE#, 16#00#, 16#07#, 16#FC#, 16#00#, 16#0F#, 16#F8#, 16#00#, 16#0F#, 16#C0#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#03#, 16#FF#, 16#00#, 16#1F#, 16#FF#, 16#80#, 16#7C#, 16#0F#, 16#81#, 16#F0#, 16#07#, 16#03#, 16#C0#, 16#07#, 16#0F#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#0E#, 16#78#, 16#00#, 16#1C#, 16#E0#, 16#00#, 16#39#, 16#C0#, 16#00#, 16#77#, 16#80#, 16#00#, 16#EE#, 16#00#, 16#1F#, 16#DC#, 16#00#, 16#FF#, 16#B8#, 16#07#, 16#FF#, 16#70#, 16#1F#, 16#8E#, 16#E0#, 16#3C#, 16#1D#, 16#C0#, 16#F0#, 16#3B#, 16#83#, 16#C0#, 16#77#, 16#07#, 16#00#, 16#EE#, 16#0E#, 16#01#, 16#DC#, 16#1C#, 16#03#, 16#B8#, 16#38#, 16#07#, 16#70#, 16#70#, 16#0E#, 16#E0#, 16#F0#, 16#1D#, 16#C0#, 16#F0#, 16#3B#, 16#81#, 16#F0#, 16#77#, 16#01#, 16#FF#, 16#FE#, 16#00#, 16#FF#, 16#FC#, 16#00#, 16#7F#, 16#F8#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#07#, 16#C0#, 16#06#, 16#07#, 16#C0#, 16#7C#, 16#07#, 16#FF#, 16#F8#, 16#07#, 16#FF#, 16#C0#, 16#01#, 16#FC#, 16#00#, 16#03#, 16#FF#, 16#F0#, 16#00#, 16#00#, 16#7F#, 16#FF#, 16#00#, 16#00#, 16#03#, 16#FF#, 16#F8#, 16#00#, 16#00#, 16#00#, 16#1B#, 16#80#, 16#00#, 16#00#, 16#03#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#31#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#60#, 16#E0#, 16#00#, 16#00#, 16#06#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#70#, 16#00#, 16#00#, 16#0C#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#70#, 16#00#, 16#00#, 16#18#, 16#03#, 16#80#, 16#00#, 16#01#, 16#80#, 16#38#, 16#00#, 16#00#, 16#38#, 16#03#, 16#C0#, 16#00#, 16#03#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#00#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#60#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#C0#, 16#00#, 16#70#, 16#00#, 16#1F#, 16#FF#, 16#FF#, 16#00#, 16#01#, 16#FF#, 16#FF#, 16#F8#, 16#00#, 16#1F#, 16#FF#, 16#FF#, 16#80#, 16#03#, 16#80#, 16#00#, 16#3C#, 16#00#, 16#38#, 16#00#, 16#01#, 16#C0#, 16#07#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#06#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#F0#, 16#0C#, 16#00#, 16#00#, 16#07#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#FF#, 16#F0#, 16#01#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#1F#, 16#FF#, 16#FF#, 16#F0#, 16#01#, 16#FF#, 16#F0#, 16#FF#, 16#FF#, 16#F8#, 16#03#, 16#FF#, 16#FF#, 16#F8#, 16#0F#, 16#FF#, 16#FF#, 16#F8#, 16#03#, 16#80#, 16#03#, 16#F0#, 16#0E#, 16#00#, 16#03#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0F#, 16#03#, 16#80#, 16#00#, 16#1C#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#38#, 16#00#, 16#01#, 16#C0#, 16#E0#, 16#00#, 16#07#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#01#, 16#E0#, 16#38#, 16#00#, 16#0F#, 16#00#, 16#E0#, 16#00#, 16#F8#, 16#03#, 16#FF#, 16#FF#, 16#80#, 16#0F#, 16#FF#, 16#FE#, 16#00#, 16#3F#, 16#FF#, 16#FE#, 16#00#, 16#E0#, 16#00#, 16#7E#, 16#03#, 16#80#, 16#00#, 16#7C#, 16#0E#, 16#00#, 16#00#, 16#78#, 16#38#, 16#00#, 16#00#, 16#E0#, 16#E0#, 16#00#, 16#03#, 16#C3#, 16#80#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#38#, 16#00#, 16#01#, 16#E0#, 16#E0#, 16#00#, 16#0F#, 16#03#, 16#80#, 16#00#, 16#FC#, 16#FF#, 16#FF#, 16#FF#, 16#E3#, 16#FF#, 16#FF#, 16#FE#, 16#0F#, 16#FF#, 16#FF#, 16#E0#, 16#00#, 16#00#, 16#1F#, 16#E0#, 16#00#, 16#01#, 16#FF#, 16#F0#, 16#E0#, 16#1F#, 16#FF#, 16#E3#, 16#81#, 16#FC#, 16#07#, 16#EE#, 16#0F#, 16#C0#, 16#03#, 16#F8#, 16#3C#, 16#00#, 16#07#, 16#E1#, 16#E0#, 16#00#, 16#0F#, 16#8F#, 16#00#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#00#, 16#39#, 16#E0#, 16#00#, 16#00#, 16#E7#, 16#00#, 16#00#, 16#03#, 16#9C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#71#, 16#F0#, 16#00#, 16#03#, 16#C3#, 16#E0#, 16#00#, 16#1E#, 16#07#, 16#C0#, 16#01#, 16#F0#, 16#0F#, 16#E0#, 16#1F#, 16#80#, 16#0F#, 16#FF#, 16#F8#, 16#00#, 16#0F#, 16#FF#, 16#80#, 16#00#, 16#0F#, 16#F8#, 16#00#, 16#FF#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#C0#, 16#3F#, 16#FF#, 16#FF#, 16#80#, 16#38#, 16#00#, 16#7E#, 16#01#, 16#C0#, 16#00#, 16#F8#, 16#0E#, 16#00#, 16#03#, 16#E0#, 16#70#, 16#00#, 16#0F#, 16#03#, 16#80#, 16#00#, 16#3C#, 16#1C#, 16#00#, 16#00#, 16#E0#, 16#E0#, 16#00#, 16#07#, 16#87#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#F1#, 16#C0#, 16#00#, 16#03#, 16#8E#, 16#00#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#00#, 16#E3#, 16#80#, 16#00#, 16#07#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#E0#, 16#00#, 16#01#, 16#C7#, 16#00#, 16#00#, 16#0E#, 16#38#, 16#00#, 16#00#, 16#71#, 16#C0#, 16#00#, 16#03#, 16#8E#, 16#00#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#00#, 16#E3#, 16#80#, 16#00#, 16#0F#, 16#1C#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#03#, 16#87#, 16#00#, 16#00#, 16#38#, 16#38#, 16#00#, 16#03#, 16#C1#, 16#C0#, 16#00#, 16#3C#, 16#0E#, 16#00#, 16#03#, 16#E0#, 16#70#, 16#00#, 16#3E#, 16#03#, 16#80#, 16#07#, 16#E0#, 16#FF#, 16#FF#, 16#FE#, 16#07#, 16#FF#, 16#FF#, 16#C0#, 16#3F#, 16#FF#, 16#F8#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#E7#, 16#FF#, 16#FF#, 16#FF#, 16#3F#, 16#FF#, 16#FF#, 16#F8#, 16#1C#, 16#00#, 16#01#, 16#C0#, 16#E0#, 16#00#, 16#0E#, 16#07#, 16#00#, 16#00#, 16#70#, 16#38#, 16#00#, 16#03#, 16#81#, 16#C0#, 16#00#, 16#1C#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#70#, 16#00#, 16#07#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#01#, 16#C0#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#70#, 16#00#, 16#38#, 16#03#, 16#80#, 16#01#, 16#FF#, 16#FC#, 16#00#, 16#0F#, 16#FF#, 16#E0#, 16#00#, 16#7F#, 16#FF#, 16#00#, 16#03#, 16#80#, 16#38#, 16#00#, 16#1C#, 16#01#, 16#C0#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#70#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#70#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#03#, 16#87#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#E1#, 16#C0#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FE#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FE#, 16#1C#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#03#, 16#87#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#E1#, 16#C0#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#70#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#01#, 16#C0#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#70#, 16#00#, 16#38#, 16#03#, 16#80#, 16#01#, 16#FF#, 16#FC#, 16#00#, 16#0F#, 16#FF#, 16#E0#, 16#00#, 16#7F#, 16#FF#, 16#00#, 16#03#, 16#80#, 16#38#, 16#00#, 16#1C#, 16#01#, 16#C0#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#70#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#FF#, 16#FF#, 16#80#, 16#07#, 16#FF#, 16#FC#, 16#00#, 16#3F#, 16#FF#, 16#E0#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#00#, 16#FF#, 16#FC#, 16#70#, 16#07#, 16#FF#, 16#FC#, 16#E0#, 16#1F#, 16#80#, 16#7F#, 16#C0#, 16#7C#, 16#00#, 16#1F#, 16#81#, 16#E0#, 16#00#, 16#1F#, 16#07#, 16#80#, 16#00#, 16#1E#, 16#1E#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#38#, 16#F0#, 16#00#, 16#00#, 16#71#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#0F#, 16#FF#, 16#FC#, 16#00#, 16#1F#, 16#FF#, 16#F8#, 16#00#, 16#3F#, 16#FF#, 16#F0#, 16#00#, 16#00#, 16#1C#, 16#E0#, 16#00#, 16#00#, 16#38#, 16#E0#, 16#00#, 16#00#, 16#71#, 16#C0#, 16#00#, 16#00#, 16#E3#, 16#C0#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#00#, 16#03#, 16#87#, 16#80#, 16#00#, 16#07#, 16#07#, 16#80#, 16#00#, 16#0E#, 16#07#, 16#80#, 16#00#, 16#1C#, 16#07#, 16#C0#, 16#00#, 16#78#, 16#07#, 16#F0#, 16#07#, 16#F0#, 16#07#, 16#FF#, 16#FF#, 16#80#, 16#03#, 16#FF#, 16#FC#, 16#00#, 16#00#, 16#FF#, 16#C0#, 16#00#, 16#3F#, 16#E0#, 16#0F#, 16#F8#, 16#7F#, 16#C0#, 16#1F#, 16#F0#, 16#FF#, 16#80#, 16#3F#, 16#E0#, 16#70#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#38#, 16#07#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#1C#, 16#00#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#70#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#38#, 16#07#, 16#FF#, 16#FF#, 16#F0#, 16#0F#, 16#FF#, 16#FF#, 16#E0#, 16#1F#, 16#FF#, 16#FF#, 16#C0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#70#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#38#, 16#07#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#1C#, 16#00#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#70#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#38#, 16#07#, 16#00#, 16#00#, 16#70#, 16#FF#, 16#E0#, 16#0F#, 16#FF#, 16#FF#, 16#C0#, 16#1F#, 16#FF#, 16#FF#, 16#80#, 16#3F#, 16#F8#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#F8#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#F8#, 16#00#, 16#3F#, 16#FF#, 16#FE#, 16#00#, 16#7F#, 16#FF#, 16#FC#, 16#00#, 16#FF#, 16#FF#, 16#F8#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#1C#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#01#, 16#C0#, 16#70#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#07#, 16#01#, 16#C0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#1C#, 16#07#, 16#00#, 16#00#, 16#78#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#1C#, 16#00#, 16#03#, 16#C0#, 16#3E#, 16#00#, 16#0F#, 16#00#, 16#3E#, 16#00#, 16#3E#, 16#00#, 16#3F#, 16#81#, 16#F8#, 16#00#, 16#1F#, 16#FF#, 16#E0#, 16#00#, 16#0F#, 16#FF#, 16#00#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#00#, 16#FF#, 16#F8#, 16#0F#, 16#FE#, 16#7F#, 16#FC#, 16#07#, 16#FF#, 16#3F#, 16#FE#, 16#03#, 16#FF#, 16#81#, 16#C0#, 16#00#, 16#1E#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#70#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#1C#, 16#00#, 16#1C#, 16#00#, 16#3C#, 16#00#, 16#0E#, 16#00#, 16#3C#, 16#00#, 16#07#, 16#00#, 16#3C#, 16#00#, 16#03#, 16#80#, 16#38#, 16#00#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#00#, 16#E0#, 16#78#, 16#00#, 16#00#, 16#70#, 16#78#, 16#00#, 16#00#, 16#38#, 16#78#, 16#00#, 16#00#, 16#1C#, 16#7E#, 16#00#, 16#00#, 16#0E#, 16#7F#, 16#80#, 16#00#, 16#07#, 16#71#, 16#F0#, 16#00#, 16#03#, 16#F0#, 16#3C#, 16#00#, 16#01#, 16#F0#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#03#, 16#C0#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#00#, 16#38#, 16#00#, 16#38#, 16#00#, 16#1C#, 16#00#, 16#1E#, 16#00#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#07#, 16#00#, 16#03#, 16#C0#, 16#03#, 16#80#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#70#, 16#00#, 16#0E#, 16#00#, 16#38#, 16#00#, 16#03#, 16#80#, 16#1C#, 16#00#, 16#01#, 16#C0#, 16#FF#, 16#F8#, 16#00#, 16#FF#, 16#7F#, 16#FC#, 16#00#, 16#3F#, 16#FF#, 16#FE#, 16#00#, 16#1F#, 16#C0#, 16#FF#, 16#FF#, 16#80#, 16#07#, 16#FF#, 16#FC#, 16#00#, 16#3F#, 16#FF#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#07#, 16#01#, 16#C0#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#01#, 16#C0#, 16#70#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#70#, 16#1C#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#1C#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FE#, 16#7F#, 16#00#, 16#00#, 16#1F#, 16#CF#, 16#F0#, 16#00#, 16#03#, 16#F9#, 16#FE#, 16#00#, 16#00#, 16#FF#, 16#0E#, 16#E0#, 16#00#, 16#1B#, 16#81#, 16#DC#, 16#00#, 16#07#, 16#70#, 16#39#, 16#80#, 16#00#, 16#CE#, 16#07#, 16#38#, 16#00#, 16#39#, 16#C0#, 16#E3#, 16#00#, 16#06#, 16#38#, 16#1C#, 16#70#, 16#01#, 16#C7#, 16#03#, 16#8E#, 16#00#, 16#38#, 16#E0#, 16#70#, 16#E0#, 16#06#, 16#1C#, 16#0E#, 16#1C#, 16#01#, 16#C3#, 16#81#, 16#C1#, 16#C0#, 16#30#, 16#70#, 16#38#, 16#38#, 16#0E#, 16#0E#, 16#07#, 16#03#, 16#01#, 16#81#, 16#C0#, 16#E0#, 16#70#, 16#70#, 16#38#, 16#1C#, 16#06#, 16#0C#, 16#07#, 16#03#, 16#80#, 16#E3#, 16#80#, 16#E0#, 16#70#, 16#0C#, 16#60#, 16#1C#, 16#0E#, 16#01#, 16#DC#, 16#03#, 16#81#, 16#C0#, 16#3B#, 16#00#, 16#70#, 16#38#, 16#03#, 16#E0#, 16#0E#, 16#07#, 16#00#, 16#78#, 16#01#, 16#C0#, 16#E0#, 16#07#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#03#, 16#80#, 16#00#, 16#00#, 16#E0#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#0E#, 16#00#, 16#00#, 16#03#, 16#81#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#38#, 16#00#, 16#00#, 16#0E#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#E0#, 16#00#, 16#00#, 16#38#, 16#FF#, 16#F0#, 16#00#, 16#FF#, 16#FF#, 16#FE#, 16#00#, 16#1F#, 16#FF#, 16#FF#, 16#C0#, 16#03#, 16#FF#, 16#80#, 16#FF#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#C0#, 16#03#, 16#FF#, 16#FF#, 16#E0#, 16#01#, 16#FF#, 16#E1#, 16#F8#, 16#00#, 16#03#, 16#80#, 16#FE#, 16#00#, 16#01#, 16#C0#, 16#7F#, 16#00#, 16#00#, 16#E0#, 16#3B#, 16#C0#, 16#00#, 16#70#, 16#1C#, 16#E0#, 16#00#, 16#38#, 16#0E#, 16#78#, 16#00#, 16#1C#, 16#07#, 16#1E#, 16#00#, 16#0E#, 16#03#, 16#87#, 16#00#, 16#07#, 16#01#, 16#C3#, 16#C0#, 16#03#, 16#80#, 16#E0#, 16#F0#, 16#01#, 16#C0#, 16#70#, 16#38#, 16#00#, 16#E0#, 16#38#, 16#1E#, 16#00#, 16#70#, 16#1C#, 16#07#, 16#80#, 16#38#, 16#0E#, 16#03#, 16#C0#, 16#1C#, 16#07#, 16#00#, 16#F0#, 16#0E#, 16#03#, 16#80#, 16#3C#, 16#07#, 16#01#, 16#C0#, 16#1E#, 16#03#, 16#80#, 16#E0#, 16#07#, 16#81#, 16#C0#, 16#70#, 16#01#, 16#C0#, 16#E0#, 16#38#, 16#00#, 16#F0#, 16#70#, 16#1C#, 16#00#, 16#3C#, 16#38#, 16#0E#, 16#00#, 16#0E#, 16#1C#, 16#07#, 16#00#, 16#07#, 16#8E#, 16#03#, 16#80#, 16#01#, 16#E7#, 16#01#, 16#C0#, 16#00#, 16#73#, 16#80#, 16#E0#, 16#00#, 16#3D#, 16#C0#, 16#70#, 16#00#, 16#0F#, 16#E0#, 16#38#, 16#00#, 16#07#, 16#F0#, 16#1C#, 16#00#, 16#01#, 16#F8#, 16#7F#, 16#F8#, 16#00#, 16#7C#, 16#3F#, 16#FC#, 16#00#, 16#3E#, 16#1F#, 16#FE#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#00#, 16#3F#, 16#FE#, 16#00#, 16#00#, 16#FF#, 16#FF#, 16#00#, 16#01#, 16#F8#, 16#1F#, 16#80#, 16#03#, 16#C0#, 16#03#, 16#E0#, 16#07#, 16#80#, 16#01#, 16#E0#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#1E#, 16#00#, 16#00#, 16#78#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#38#, 16#00#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#1E#, 16#00#, 16#00#, 16#78#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#07#, 16#80#, 16#01#, 16#E0#, 16#03#, 16#C0#, 16#03#, 16#E0#, 16#01#, 16#F8#, 16#1F#, 16#80#, 16#00#, 16#FF#, 16#FF#, 16#00#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#FF#, 16#FF#, 16#F0#, 16#0F#, 16#FF#, 16#FF#, 16#C0#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#E0#, 16#01#, 16#F8#, 16#0E#, 16#00#, 16#07#, 16#C0#, 16#E0#, 16#00#, 16#1E#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#E0#, 16#00#, 16#0F#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#0E#, 16#0E#, 16#00#, 16#01#, 16#E0#, 16#E0#, 16#00#, 16#3C#, 16#0E#, 16#00#, 16#07#, 16#C0#, 16#E0#, 16#01#, 16#F8#, 16#0F#, 16#FF#, 16#FE#, 16#00#, 16#FF#, 16#FF#, 16#C0#, 16#0F#, 16#FF#, 16#E0#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#FF#, 16#FF#, 16#80#, 16#0F#, 16#FF#, 16#F8#, 16#00#, 16#FF#, 16#FF#, 16#80#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#00#, 16#FF#, 16#FF#, 16#00#, 16#01#, 16#F8#, 16#1F#, 16#80#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#07#, 16#80#, 16#01#, 16#E0#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#1E#, 16#00#, 16#00#, 16#78#, 16#3C#, 16#00#, 16#00#, 16#38#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#78#, 16#00#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#78#, 16#00#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#3C#, 16#00#, 16#00#, 16#3C#, 16#1E#, 16#00#, 16#00#, 16#78#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#0F#, 16#80#, 16#01#, 16#F0#, 16#07#, 16#C0#, 16#03#, 16#E0#, 16#03#, 16#F8#, 16#1F#, 16#C0#, 16#01#, 16#FF#, 16#FF#, 16#00#, 16#00#, 16#7F#, 16#FE#, 16#00#, 16#00#, 16#1F#, 16#F0#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#7F#, 16#F8#, 16#07#, 16#00#, 16#FF#, 16#FE#, 16#1F#, 16#01#, 16#FF#, 16#FF#, 16#FE#, 16#01#, 16#F8#, 16#0F#, 16#FC#, 16#01#, 16#80#, 16#01#, 16#F0#, 16#FF#, 16#FF#, 16#F0#, 16#00#, 16#7F#, 16#FF#, 16#FF#, 16#00#, 16#3F#, 16#FF#, 16#FF#, 16#C0#, 16#01#, 16#C0#, 16#03#, 16#F0#, 16#00#, 16#E0#, 16#00#, 16#7C#, 16#00#, 16#70#, 16#00#, 16#0F#, 16#00#, 16#38#, 16#00#, 16#03#, 16#80#, 16#1C#, 16#00#, 16#01#, 16#E0#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#07#, 16#00#, 16#00#, 16#38#, 16#03#, 16#80#, 16#00#, 16#1C#, 16#01#, 16#C0#, 16#00#, 16#0E#, 16#00#, 16#E0#, 16#00#, 16#0F#, 16#00#, 16#70#, 16#00#, 16#07#, 16#00#, 16#38#, 16#00#, 16#0F#, 16#00#, 16#1C#, 16#00#, 16#0F#, 16#80#, 16#0E#, 16#00#, 16#3F#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#00#, 16#03#, 16#FF#, 16#FE#, 16#00#, 16#01#, 16#FF#, 16#FC#, 16#00#, 16#00#, 16#E0#, 16#0F#, 16#80#, 16#00#, 16#70#, 16#01#, 16#E0#, 16#00#, 16#38#, 16#00#, 16#78#, 16#00#, 16#1C#, 16#00#, 16#1E#, 16#00#, 16#0E#, 16#00#, 16#07#, 16#80#, 16#07#, 16#00#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#00#, 16#3C#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#00#, 16#70#, 16#00#, 16#03#, 16#80#, 16#38#, 16#00#, 16#01#, 16#E0#, 16#1C#, 16#00#, 16#00#, 16#70#, 16#FF#, 16#F8#, 16#00#, 16#3F#, 16#FF#, 16#FC#, 16#00#, 16#0F#, 16#FF#, 16#FE#, 16#00#, 16#03#, 16#E0#, 16#00#, 16#3F#, 16#80#, 16#00#, 16#7F#, 16#F8#, 16#E0#, 16#3F#, 16#FF#, 16#38#, 16#1F#, 16#01#, 16#EE#, 16#0F#, 16#00#, 16#1F#, 16#87#, 16#80#, 16#03#, 16#E1#, 16#C0#, 16#00#, 16#78#, 16#E0#, 16#00#, 16#0E#, 16#38#, 16#00#, 16#03#, 16#8E#, 16#00#, 16#00#, 16#E3#, 16#80#, 16#00#, 16#30#, 16#E0#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#00#, 16#3F#, 16#E0#, 16#00#, 16#01#, 16#FF#, 16#80#, 16#00#, 16#03#, 16#F8#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#1F#, 16#80#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#01#, 16#FC#, 16#00#, 16#00#, 16#FF#, 16#00#, 16#00#, 16#3B#, 16#F0#, 16#00#, 16#1E#, 16#FE#, 16#00#, 16#1F#, 16#3B#, 16#F0#, 16#1F#, 16#8E#, 16#7F#, 16#FF#, 16#C3#, 16#87#, 16#FF#, 16#C0#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#C0#, 16#0E#, 16#00#, 16#7E#, 16#00#, 16#70#, 16#03#, 16#F0#, 16#03#, 16#80#, 16#1F#, 16#80#, 16#1C#, 16#00#, 16#FC#, 16#00#, 16#E0#, 16#07#, 16#E0#, 16#07#, 16#00#, 16#38#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#03#, 16#FF#, 16#FE#, 16#00#, 16#1F#, 16#FF#, 16#F0#, 16#00#, 16#FF#, 16#FF#, 16#80#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#78#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#F0#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#07#, 16#80#, 16#01#, 16#E0#, 16#03#, 16#C0#, 16#07#, 16#C0#, 16#01#, 16#F8#, 16#1F#, 16#80#, 16#00#, 16#FF#, 16#FF#, 16#00#, 16#00#, 16#7F#, 16#FC#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#FF#, 16#F0#, 16#00#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#1F#, 16#FF#, 16#FF#, 16#F0#, 16#00#, 16#FF#, 16#F1#, 16#C0#, 16#00#, 16#00#, 16#30#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#06#, 16#00#, 16#00#, 16#06#, 16#00#, 16#70#, 16#00#, 16#00#, 16#E0#, 16#07#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#38#, 16#00#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#00#, 16#1C#, 16#00#, 16#18#, 16#00#, 16#03#, 16#80#, 16#01#, 16#C0#, 16#00#, 16#38#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#70#, 16#00#, 16#0E#, 16#00#, 16#06#, 16#00#, 16#00#, 16#60#, 16#00#, 16#E0#, 16#00#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#00#, 16#C0#, 16#00#, 16#03#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#01#, 16#80#, 16#00#, 16#01#, 16#80#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#30#, 16#00#, 16#00#, 16#0C#, 16#07#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#60#, 16#00#, 16#00#, 16#0E#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#31#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#98#, 16#00#, 16#00#, 16#00#, 16#3B#, 16#80#, 16#00#, 16#00#, 16#01#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#1F#, 16#00#, 16#00#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#7F#, 16#F8#, 16#01#, 16#FF#, 16#EF#, 16#FF#, 16#C0#, 16#1F#, 16#FF#, 16#7F#, 16#F8#, 16#01#, 16#FF#, 16#E3#, 16#C0#, 16#00#, 16#00#, 16#18#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#81#, 16#C0#, 16#00#, 16#00#, 16#18#, 16#1C#, 16#00#, 16#00#, 16#03#, 16#01#, 16#C0#, 16#0F#, 16#00#, 16#30#, 16#1E#, 16#00#, 16#F8#, 16#03#, 16#01#, 16#E0#, 16#1F#, 16#80#, 16#30#, 16#1E#, 16#01#, 16#F8#, 16#03#, 16#01#, 16#E0#, 16#1B#, 16#C0#, 16#30#, 16#0E#, 16#01#, 16#BC#, 16#03#, 16#00#, 16#E0#, 16#39#, 16#C0#, 16#60#, 16#0E#, 16#03#, 16#9C#, 16#06#, 16#00#, 16#E0#, 16#31#, 16#E0#, 16#60#, 16#0F#, 16#07#, 16#1E#, 16#06#, 16#00#, 16#F0#, 16#70#, 16#E0#, 16#60#, 16#0F#, 16#06#, 16#0F#, 16#06#, 16#00#, 16#F0#, 16#60#, 16#F0#, 16#60#, 16#07#, 16#0E#, 16#07#, 16#0C#, 16#00#, 16#70#, 16#E0#, 16#78#, 16#C0#, 16#07#, 16#0C#, 16#07#, 16#8C#, 16#00#, 16#71#, 16#C0#, 16#38#, 16#C0#, 16#07#, 16#9C#, 16#03#, 16#8C#, 16#00#, 16#79#, 16#80#, 16#3C#, 16#C0#, 16#07#, 16#98#, 16#03#, 16#CC#, 16#00#, 16#7B#, 16#80#, 16#1C#, 16#C0#, 16#03#, 16#B8#, 16#01#, 16#F8#, 16#00#, 16#3B#, 16#00#, 16#1F#, 16#80#, 16#03#, 16#F0#, 16#00#, 16#F8#, 16#00#, 16#3F#, 16#00#, 16#0F#, 16#80#, 16#03#, 16#E0#, 16#00#, 16#F8#, 16#00#, 16#3E#, 16#00#, 16#07#, 16#80#, 16#03#, 16#E0#, 16#00#, 16#78#, 16#00#, 16#7F#, 16#C0#, 16#07#, 16#FE#, 16#FF#, 16#E0#, 16#07#, 16#FE#, 16#7F#, 16#C0#, 16#07#, 16#FE#, 16#1E#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#F0#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#03#, 16#80#, 16#01#, 16#C0#, 16#03#, 16#C0#, 16#03#, 16#80#, 16#01#, 16#E0#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#0F#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#3C#, 16#38#, 16#00#, 16#00#, 16#1E#, 16#70#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#38#, 16#3C#, 16#00#, 16#00#, 16#70#, 16#1E#, 16#00#, 16#00#, 16#E0#, 16#0F#, 16#00#, 16#00#, 16#E0#, 16#07#, 16#00#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#03#, 16#80#, 16#03#, 16#C0#, 16#07#, 16#00#, 16#01#, 16#E0#, 16#0E#, 16#00#, 16#00#, 16#F0#, 16#1E#, 16#00#, 16#00#, 16#78#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#C0#, 16#07#, 16#FF#, 16#FF#, 16#80#, 16#0F#, 16#FF#, 16#FF#, 16#00#, 16#1F#, 16#F8#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#E0#, 16#00#, 16#18#, 16#01#, 16#C0#, 16#00#, 16#70#, 16#01#, 16#C0#, 16#01#, 16#C0#, 16#03#, 16#C0#, 16#07#, 16#00#, 16#03#, 16#C0#, 16#0E#, 16#00#, 16#03#, 16#80#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#07#, 16#81#, 16#80#, 16#00#, 16#07#, 16#07#, 16#00#, 16#00#, 16#07#, 16#1C#, 16#00#, 16#00#, 16#0F#, 16#70#, 16#00#, 16#00#, 16#0F#, 16#E0#, 16#00#, 16#00#, 16#0F#, 16#80#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#FF#, 16#FF#, 16#00#, 16#03#, 16#FF#, 16#FE#, 16#00#, 16#07#, 16#FF#, 16#FC#, 16#00#, 16#FF#, 16#FF#, 16#F8#, 16#FF#, 16#FF#, 16#F8#, 16#FF#, 16#FF#, 16#F8#, 16#E0#, 16#00#, 16#08#, 16#E0#, 16#00#, 16#18#, 16#E0#, 16#00#, 16#30#, 16#E0#, 16#00#, 16#20#, 16#E0#, 16#00#, 16#60#, 16#E0#, 16#00#, 16#C0#, 16#E0#, 16#01#, 16#80#, 16#E0#, 16#01#, 16#00#, 16#00#, 16#03#, 16#00#, 16#00#, 16#06#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#30#, 16#00#, 16#00#, 16#20#, 16#00#, 16#00#, 16#60#, 16#00#, 16#00#, 16#C0#, 16#00#, 16#01#, 16#80#, 16#00#, 16#01#, 16#00#, 16#00#, 16#03#, 16#00#, 16#07#, 16#06#, 16#00#, 16#07#, 16#04#, 16#00#, 16#07#, 16#0C#, 16#00#, 16#07#, 16#18#, 16#00#, 16#07#, 16#30#, 16#00#, 16#07#, 16#20#, 16#00#, 16#07#, 16#60#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#07#, 16#80#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#80#, 16#E0#, 16#38#, 16#0E#, 16#03#, 16#FF#, 16#FF#, 16#FF#, 16#F0#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#FC#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1C#, 16#07#, 16#01#, 16#C0#, 16#70#, 16#1F#, 16#FF#, 16#FF#, 16#FF#, 16#F0#, 16#00#, 16#10#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#EF#, 16#00#, 16#00#, 16#E7#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#03#, 16#81#, 16#C0#, 16#07#, 16#00#, 16#E0#, 16#0E#, 16#00#, 16#70#, 16#1E#, 16#00#, 16#78#, 16#3C#, 16#00#, 16#38#, 16#38#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#0E#, 16#E0#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#06#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#C0#, 16#C0#, 16#38#, 16#07#, 16#80#, 16#F0#, 16#1E#, 16#03#, 16#C0#, 16#78#, 16#07#, 16#00#, 16#C0#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#7F#, 16#FF#, 16#00#, 16#0F#, 16#FF#, 16#FC#, 16#00#, 16#F0#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#FF#, 16#87#, 16#00#, 16#3F#, 16#FF#, 16#F0#, 16#0F#, 16#FF#, 16#FF#, 16#01#, 16#F8#, 16#01#, 16#F0#, 16#3E#, 16#00#, 16#07#, 16#07#, 16#80#, 16#00#, 16#70#, 16#70#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#0F#, 16#0E#, 16#00#, 16#01#, 16#F0#, 16#F0#, 16#00#, 16#3F#, 16#07#, 16#80#, 16#0F#, 16#70#, 16#3E#, 16#07#, 16#E7#, 16#F3#, 16#FF#, 16#F8#, 16#7F#, 16#0F#, 16#FF#, 16#07#, 16#F0#, 16#3F#, 16#80#, 16#00#, 16#FE#, 16#00#, 16#00#, 16#00#, 16#7F#, 16#00#, 16#00#, 16#00#, 16#3F#, 16#80#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#3F#, 16#C0#, 16#00#, 16#E0#, 16#7F#, 16#F8#, 16#00#, 16#70#, 16#FF#, 16#FF#, 16#00#, 16#38#, 16#F8#, 16#0F#, 16#C0#, 16#1C#, 16#F0#, 16#01#, 16#F0#, 16#0E#, 16#E0#, 16#00#, 16#3C#, 16#07#, 16#E0#, 16#00#, 16#0F#, 16#03#, 16#E0#, 16#00#, 16#03#, 16#81#, 16#E0#, 16#00#, 16#01#, 16#E0#, 16#F0#, 16#00#, 16#00#, 16#70#, 16#78#, 16#00#, 16#00#, 16#3C#, 16#38#, 16#00#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#03#, 16#87#, 16#00#, 16#00#, 16#01#, 16#C3#, 16#80#, 16#00#, 16#00#, 16#E1#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#F0#, 16#00#, 16#00#, 16#78#, 16#78#, 16#00#, 16#00#, 16#38#, 16#3C#, 16#00#, 16#00#, 16#3C#, 16#1F#, 16#00#, 16#00#, 16#1C#, 16#0F#, 16#C0#, 16#00#, 16#1E#, 16#07#, 16#70#, 16#00#, 16#1E#, 16#03#, 16#9E#, 16#00#, 16#3E#, 16#1F#, 16#C7#, 16#C0#, 16#7E#, 16#0F#, 16#E1#, 16#FF#, 16#FE#, 16#07#, 16#F0#, 16#3F#, 16#FC#, 16#00#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#00#, 16#1F#, 16#E0#, 16#00#, 16#07#, 16#FF#, 16#E3#, 16#80#, 16#FF#, 16#FF#, 16#9C#, 16#0F#, 16#C0#, 16#3F#, 16#E0#, 16#F8#, 16#00#, 16#3F#, 16#0F#, 16#00#, 16#00#, 16#F8#, 16#F0#, 16#00#, 16#03#, 16#C7#, 16#00#, 16#00#, 16#0E#, 16#70#, 16#00#, 16#00#, 16#73#, 16#80#, 16#00#, 16#03#, 16#BC#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#80#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#0C#, 16#78#, 16#00#, 16#01#, 16#E3#, 16#E0#, 16#00#, 16#3E#, 16#07#, 16#E0#, 16#0F#, 16#E0#, 16#1F#, 16#FF#, 16#FE#, 16#00#, 16#3F#, 16#FF#, 16#80#, 16#00#, 16#7F#, 16#E0#, 16#00#, 16#00#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#3F#, 16#80#, 16#70#, 16#00#, 16#FF#, 16#F0#, 16#70#, 16#03#, 16#FF#, 16#F8#, 16#70#, 16#07#, 16#E0#, 16#7C#, 16#70#, 16#0F#, 16#00#, 16#0E#, 16#70#, 16#1E#, 16#00#, 16#07#, 16#70#, 16#3C#, 16#00#, 16#03#, 16#F0#, 16#38#, 16#00#, 16#01#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#F0#, 16#00#, 16#00#, 16#F0#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#38#, 16#00#, 16#01#, 16#F0#, 16#3C#, 16#00#, 16#03#, 16#F0#, 16#1E#, 16#00#, 16#07#, 16#70#, 16#0F#, 16#00#, 16#0E#, 16#70#, 16#07#, 16#E0#, 16#7C#, 16#7F#, 16#03#, 16#FF#, 16#F8#, 16#7F#, 16#00#, 16#FF#, 16#F0#, 16#7F#, 16#00#, 16#3F#, 16#80#, 16#00#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#07#, 16#FF#, 16#C0#, 16#00#, 16#FF#, 16#FF#, 16#80#, 16#0F#, 16#C0#, 16#7E#, 16#00#, 16#F0#, 16#00#, 16#78#, 16#0F#, 16#00#, 16#01#, 16#E0#, 16#E0#, 16#00#, 16#07#, 16#8F#, 16#00#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#00#, 16#73#, 16#00#, 16#00#, 16#03#, 16#B8#, 16#00#, 16#00#, 16#0D#, 16#C0#, 16#00#, 16#00#, 16#6F#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FC#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#00#, 16#78#, 16#00#, 16#01#, 16#C1#, 16#F0#, 16#00#, 16#3E#, 16#07#, 16#E0#, 16#0F#, 16#E0#, 16#1F#, 16#FF#, 16#FE#, 16#00#, 16#3F#, 16#FF#, 16#80#, 16#00#, 16#3F#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#FE#, 16#00#, 16#07#, 16#FF#, 16#F0#, 16#07#, 16#FF#, 16#FC#, 16#03#, 16#F0#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#7F#, 16#FF#, 16#FE#, 16#1F#, 16#FF#, 16#FF#, 16#87#, 16#FF#, 16#FF#, 16#E0#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#FF#, 16#FF#, 16#F0#, 16#FF#, 16#FF#, 16#FC#, 16#3F#, 16#FF#, 16#FF#, 16#00#, 16#00#, 16#3F#, 16#80#, 16#00#, 16#03#, 16#FF#, 16#C1#, 16#FC#, 16#0F#, 16#FF#, 16#E3#, 16#F8#, 16#7E#, 16#03#, 16#E7#, 16#F1#, 16#F0#, 16#01#, 16#EE#, 16#03#, 16#C0#, 16#01#, 16#DC#, 16#0F#, 16#00#, 16#01#, 16#F8#, 16#3C#, 16#00#, 16#01#, 16#F0#, 16#70#, 16#00#, 16#01#, 16#E0#, 16#E0#, 16#00#, 16#03#, 16#C3#, 16#80#, 16#00#, 16#03#, 16#87#, 16#00#, 16#00#, 16#07#, 16#0E#, 16#00#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#38#, 16#70#, 16#00#, 16#00#, 16#70#, 16#F0#, 16#00#, 16#01#, 16#E0#, 16#E0#, 16#00#, 16#03#, 16#C1#, 16#E0#, 16#00#, 16#0F#, 16#81#, 16#C0#, 16#00#, 16#1F#, 16#03#, 16#C0#, 16#00#, 16#6E#, 16#03#, 16#E0#, 16#03#, 16#DC#, 16#03#, 16#F0#, 16#1F#, 16#38#, 16#03#, 16#FF#, 16#FC#, 16#70#, 16#01#, 16#FF#, 16#E0#, 16#E0#, 16#00#, 16#7F#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#07#, 16#80#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#00#, 16#FC#, 16#00#, 16#0F#, 16#FF#, 16#F0#, 16#00#, 16#1F#, 16#FF#, 16#80#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#00#, 16#FE#, 16#00#, 16#00#, 16#01#, 16#FC#, 16#00#, 16#00#, 16#03#, 16#F8#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#70#, 16#3F#, 16#80#, 16#00#, 16#E1#, 16#FF#, 16#E0#, 16#01#, 16#C7#, 16#FF#, 16#E0#, 16#03#, 16#9E#, 16#03#, 16#E0#, 16#07#, 16#70#, 16#01#, 16#E0#, 16#0F#, 16#C0#, 16#01#, 16#C0#, 16#1F#, 16#00#, 16#03#, 16#C0#, 16#3C#, 16#00#, 16#03#, 16#80#, 16#70#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#38#, 16#07#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#1C#, 16#00#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#70#, 16#00#, 16#07#, 16#00#, 16#E0#, 16#00#, 16#0E#, 16#01#, 16#C0#, 16#00#, 16#1C#, 16#03#, 16#80#, 16#00#, 16#38#, 16#07#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#1C#, 16#00#, 16#01#, 16#C0#, 16#38#, 16#00#, 16#03#, 16#87#, 16#FF#, 16#00#, 16#7F#, 16#FF#, 16#FE#, 16#00#, 16#FF#, 16#FF#, 16#FC#, 16#01#, 16#FF#, 16#C0#, 16#00#, 16#3C#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#07#, 16#80#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#00#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#7F#, 16#F0#, 16#00#, 16#3F#, 16#F8#, 16#00#, 16#1F#, 16#FC#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#00#, 16#0E#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#38#, 16#00#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#3F#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#80#, 16#00#, 16#70#, 16#00#, 16#0E#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#38#, 16#00#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#80#, 16#00#, 16#70#, 16#00#, 16#0E#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#38#, 16#00#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#80#, 16#00#, 16#70#, 16#00#, 16#0E#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#38#, 16#00#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#1C#, 16#00#, 16#03#, 16#80#, 16#00#, 16#70#, 16#00#, 16#0E#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#F0#, 16#00#, 16#3E#, 16#00#, 16#0F#, 16#9F#, 16#FF#, 16#E3#, 16#FF#, 16#F8#, 16#7F#, 16#FC#, 16#00#, 16#FE#, 16#00#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#3F#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#1F#, 16#FC#, 16#07#, 16#00#, 16#FF#, 16#E0#, 16#38#, 16#07#, 16#FF#, 16#01#, 16#C0#, 16#0F#, 16#00#, 16#0E#, 16#00#, 16#F0#, 16#00#, 16#70#, 16#0F#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#1C#, 16#1E#, 16#00#, 16#00#, 16#E1#, 16#E0#, 16#00#, 16#07#, 16#1C#, 16#00#, 16#00#, 16#39#, 16#C0#, 16#00#, 16#01#, 16#FF#, 16#00#, 16#00#, 16#0F#, 16#FC#, 16#00#, 16#00#, 16#7C#, 16#F0#, 16#00#, 16#03#, 16#83#, 16#C0#, 16#00#, 16#1C#, 16#0F#, 16#00#, 16#00#, 16#E0#, 16#3C#, 16#00#, 16#07#, 16#00#, 16#F0#, 16#00#, 16#38#, 16#03#, 16#C0#, 16#01#, 16#C0#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#1C#, 16#00#, 16#70#, 16#00#, 16#70#, 16#03#, 16#80#, 16#01#, 16#E1#, 16#FC#, 16#00#, 16#7F#, 16#FF#, 16#E0#, 16#03#, 16#FF#, 16#FF#, 16#00#, 16#1F#, 16#FC#, 16#1F#, 16#FC#, 16#00#, 16#0F#, 16#FE#, 16#00#, 16#07#, 16#FF#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#1F#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FC#, 16#00#, 16#3E#, 16#01#, 16#F0#, 16#1F#, 16#9F#, 16#E0#, 16#FF#, 16#03#, 16#F7#, 16#FE#, 16#3F#, 16#F0#, 16#7E#, 16#E1#, 16#EF#, 16#0F#, 16#01#, 16#F8#, 16#1D#, 16#C0#, 16#F0#, 16#3E#, 16#01#, 16#F0#, 16#0E#, 16#07#, 16#80#, 16#3C#, 16#01#, 16#C0#, 16#E0#, 16#07#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#E0#, 16#07#, 16#03#, 16#80#, 16#1C#, 16#00#, 16#E0#, 16#70#, 16#03#, 16#80#, 16#1C#, 16#0E#, 16#00#, 16#70#, 16#03#, 16#81#, 16#C0#, 16#0E#, 16#00#, 16#70#, 16#38#, 16#01#, 16#C0#, 16#0E#, 16#07#, 16#00#, 16#38#, 16#01#, 16#C0#, 16#E0#, 16#07#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#E0#, 16#07#, 16#03#, 16#80#, 16#1C#, 16#00#, 16#E0#, 16#70#, 16#03#, 16#80#, 16#1C#, 16#0E#, 16#00#, 16#70#, 16#03#, 16#81#, 16#C0#, 16#0E#, 16#00#, 16#70#, 16#38#, 16#01#, 16#C0#, 16#0E#, 16#07#, 16#00#, 16#38#, 16#01#, 16#C0#, 16#E0#, 16#07#, 16#00#, 16#38#, 16#FF#, 16#80#, 16#FC#, 16#07#, 16#FF#, 16#F0#, 16#1F#, 16#80#, 16#FF#, 16#FE#, 16#03#, 16#F0#, 16#1F#, 16#80#, 16#00#, 16#07#, 16#F0#, 16#01#, 16#F8#, 16#7F#, 16#F8#, 16#07#, 16#E3#, 16#FF#, 16#F0#, 16#1F#, 16#9E#, 16#03#, 16#E0#, 16#0E#, 16#E0#, 16#03#, 16#C0#, 16#3F#, 16#00#, 16#07#, 16#00#, 16#F8#, 16#00#, 16#1E#, 16#03#, 16#C0#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#FF#, 16#80#, 16#1F#, 16#FF#, 16#FE#, 16#00#, 16#7F#, 16#C0#, 16#00#, 16#1F#, 16#C0#, 16#00#, 16#07#, 16#FF#, 16#C0#, 16#00#, 16#FF#, 16#FF#, 16#80#, 16#0F#, 16#C0#, 16#7E#, 16#00#, 16#F8#, 16#00#, 16#F8#, 16#0F#, 16#00#, 16#01#, 16#E0#, 16#F0#, 16#00#, 16#07#, 16#87#, 16#00#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#00#, 16#F3#, 16#80#, 16#00#, 16#03#, 16#BC#, 16#00#, 16#00#, 16#1F#, 16#C0#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#03#, 16#F0#, 16#00#, 16#00#, 16#1F#, 16#80#, 16#00#, 16#00#, 16#FC#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#3F#, 16#80#, 16#00#, 16#03#, 16#DC#, 16#00#, 16#00#, 16#1C#, 16#E0#, 16#00#, 16#01#, 16#E3#, 16#80#, 16#00#, 16#0E#, 16#1E#, 16#00#, 16#00#, 16#F0#, 16#78#, 16#00#, 16#0F#, 16#01#, 16#F0#, 16#01#, 16#F0#, 16#07#, 16#E0#, 16#3F#, 16#00#, 16#1F#, 16#FF#, 16#F0#, 16#00#, 16#3F#, 16#FE#, 16#00#, 16#00#, 16#7F#, 16#80#, 16#00#, 16#00#, 16#01#, 16#FE#, 16#00#, 16#7F#, 16#07#, 16#FF#, 16#C0#, 16#3F#, 16#87#, 16#FF#, 16#F8#, 16#1F#, 16#CF#, 16#C0#, 16#7E#, 16#00#, 16#E7#, 16#00#, 16#07#, 16#80#, 16#77#, 16#00#, 16#01#, 16#E0#, 16#3F#, 16#00#, 16#00#, 16#78#, 16#1F#, 16#00#, 16#00#, 16#1E#, 16#0F#, 16#00#, 16#00#, 16#07#, 16#07#, 16#80#, 16#00#, 16#03#, 16#83#, 16#80#, 16#00#, 16#00#, 16#E1#, 16#C0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#38#, 16#70#, 16#00#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#00#, 16#07#, 16#0F#, 16#00#, 16#00#, 16#07#, 16#07#, 16#80#, 16#00#, 16#03#, 16#83#, 16#E0#, 16#00#, 16#03#, 16#C1#, 16#F8#, 16#00#, 16#03#, 16#C0#, 16#FE#, 16#00#, 16#03#, 16#C0#, 16#77#, 16#80#, 16#03#, 16#C0#, 16#39#, 16#F8#, 16#0F#, 16#C0#, 16#1C#, 16#3F#, 16#FF#, 16#C0#, 16#0E#, 16#0F#, 16#FF#, 16#80#, 16#07#, 16#00#, 16#FF#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0F#, 16#FF#, 16#C0#, 16#00#, 16#07#, 16#FF#, 16#E0#, 16#00#, 16#03#, 16#FF#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#01#, 16#FF#, 16#F0#, 16#7F#, 16#03#, 16#FF#, 16#F8#, 16#7F#, 16#0F#, 16#C0#, 16#3E#, 16#7F#, 16#1F#, 16#00#, 16#0F#, 16#70#, 16#1E#, 16#00#, 16#07#, 16#70#, 16#3C#, 16#00#, 16#03#, 16#F0#, 16#78#, 16#00#, 16#01#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#E0#, 16#00#, 16#00#, 16#70#, 16#F0#, 16#00#, 16#00#, 16#F0#, 16#70#, 16#00#, 16#00#, 16#F0#, 16#78#, 16#00#, 16#01#, 16#F0#, 16#3C#, 16#00#, 16#03#, 16#F0#, 16#1E#, 16#00#, 16#07#, 16#F0#, 16#1F#, 16#00#, 16#0F#, 16#70#, 16#0F#, 16#C0#, 16#3E#, 16#70#, 16#03#, 16#FF#, 16#FC#, 16#70#, 16#01#, 16#FF#, 16#F0#, 16#70#, 16#00#, 16#3F#, 16#C0#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#3F#, 16#FF#, 16#00#, 16#00#, 16#3F#, 16#FF#, 16#00#, 16#00#, 16#3F#, 16#FF#, 16#00#, 16#00#, 16#1F#, 16#87#, 16#FC#, 16#07#, 16#FC#, 16#7F#, 16#C0#, 16#FF#, 16#E7#, 16#FC#, 16#1F#, 16#0F#, 16#01#, 16#C7#, 16#C0#, 16#70#, 16#1C#, 16#F0#, 16#03#, 16#01#, 16#DE#, 16#00#, 16#00#, 16#1F#, 16#C0#, 16#00#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#FF#, 16#FF#, 16#FC#, 16#0F#, 16#FF#, 16#FF#, 16#C0#, 16#FF#, 16#FF#, 16#FC#, 16#00#, 16#00#, 16#7F#, 16#00#, 16#01#, 16#FF#, 16#F3#, 16#83#, 16#FF#, 16#FD#, 16#C3#, 16#F0#, 16#0F#, 16#E1#, 16#E0#, 16#01#, 16#F1#, 16#E0#, 16#00#, 16#78#, 16#E0#, 16#00#, 16#1C#, 16#70#, 16#00#, 16#0E#, 16#38#, 16#00#, 16#06#, 16#1E#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#01#, 16#FC#, 16#00#, 16#00#, 16#3F#, 16#F8#, 16#00#, 16#01#, 16#FF#, 16#C0#, 16#00#, 16#03#, 16#F8#, 16#00#, 16#00#, 16#3E#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#01#, 16#D8#, 16#00#, 16#00#, 16#FC#, 16#00#, 16#00#, 16#7E#, 16#00#, 16#00#, 16#3F#, 16#00#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#1D#, 16#F8#, 16#00#, 16#3E#, 16#FF#, 16#80#, 16#7E#, 16#77#, 16#FF#, 16#FE#, 16#38#, 16#FF#, 16#FC#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#07#, 16#FF#, 16#FF#, 16#F8#, 16#3F#, 16#FF#, 16#FF#, 16#C1#, 16#FF#, 16#FF#, 16#FE#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#70#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#0F#, 16#00#, 16#00#, 16#40#, 16#3C#, 16#00#, 16#1F#, 16#01#, 16#F8#, 16#07#, 16#F0#, 16#07#, 16#FF#, 16#FF#, 16#00#, 16#0F#, 16#FF#, 16#C0#, 16#00#, 16#1F#, 16#F0#, 16#00#, 16#FE#, 16#00#, 16#3F#, 16#E3#, 16#F8#, 16#00#, 16#FF#, 16#8F#, 16#E0#, 16#03#, 16#FE#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#38#, 16#0E#, 16#00#, 16#00#, 16#E0#, 16#38#, 16#00#, 16#03#, 16#80#, 16#E0#, 16#00#, 16#0E#, 16#03#, 16#80#, 16#00#, 16#78#, 16#0E#, 16#00#, 16#03#, 16#E0#, 16#3C#, 16#00#, 16#1F#, 16#80#, 16#78#, 16#01#, 16#EE#, 16#01#, 16#F0#, 16#3F#, 16#3F#, 16#03#, 16#FF#, 16#F8#, 16#FC#, 16#07#, 16#FF#, 16#83#, 16#F0#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#FF#, 16#F8#, 16#07#, 16#FF#, 16#FF#, 16#FE#, 16#01#, 16#FF#, 16#FF#, 16#FF#, 16#80#, 16#7F#, 16#FC#, 16#38#, 16#00#, 16#00#, 16#60#, 16#07#, 16#00#, 16#00#, 16#38#, 16#01#, 16#C0#, 16#00#, 16#0C#, 16#00#, 16#38#, 16#00#, 16#03#, 16#00#, 16#0E#, 16#00#, 16#01#, 16#C0#, 16#01#, 16#C0#, 16#00#, 16#60#, 16#00#, 16#70#, 16#00#, 16#38#, 16#00#, 16#0E#, 16#00#, 16#0C#, 16#00#, 16#03#, 16#80#, 16#07#, 16#00#, 16#00#, 16#60#, 16#01#, 16#80#, 16#00#, 16#1C#, 16#00#, 16#E0#, 16#00#, 16#07#, 16#00#, 16#30#, 16#00#, 16#00#, 16#E0#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#06#, 16#00#, 16#00#, 16#07#, 16#03#, 16#80#, 16#00#, 16#01#, 16#C0#, 16#E0#, 16#00#, 16#00#, 16#38#, 16#70#, 16#00#, 16#00#, 16#0E#, 16#1C#, 16#00#, 16#00#, 16#01#, 16#CE#, 16#00#, 16#00#, 16#00#, 16#73#, 16#80#, 16#00#, 16#00#, 16#0F#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#F0#, 16#00#, 16#00#, 16#00#, 16#78#, 16#00#, 16#00#, 16#FF#, 16#C0#, 16#00#, 16#FF#, 16#BF#, 16#F0#, 16#00#, 16#3F#, 16#FF#, 16#FC#, 16#00#, 16#0F#, 16#F8#, 16#60#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#0C#, 16#07#, 16#00#, 16#00#, 16#03#, 16#01#, 16#C0#, 16#00#, 16#00#, 16#C0#, 16#30#, 16#07#, 16#80#, 16#70#, 16#0E#, 16#01#, 16#E0#, 16#1C#, 16#03#, 16#80#, 16#78#, 16#06#, 16#00#, 16#E0#, 16#3F#, 16#01#, 16#80#, 16#18#, 16#0D#, 16#C0#, 16#E0#, 16#07#, 16#07#, 16#30#, 16#38#, 16#01#, 16#C1#, 16#CE#, 16#0E#, 16#00#, 16#70#, 16#63#, 16#83#, 16#00#, 16#0C#, 16#38#, 16#70#, 16#C0#, 16#03#, 16#8E#, 16#1C#, 16#70#, 16#00#, 16#E3#, 16#03#, 16#1C#, 16#00#, 16#39#, 16#C0#, 16#E6#, 16#00#, 16#06#, 16#60#, 16#39#, 16#80#, 16#01#, 16#F8#, 16#06#, 16#60#, 16#00#, 16#7E#, 16#01#, 16#F8#, 16#00#, 16#1F#, 16#00#, 16#7E#, 16#00#, 16#03#, 16#C0#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#03#, 16#C0#, 16#00#, 16#38#, 16#00#, 16#F0#, 16#00#, 16#3F#, 16#F0#, 16#0F#, 16#FC#, 16#3F#, 16#F0#, 16#0F#, 16#FC#, 16#3F#, 16#F0#, 16#0F#, 16#FC#, 16#0F#, 16#00#, 16#00#, 16#E0#, 16#07#, 16#80#, 16#01#, 16#C0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#00#, 16#E0#, 16#07#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#3C#, 16#3C#, 16#00#, 16#00#, 16#1E#, 16#78#, 16#00#, 16#00#, 16#0F#, 16#F0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#0E#, 16#F0#, 16#00#, 16#00#, 16#1C#, 16#78#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#01#, 16#E0#, 16#07#, 16#80#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#07#, 16#80#, 16#01#, 16#E0#, 16#0F#, 16#00#, 16#00#, 16#F0#, 16#1E#, 16#00#, 16#00#, 16#78#, 16#7F#, 16#F0#, 16#0F#, 16#FE#, 16#FF#, 16#F0#, 16#0F#, 16#FF#, 16#7F#, 16#F0#, 16#0F#, 16#FE#, 16#7F#, 16#E0#, 16#03#, 16#FE#, 16#FF#, 16#E0#, 16#07#, 16#FF#, 16#7F#, 16#E0#, 16#03#, 16#FE#, 16#1C#, 16#00#, 16#00#, 16#38#, 16#1E#, 16#00#, 16#00#, 16#30#, 16#0E#, 16#00#, 16#00#, 16#70#, 16#0F#, 16#00#, 16#00#, 16#60#, 16#07#, 16#00#, 16#00#, 16#E0#, 16#07#, 16#80#, 16#00#, 16#C0#, 16#03#, 16#80#, 16#01#, 16#C0#, 16#01#, 16#C0#, 16#01#, 16#80#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#00#, 16#E0#, 16#03#, 16#00#, 16#00#, 16#E0#, 16#07#, 16#00#, 16#00#, 16#70#, 16#06#, 16#00#, 16#00#, 16#70#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#0C#, 16#00#, 16#00#, 16#38#, 16#1C#, 16#00#, 16#00#, 16#1C#, 16#18#, 16#00#, 16#00#, 16#1E#, 16#38#, 16#00#, 16#00#, 16#0E#, 16#30#, 16#00#, 16#00#, 16#0F#, 16#70#, 16#00#, 16#00#, 16#07#, 16#60#, 16#00#, 16#00#, 16#07#, 16#E0#, 16#00#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#00#, 16#03#, 16#C0#, 16#00#, 16#00#, 16#01#, 16#80#, 16#00#, 16#00#, 16#03#, 16#80#, 16#00#, 16#00#, 16#03#, 16#00#, 16#00#, 16#00#, 16#07#, 16#00#, 16#00#, 16#00#, 16#06#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#00#, 16#0C#, 16#00#, 16#00#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#00#, 16#18#, 16#00#, 16#00#, 16#7F#, 16#FF#, 16#C0#, 16#00#, 16#7F#, 16#FF#, 16#E0#, 16#00#, 16#7F#, 16#FF#, 16#C0#, 16#00#, 16#FF#, 16#FF#, 16#FD#, 16#FF#, 16#FF#, 16#FB#, 16#FF#, 16#FF#, 16#F7#, 16#00#, 16#01#, 16#CE#, 16#00#, 16#07#, 16#1C#, 16#00#, 16#1C#, 16#38#, 16#00#, 16#70#, 16#00#, 16#01#, 16#E0#, 16#00#, 16#07#, 16#80#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#03#, 16#80#, 16#00#, 16#0E#, 16#00#, 16#00#, 16#38#, 16#00#, 16#00#, 16#E0#, 16#00#, 16#71#, 16#80#, 16#00#, 16#E6#, 16#00#, 16#01#, 16#DC#, 16#00#, 16#03#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FC#, 16#00#, 16#1E#, 16#00#, 16#FC#, 16#03#, 16#F8#, 16#07#, 16#80#, 16#1E#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#0F#, 16#00#, 16#3C#, 16#00#, 16#F0#, 16#1F#, 16#C0#, 16#3E#, 16#00#, 16#7F#, 16#00#, 16#0F#, 16#00#, 16#0F#, 16#00#, 16#0E#, 16#00#, 16#0E#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#07#, 16#F0#, 16#07#, 16#E0#, 16#03#, 16#C0#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FF#, 16#FE#, 16#80#, 16#F0#, 16#01#, 16#F8#, 16#03#, 16#F8#, 16#00#, 16#F0#, 16#00#, 16#F0#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#1E#, 16#00#, 16#1E#, 16#00#, 16#1E#, 16#00#, 16#1F#, 16#C0#, 16#0F#, 16#80#, 16#7F#, 16#01#, 16#E0#, 16#07#, 16#80#, 16#1E#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#00#, 16#0E#, 16#00#, 16#1C#, 16#00#, 16#38#, 16#00#, 16#70#, 16#00#, 16#E0#, 16#01#, 16#C0#, 16#03#, 16#80#, 16#07#, 16#00#, 16#1E#, 16#00#, 16#78#, 16#07#, 16#F0#, 16#0F#, 16#C0#, 16#1E#, 16#00#, 16#00#, 16#07#, 16#C0#, 16#00#, 16#07#, 16#F8#, 16#00#, 16#23#, 16#FF#, 16#80#, 16#1D#, 16#E1#, 16#F0#, 16#0F#, 16#70#, 16#1E#, 16#07#, 16#B8#, 16#03#, 16#E3#, 16#CE#, 16#00#, 16#7F#, 16#E1#, 16#00#, 16#07#, 16#F0#, 16#00#, 16#00#, 16#F8#, 16#00#); FreeMono32pt7bGlyphs : aliased constant Glyph_Array := ( (0, 0, 0, 38, 0, 1), -- 0x20 ' ' (0, 7, 40, 38, 15, -38), -- 0x21 '!' (35, 20, 18, 38, 9, -37), -- 0x22 '"' (80, 25, 43, 38, 6, -39), -- 0x23 '#' (215, 24, 45, 38, 7, -39), -- 0x24 '$' (350, 27, 40, 38, 5, -38), -- 0x25 '%' (485, 23, 34, 38, 7, -32), -- 0x26 '&' (583, 8, 18, 38, 15, -37), -- 0x27 ''' (601, 10, 46, 38, 19, -37), -- 0x28 '(' (659, 10, 46, 38, 10, -37), -- 0x29 ')' (717, 24, 23, 38, 7, -37), -- 0x2A '*' (786, 27, 30, 38, 6, -31), -- 0x2B '+' (888, 13, 18, 38, 9, -8), -- 0x2C ',' (918, 28, 3, 38, 5, -18), -- 0x2D '-' (929, 9, 8, 38, 14, -6), -- 0x2E '.' (938, 24, 47, 38, 7, -41), -- 0x2F '/' (1079, 24, 40, 38, 7, -38), -- 0x30 '0' (1199, 23, 39, 38, 8, -38), -- 0x31 '1' (1312, 24, 39, 38, 7, -38), -- 0x32 '2' (1429, 26, 40, 38, 6, -38), -- 0x33 '3' (1559, 22, 38, 38, 8, -37), -- 0x34 '4' (1664, 26, 39, 38, 6, -37), -- 0x35 '5' (1791, 24, 40, 38, 9, -38), -- 0x36 '6' (1911, 24, 38, 38, 7, -37), -- 0x37 '7' (2025, 24, 40, 38, 7, -38), -- 0x38 '8' (2145, 24, 40, 38, 9, -38), -- 0x39 '9' (2265, 9, 27, 38, 14, -25), -- 0x3A ':' (2296, 13, 35, 38, 9, -25), -- 0x3B ';' (2353, 28, 30, 38, 5, -32), -- 0x3C '<' (2458, 32, 12, 38, 3, -23), -- 0x3D '=' (2506, 28, 30, 38, 5, -32), -- 0x3E '>' (2611, 23, 37, 38, 8, -35), -- 0x3F '?' (2718, 23, 43, 38, 7, -38), -- 0x40 '@' (2842, 36, 35, 38, 1, -34), -- 0x41 'A' (3000, 30, 35, 38, 4, -34), -- 0x42 'B' (3132, 30, 37, 38, 4, -35), -- 0x43 'C' (3271, 29, 35, 38, 4, -34), -- 0x44 'D' (3398, 29, 35, 38, 4, -34), -- 0x45 'E' (3525, 29, 35, 38, 4, -34), -- 0x46 'F' (3652, 31, 37, 38, 4, -35), -- 0x47 'G' (3796, 31, 35, 38, 4, -34), -- 0x48 'H' (3932, 23, 35, 38, 8, -34), -- 0x49 'I' (4033, 31, 36, 38, 5, -34), -- 0x4A 'J' (4173, 33, 35, 38, 4, -34), -- 0x4B 'K' (4318, 29, 35, 38, 5, -34), -- 0x4C 'L' (4445, 35, 35, 38, 2, -34), -- 0x4D 'M' (4599, 33, 35, 38, 2, -34), -- 0x4E 'N' (4744, 32, 37, 38, 3, -35), -- 0x4F 'O' (4892, 28, 35, 38, 4, -34), -- 0x50 'P' (5015, 32, 44, 38, 3, -35), -- 0x51 'Q' (5191, 33, 35, 38, 4, -34), -- 0x52 'R' (5336, 26, 37, 38, 6, -35), -- 0x53 'S' (5457, 29, 35, 38, 5, -34), -- 0x54 'T' (5584, 32, 36, 38, 3, -34), -- 0x55 'U' (5728, 36, 35, 38, 1, -34), -- 0x56 'V' (5886, 36, 35, 38, 1, -34), -- 0x57 'W' (6044, 32, 35, 38, 3, -34), -- 0x58 'X' (6184, 31, 35, 38, 4, -34), -- 0x59 'Y' (6320, 24, 35, 38, 8, -34), -- 0x5A 'Z' (6425, 10, 46, 38, 18, -37), -- 0x5B '[' (6483, 24, 47, 38, 7, -41), -- 0x5C '\' (6624, 10, 46, 38, 11, -37), -- 0x5D ']' (6682, 24, 16, 38, 7, -37), -- 0x5E '^' (6730, 38, 3, 38, 0, 6), -- 0x5F '_' (6745, 10, 9, 38, 10, -39), -- 0x60 '`' (6757, 28, 28, 38, 5, -26), -- 0x61 'a' (6855, 33, 39, 38, 2, -37), -- 0x62 'b' (7016, 29, 28, 38, 5, -26), -- 0x63 'c' (7118, 32, 39, 38, 4, -37), -- 0x64 'd' (7274, 29, 28, 38, 4, -26), -- 0x65 'e' (7376, 26, 38, 38, 7, -37), -- 0x66 'f' (7500, 31, 39, 38, 4, -26), -- 0x67 'g' (7652, 31, 38, 38, 4, -37), -- 0x68 'h' (7800, 25, 40, 38, 7, -39), -- 0x69 'i' (7925, 19, 52, 38, 8, -39), -- 0x6A 'j' (8049, 29, 38, 38, 5, -37), -- 0x6B 'k' (8187, 25, 38, 38, 7, -37), -- 0x6C 'l' (8306, 35, 27, 38, 2, -26), -- 0x6D 'm' (8425, 30, 27, 38, 4, -26), -- 0x6E 'n' (8527, 29, 28, 38, 5, -26), -- 0x6F 'o' (8629, 33, 39, 38, 2, -26), -- 0x70 'p' (8790, 32, 39, 38, 4, -26), -- 0x71 'q' (8946, 28, 27, 38, 6, -26), -- 0x72 'r' (9041, 25, 28, 38, 6, -26), -- 0x73 's' (9129, 29, 36, 38, 3, -34), -- 0x74 't' (9260, 30, 27, 38, 4, -25), -- 0x75 'u' (9362, 34, 26, 38, 2, -25), -- 0x76 'v' (9473, 34, 26, 38, 2, -25), -- 0x77 'w' (9584, 32, 26, 38, 3, -25), -- 0x78 'x' (9688, 32, 38, 38, 3, -25), -- 0x79 'y' (9840, 23, 26, 38, 8, -25), -- 0x7A 'z' (9915, 15, 46, 38, 11, -37), -- 0x7B '{' (10002, 3, 46, 38, 18, -37), -- 0x7C '|' (10020, 15, 46, 38, 13, -37), -- 0x7D '}' (10107, 26, 9, 38, 6, -21)); -- 0x7E '~' Font_D : aliased constant Bitmap_Font := (FreeMono32pt7bBitmaps'Access, FreeMono32pt7bGlyphs'Access, 63); Font : constant Giza.Font.Ref_Const := Font_D'Access; end Giza.Bitmap_Fonts.FreeMono32pt7b;
71.038772
73
0.483615