/*
 * 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_CSI_IM_Resource_H_
#define	_ASN_RRC_CSI_IM_Resource_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ASN_RRC_CSI-IM-ResourceId.h"
#include <NativeEnumerated.h>
#include <NativeInteger.h>
#include <constr_SEQUENCE.h>
#include <constr_CHOICE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern_PR {
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern_PR_NOTHING,	/* No components present */
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern_PR_pattern0,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern_PR_pattern1
} ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern_PR;
typedef enum ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0 {
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0_s0	= 0,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0_s2	= 1,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0_s4	= 2,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0_s6	= 3,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0_s8	= 4,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0_s10	= 5
} e_ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0__subcarrierLocation_p0;
typedef enum ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern1__subcarrierLocation_p1 {
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern1__subcarrierLocation_p1_s0	= 0,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern1__subcarrierLocation_p1_s4	= 1,
	ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern1__subcarrierLocation_p1_s8	= 2
} e_ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern1__subcarrierLocation_p1;

/* Forward declarations */
struct ASN_RRC_CSI_FrequencyOccupation;
struct ASN_RRC_CSI_ResourcePeriodicityAndOffset;

/* ASN_RRC_CSI-IM-Resource */
typedef struct ASN_RRC_CSI_IM_Resource {
	ASN_RRC_CSI_IM_ResourceId_t	 csi_IM_ResourceId;
	struct ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern {
		ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern_PR present;
		union ASN_RRC_CSI_IM_Resource__ASN_RRC_csi_IM_ResourceElementPattern_u {
			struct ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern0 {
				long	 subcarrierLocation_p0;
				long	 symbolLocation_p0;
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *pattern0;
			struct ASN_RRC_CSI_IM_Resource__csi_IM_ResourceElementPattern__pattern1 {
				long	 subcarrierLocation_p1;
				long	 symbolLocation_p1;
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *pattern1;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *csi_IM_ResourceElementPattern;
	struct ASN_RRC_CSI_FrequencyOccupation	*freqBand;	/* OPTIONAL */
	struct ASN_RRC_CSI_ResourcePeriodicityAndOffset	*periodicityAndOffset;	/* OPTIONAL */
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_CSI_IM_Resource_t;

/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_subcarrierLocation_p0_5;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_subcarrierLocation_p1_14;	// (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_CSI_IM_Resource;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_CSI_IM_Resource_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_CSI_IM_Resource_1[4];

#ifdef __cplusplus
}
#endif

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