pub fn test_mode(ctx: &Ctx, index: u16, pattern: u8) -> Result<()>
Select the card’s built-in test pattern; 0 is off.
Fails if the link cannot be opened.