NicR Posted February 28 Share Posted February 28 I'm using multiple MCC172 hats & want continuous sampling. How do I include both OPTS_EXTTRIGGER and OPTS_CONTINUOUS. I checked mcc172.c and the mcc172_a_in_scan_start() function declares uint32_t options so can I only use one of the above options? Link to comment Share on other sites More sharing options...
0 JRys Posted February 28 Share Posted February 28 Hello, The options are enumerations that can be logically OR'd together For example OPTS_EXTTRIGGER | OPTS_CONTINUOUS will instruct it to wait for an external trigger and then run continuously. uint32_t options = OPTS_EXTTRIGGER | OPTS_CONTINUOUS; Best regards, John Link to comment Share on other sites More sharing options...
0 NicR Posted February 28 Author Share Posted February 28 Thanks that worked Link to comment Share on other sites More sharing options...
Question
NicR
I'm using multiple MCC172 hats & want continuous sampling. How do I include both OPTS_EXTTRIGGER and OPTS_CONTINUOUS.
I checked mcc172.c and the mcc172_a_in_scan_start() function declares uint32_t options so can I only use one of the above options?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now