Functions | |
| uint8_t | SelfTest_IO (void) |
| This function performs I/O tests to detect pin shorts to Ground or Vcc. | |
| uint8_t | SelfTest_IO_GetPinError (void) |
| This function returns a pin number that causes an error in the SelfTest_IO function. | |
| uint8_t | SelfTest_IO_GetPortError (void) |
| This function returns a port number that causes an error in the SelfTest_IO function. | |
| void | SelfTest_IO_SetPinMask (const uint8_t *pinMaskArr) |
| Summary: This function sets a custom pin mask to be used in the SelfTest_IO function. | |
| uint8_t SelfTest_IO | ( | void | ) |
This function performs I/O tests to detect pin shorts to Ground or Vcc.
Not all pins may be compatible with this test based on the applications specifics. By default, this function uses the "PinToTest" array to determine which pins to test. To set a custom pin mask, use the SelfTest_IO_SetPinMask() function.
| uint8_t SelfTest_IO_GetPinError | ( | void | ) |
This function returns a pin number that causes an error in the SelfTest_IO function.
| uint8_t SelfTest_IO_GetPortError | ( | void | ) |
This function returns a port number that causes an error in the SelfTest_IO function.
| void SelfTest_IO_SetPinMask | ( | const uint8_t * | pinMaskArr | ) |
Summary: This function sets a custom pin mask to be used in the SelfTest_IO function.
| pinMaskArr | The custom pin mask array. The length of the array should be equal to the IO_PORTS value. Each element of the array is a mask of the GPIO port pins, to be tested in the SelfTest_IO function. The port sequence is the same as in the PORT_Regs array. Pass the NULL value to use the default pin mask. |