STM32 MPUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

search a char array within an other char array

hi everyoneI'm trying to search for a certain char array(say char Temp[]) within a lager array in this case, char Rcv[500]. here is my codeint scanRcv(char *Temp){ int ii=0; for(int i=0;i<RcvLength;i++){ while(Rcv[i]==Temp[ii]){ ii++; if(ii==strlen...

Ala by Senior
  • 3073 Views
  • 3 replies
  • 0 kudos

How do I enable LinuxPTP PPS Output?

I know that to get PPS output on the Ethernet PPS Pin PG8 that the device tree has to configure the pin for AF11. I also believe that PPS has to be enabled somehow? ​On some embedded Linux systems there is a /sys/class/ptp/ptp0/pps_enable variable to...