/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "NR-RRC-Definitions"
 * 	found in "asn/nr-rrc-15.6.0.asn1"
 * 	`asn1c -fcompound-names -pdu=all -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D rrc`
 */

#ifndef	_ASN_RRC_RateMatchPattern_H_
#define	_ASN_RRC_RateMatchPattern_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ASN_RRC_RateMatchPatternId.h"
#include "ASN_RRC_SubcarrierSpacing.h"
#include <NativeEnumerated.h>
#include "ASN_RRC_ControlResourceSetId.h"
#include <BIT_STRING.h>
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_RateMatchPattern__patternType_PR {
	ASN_RRC_RateMatchPattern__patternType_PR_NOTHING,	/* No components present */
	ASN_RRC_RateMatchPattern__patternType_PR_bitmaps,
	ASN_RRC_RateMatchPattern__patternType_PR_controlResourceSet
} ASN_RRC_RateMatchPattern__patternType_PR;
typedef enum ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR {
	ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR_NOTHING,	/* No components present */
	ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR_oneSlot,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR_twoSlots
} ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR;
typedef enum ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR {
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_NOTHING,	/* No components present */
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n2,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n4,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n5,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n8,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n10,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n20,
	ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR_n40
} ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR;
typedef enum ASN_RRC_RateMatchPattern__dummy {
	ASN_RRC_RateMatchPattern__dummy_dynamic	= 0,
	ASN_RRC_RateMatchPattern__dummy_semiStatic	= 1
} e_ASN_RRC_RateMatchPattern__dummy;

/* ASN_RRC_RateMatchPattern */
typedef struct ASN_RRC_RateMatchPattern {
	ASN_RRC_RateMatchPatternId_t	 rateMatchPatternId;
	struct ASN_RRC_RateMatchPattern__patternType {
		ASN_RRC_RateMatchPattern__patternType_PR present;
		union ASN_RRC_RateMatchPattern__ASN_RRC_patternType_u {
			struct ASN_RRC_RateMatchPattern__patternType__bitmaps {
				BIT_STRING_t	 resourceBlocks;
				struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock {
					ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock_PR present;
					union ASN_RRC_RateMatchPattern__ASN_RRC_patternType__ASN_RRC_bitmaps__ASN_RRC_symbolsInResourceBlock_u {
						BIT_STRING_t	 oneSlot;
						BIT_STRING_t	 twoSlots;
					} choice;
					
					/* Context for parsing across buffer boundaries */
					asn_struct_ctx_t _asn_ctx;
				} symbolsInResourceBlock;
				struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern {
					ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern_PR present;
					union ASN_RRC_RateMatchPattern__ASN_RRC_patternType__ASN_RRC_bitmaps__ASN_RRC_periodicityAndPattern_u {
						BIT_STRING_t	 n2;
						BIT_STRING_t	 n4;
						BIT_STRING_t	 n5;
						BIT_STRING_t	 n8;
						BIT_STRING_t	 n10;
						BIT_STRING_t	 n20;
						BIT_STRING_t	 n40;
					} choice;
					
					/* Context for parsing across buffer boundaries */
					asn_struct_ctx_t _asn_ctx;
				} *periodicityAndPattern;
				/*
				 * This type is extensible,
				 * possible extensions are below.
				 */
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *bitmaps;
			ASN_RRC_ControlResourceSetId_t	 controlResourceSet;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} patternType;
	ASN_RRC_SubcarrierSpacing_t	*subcarrierSpacing;	/* OPTIONAL */
	long	 dummy;
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_RateMatchPattern_t;

/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_dummy_20;	// (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_RateMatchPattern;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_RateMatchPattern_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_RateMatchPattern_1[4];

#ifdef __cplusplus
}
#endif

#endif	/* _ASN_RRC_RateMatchPattern_H_ */
#include <asn_internal.h>
