hal_type_t(3hal) | HAL | hal_type_t(3hal) |
hal_type_t - typedefs for HAL datatypes
hal_bit_t is typically a typedef to an integer type whose range is larger than just 0 and 1. When testing the value of a hal_bit_t, never compare it to 1. Prefer one of the following:
It is often useful to refer to a type that can represent all the values as a HAL type, but without the volatile qualifier. The following types correspond with the HAL types:
Take care not to use the types s32 and u32. These will compile in kernel modules but not in userspace, and not for realtime components when using uspace realtime.
hal_pin_new(3hal), hal_param_new(3hal)
2006-10-12 | LinuxCNC Documentation |