comparison src/hwos.inc @ 648:aeca5717d9eb

3.17 / 10.72 release
author heinrichs weikamp
date Fri, 04 Mar 2022 08:29:36 +0100
parents 357341239438
children ef2ed7e3a895
comparison
equal deleted inserted replaced
647:357341239438 648:aeca5717d9eb
471 #DEFINE ambient_sensor HW_descriptor,1 ; =1: OSTC has an ambient light sensor 471 #DEFINE ambient_sensor HW_descriptor,1 ; =1: OSTC has an ambient light sensor
472 #DEFINE ext_input_s8_ana HW_descriptor,2 ; =1: OSTC has S8/analog input 472 #DEFINE ext_input_s8_ana HW_descriptor,2 ; =1: OSTC has S8/analog input
473 #DEFINE ext_input_optical HW_descriptor,3 ; =1: OSTC has optical input 473 #DEFINE ext_input_optical HW_descriptor,3 ; =1: OSTC has optical input
474 #DEFINE ble_available HW_descriptor,4 ; =1: OSTC has an BT module 474 #DEFINE ble_available HW_descriptor,4 ; =1: OSTC has an BT module
475 #DEFINE ostc_rx_present HW_descriptor,5 ; =1: OSTC has RX module 475 #DEFINE ostc_rx_present HW_descriptor,5 ; =1: OSTC has RX module
476 #DEFINE lv_core HW_descriptor,6 ; =1: OSTC has low-voltage core (2.7V) 476 #DEFINE lv_core HW_descriptor,6 ; =1: OSTC has low-voltage core (2.7V)
477 #DEFINE flash_block_write HW_descriptor,7 ; =1: OSTC has FLASH with block-write capability 477 #DEFINE flash_block_write HW_descriptor,7 ; =1: OSTC has FLASH with block-write capability
478 478
479 ;---- Hardware - OSTC Model Variants (stored in access RAM, NOT cleared in restart) 479 ;---- Hardware - OSTC Model Variants (stored in access RAM, NOT cleared in restart)
480 #DEFINE screen_type1 HW_variants,0 ; =1: display type 1, =0; display type 0 480 #DEFINE screen_type1 HW_variants,0 ; =1: display type 1, =0; display type 0
481 #DEFINE screen_type2 HW_variants,1 ; =1: display type 2, =0: display type 0 or 1 481 #DEFINE screen_type2 HW_variants,1 ; =1: display type 2, =0: display type 0 or 1
486 #DEFINE analog_switches HW_variants,6 ; =1: analog switches available 486 #DEFINE analog_switches HW_variants,6 ; =1: analog switches available
487 #DEFINE battery_is_36v HW_variants,7 ; =1: a 3.6 Volt battery is detected 487 #DEFINE battery_is_36v HW_variants,7 ; =1: a 3.6 Volt battery is detected
488 488
489 ;---- Hardware - OSTC Model Variants2 (stored in access RAM, NOT cleared in restart) 489 ;---- Hardware - OSTC Model Variants2 (stored in access RAM, NOT cleared in restart)
490 #DEFINE press_sensor_type HW_variants2,0 ; =1: pressure sensor MS5837, =0: Pressure sensor MS5541 490 #DEFINE press_sensor_type HW_variants2,0 ; =1: pressure sensor MS5837, =0: Pressure sensor MS5541
491 ; HW_variants2,1 ; --- unused 491 #DEFINE less_io_cpu HW_variants2,1 ; =1: OSTC has a CPU with less I/O pins
492 ; HW_variants2,2 ; --- unused 492 ; HW_variants2,2 ; --- unused
493 ; HW_variants2,3 ; --- unused 493 ; HW_variants2,3 ; --- unused
494 ; HW_variants2,4 ; --- unused 494 ; HW_variants2,4 ; --- unused
495 ; HW_variants2,5 ; --- unused 495 ; HW_variants2,5 ; --- unused
496 ; HW_variants2,6 ; --- unused 496 ; HW_variants2,6 ; --- unused