classdef PhyPrimitives < Simulink.IntEnumType
% PhyPrimitives Enumeration for indications between the PHY and the MAC
% layer
%
%   Value = PhyPrimitives.<ENUMVALUE> creates an enumeration with the value
%   specified by the ENUMVALUE.
%
%   PhyPrimitives properties: 
%
%   CCAIdleIndication(1) - CCA idle indication
%   CCABusyIndication(2) - CCA busy indication
%   RxStartIndication(3) - Rx start indication
%   RxEndIndication(4) - Rx end indication
%   RxErrorIndication(5) - Rx error indication
%   TxStartRequest(7) - Tx start request
%   TxStartConfirm(8) - Tx start confirm
%   TxEndRequest(9) - Tx end request
%   TxEndConfirm(10) - Tx end confirm
%   UnknownIndication(11) - Unknown indication

%   Copyright 2019 The MathWorks, Inc. 

%#codegen
    
    enumeration
        % CCA idle indication
        CCAIdleIndication(1)
        % CCA busy indication
        CCABusyIndication(2)
        % Rx start indication
        RxStartIndication(3)
        % RC end indication
        RxEndIndication(4)
        % Rx error indication
        RxErrorIndication(5)
        % Tx start request
        TxStartRequest(7)
        % Tx start confirm
        TxStartConfirm(8)
        % Tx end request
        TxEndRequest(9)
        % Tx end confirm
        TxEndConfirm(10)
        UnknownIndication(11)
    end
    methods(Static)
        function value = getDefaultValue()
            value = PhyPrimitives.CCAIdleIndication;
        end
    end
end