4 Replies Latest reply on Oct 29, 2013 2:40 AM by asma.alekar

    Psco1 blood presure monitoring system

    asma.alekar

      Hello everyone ,

         

      I have purchased Psoc1 development kit . i have got one application note of Psco1 blood presure monitoring system which i am trying to implement. i am not understanding this part of a macro actually in code .

         

      #DEFINE INSAMP_OUT_TO_ADC ASC21CR1 & =0x80 ; ASC21CR1 |=0x9F

         

      it is anding the register ASC21CR1 with a value 0x80 but after that what does the semicolon do.

         

      what does the semicolon do.

         

      and the other thing in TRM this register ASC21CR1  has got two inputs A inputs & C inputs for different bits

         

       which input is selected and what is the significance of this two inputs.

         

      i have attached the image of this register.please help me...

         

       

         

      thanks & regards

         

      asma